dhcpd-conf-to-ldap script shipped with dhcp packages up to the latest devel
version dhcp-3.1.0-7.fc9 seems to be fairly old.
Upstream dhcp-ldap patch available from Brian Masney's page
(http://home.ntelos.net/~masneyb/) contains updated and improved version (see
contrib directory in the patch) at least as of version of patch for dhcp 3.0.4.
Improvements in new version:
- provides command line arguments to specify basedn / dhcpdn, so it does no
longer need to be changed before use; therefore it may be possible to move it
from doc directory to e.g. /usr/sbin
- has support for failover configurations, generated ldif file than needs only
limited amount of manual tweaking
Please consider bundling updated script version with dhcp packages.
Updated to the newer conversion script and patch. The patch available at the
link you provided is written for the old OpenLDAP API. So while it's newer, I
still had to rewrite a number of things to make it work with the latest OpenLDAP
David, thanks for the update!
I wasn't aware of the OpenLDAP API problem, as I was using it some time ago
with older version of OpenLDAP libs.
Re: "including SSL support" - I've had problem with patch for 3.0.4 with
respect to SSL support. Once SSL support was enabled, non-SSL connections
were no longer working. Not sure if it's still issue, so treat this note as
heads-up in case it will break someone's setup.