Index


NAME

Top

LATMOS::Accounts - Core module for LATMOS account management tools

DESCRITPTION

Top

FUNCTION

Top

new($configdir, %options)

Instanciate a new LATMOS::Accounts object.

$configdir if defined is the directory containing files to use, default to /etc/latmos-accounts/.

%options can contains:

noacl

If true, acls configuration are not load and code act like everything is allowed.

This flag is usefull for administrative tools, for which no acl must apply.

state_dir

Return state_dir for this instance

list_bases

Return the base list found in config file

default_base_name

Return the default base name according config file

base($basename)

Return a LATMOS::Accounts::Base object over base named $basename defined in the config file.

The base is loaded by this function.

LogUser

Return the username to use when no user is connected

list_synchro

List synchronisation setup in latmos-accounts.ini

default_synchro_name

Return de default synchronisation name

default_synchro

Return a reference to default synchronisation object

create_synchro($name, %options)

Return a reference to synchronisation object for $name synchronisation.

sync_access($name, %options)

Return a LATMOS::Accounts::SynchAccess object over $name synchronisation.

call_batch_sync

Send signal to la-sync-manager daemon to synchronize bases.

AUTHOR

Top

Thauvin Olivier, <olivier.thauvin@latmos.ipsl.fr>

COPYRIGHT AND LICENSE

Top