
Sys::LDAP - Connects to the LDAP server that serves as the authentication backend for the local system.

use Sys::LDAP; $ldap = new Sys::LDAP;

The "Sys::LDAP" module connects to the LDAP server that serves as the authentication backend for the local system.

Creates a Net::LDAP object using a local configuration file.
If the config paramter is given, this file is read.
If no config paramter is given, several file names are tried (/etc/pam_ldap.conf, /etc/libnss-ldap.conf, /etc/ldap/ldap.conf) to get the configuration.
If /etc/ldap.secret is readable, rootbinddn is used instead of binddn.

Claus A. Färber <perl@faerber.muc.de>

Copyright © 2006 Claus A. Färber All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.