- 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.
- Modified startup order of LCDd parts.
- Moved code for starting up the socket from main.c to sock.c
- Variable daemon_mode renamed to foreground_mode, consistent with command line.
- Variable lcd_port renamed to bind_port.
- Modified the constant stay_in_foreground for drivers hd44780 and sed1330. They don't need to stay in foreground anymore.
It is working with both USB and Serial version of the LCD
The heartbeat is currently 3 pixels blinking...
And there might be more cleaning needed in the code.
The ServerScreen option in LCDd.conf and the -i command line parameter were parsed in server/main.c, but the value of rotate_server_screen was not respected in server/serverscreens.[c,h].
- port_access_full is now called port_access_multiple and has a count parameter (LPT port stuff should be in lpt-port.h)
- Updated calling source files too
- Added support for ports in higher range, so that PCI LPT cards will work too (but I can't test this myself...)
- Enhanced formatting of in-file documentation a bit
- Updated docs of port.h in lcdproc-dev