LATMOS::Ad - Perl extension for blah blah blah
use LATMOS::Accounts::Bases; my $base = LATMOS::Accounts::Bases->new('unix'); ...
Account base access over standard unix file format.
Return the SQL schema version to use for this software version.
Create a new LATMOS::Ad object for windows AD $domain.
domain / server: either the Ad domain or directly the server
ldap_args is an optionnal list of arguments to pass to Net::LDAP.
Return a DBI handle over database, load it if need.
Read file and load data into memory
List objects flags as internal for type $otype
Return an object even it is internal, alias are not follow and even unexported object are returned
This function must be used only for maintenance operation.
Return the object from the db internal key
Recomputate dynamics attributes (autoMembersFilters) if need
Return object having id $id
only if it is an object alias
Create an object alias named $name
for ovbject $for
Rename an object alias
Create an object alias named $name
for ovbject $for
Return global value set into base
Set global value.
Delete global value from base
Return public and private peer rsa keys
Load and return private rsa key
Return hash with peer username => encryptedPassword
Store public and private RSA key info data base
Search user expiring in $expire
delay
Return the base samba SID set in the config or a default one if none is set.
If $id
is given return the full SID suitable for an object.
Return list of user going to expires in $expire
delay
Facility function to rename computer to new name
Exchange ip1 with ip2 in base
List values allow for an attribute set into SQL database
Add given values to allowed attribute list
Delete a
Return date range within employment can be found in database
Return logs for object type $otype
having $name
.
Return logs for last year
Olivier Thauvin, <olivier.thauvin@latmos.ipsl.fr>
Copyright (C) 2008, 2009 CNRS SA/CETP/LATMOS
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.