![]() |
![]()
| ![]() |
![]()
NAMEAddressBook::DB::LDAP - Backend for AddressBook to use LDAP.SYNOPSISuse AddressBook; $a = AddressBook->new(source => "LDAP:hostname/ou=People,dc=example,dc=com", username => "user", password => "pass"); $a->add($entry) || die $a->code; DESCRIPTIONThe Net::LDAP library module is required in order to use this package.AddressBook::DB::LDAP supports random access backend database methods. Behavior can be modified using the following options:
Any of these options may be specified in the constructor, or in the configuration file. new$a = AddressBook->new(source => "LDAP"); $a = AddressBook->new(source => "LDAP:localhost/ou=People,dc=example,dc=com"); $a = AddressBook->new(source => "LDAP", hostname=>"localhost", base=>"o=test" ); Any or all options may be specified in the constructor, or in the configuration file. TimestampsFor syncronization purposes, all records are timestamped using the "modifytimestamp" LDAP attribute. If the record has no "modifytimestamp", "createtimestamp" is used. If there is no "createtimestamp", the current time is used.AUTHORMark A. Hershberger, <mah@everybody.org> David L. Leigh, <dleigh@sameasiteverwas.net>SEE ALSOAddressBook, AddressBook::Config, AddressBook::Entry.Net::LDAP
|