LDAP support added
- 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.
This commit is contained in:
+4
-1
@@ -1,3 +1,6 @@
|
||||
noinst_LIBRARIES = libLCDstuff.a
|
||||
libLCDstuff_a_SOURCES = LL.c LL.h sockets.c sockets.h str.c str.h configfile.c configfile.h debug.h report.c report.h snprintf.c snprintf.h
|
||||
INCLUDES = -I$(top_srcdir)
|
||||
|
||||
INCLUDES = @ldap_includes@ -I$(top_srcdir)
|
||||
|
||||
EXTRA_DIST = Makefile.in
|
||||
|
||||
Reference in New Issue
Block a user