I have therefore added shared/fileio.c/h to encapsule
buffered file operations, thus making it possible
to re-read the configuration file unlike with the
patch I committed to stable-0-4-4.
- 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.