working getopt implementation (we don't use getopt_long at all).
Include {topdir}/shared for the clients so they pull in our included
getopt.h. This fixes bulding on systems which have getopt(), but no getopt.h.
- This patch enables LCDd to retrieve its configuration
options from an LDAP directory.
- The code was tested with OpenLDAP 2.1.x (21<=x<=22) only.
- LDAP support is disabled by default and has to be enabled
with ./configure --enable-ldap.
(See ./configure --help for other options. Not all options
have any effect yet.)
- Currently only anonymous LDAP binds are supported.
- The DN of the main configuration object has to be passed to LCDd
instead of the configuration file location:
LCDd -c "ldap://yourhost.yourcompany.com/cn=config1,cn=lcdproc,dc=yourcompany dc=COM"
The basic idea behind the LCDproc object classes is that they
are more or less verbatim copies of the corresponding sections in a
generic LCDd.conf
- Unfortunately schema files cannot be provided yet, because LCDproc does
not have a registered OID namespace and OID hijacking is prohibited.