Bugzilla – Bug 625358
LDAP Support in dhcp 4.1.1 seems to be broken
Last modified: 2010-08-17 11:02:18 UTC
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.6) Gecko/20100626 SUSE/3.6.6-1.2 Firefox/3.6.6 On openSUSE 11.3 the dhcp-server didn't start if he should fetch his informations from a ldap directory. Error: "invalid option name 62" dhcpd.conf: ldap-server "127.0.0.1"; ldap-port 389; ldap-username "uid=Admin,ou=DHCP-Server,dc=i5-net,dc=loc"; ldap-password "admin-secret"; ldap-base-dn "ou=DHCP-Server,dc=i5-net,dc=loc"; ldap-method dynamic; ldap-debug-file "/var/log/dhcp-ldap-startup.log"; With older Versions of isc dhcpd-server this configuration works fine. Looks like its the same bug as in mandriva 2009.1: http://lists.mandriva.com/bugs/2010-02/msg03228.php Perhaps this is related to ISC-Bugs #17741, but i couldn't find further information about this bug. Reproducible: Always Steps to Reproduce: 1. connect isc dhcpd-server to a ldap-directory 2. start the server 3. Actual Results: see details
Thanks for the report, I'll take a look at it.
OK, I think I've found it. Please install/update all ISC DHCP related packages, that is at least 'dhcp' and 'dhcp-server' package from: http://download.opensuse.org/repositories/network:/dhcp/openSUSE_11.3/x86_64/ To verify, use "rpm -q --changelog dhcp-server | head -2" -- it should display the following new changelog entry: * Di Jul 27 2010 mt@suse.de - Fixed ldap option number conflicting with new options (bnc#625358)
(In reply to comment #2) > OK, I think I've found it. ^^^^^ fixed
Stefan, could you retest the packages mentioned in comment 2? LDAP works fine for me now.
It works :-) Thanks a lot, this was a quick reaction, great! Stefan
See also bug 625770 comment 11.
Ok, be so kind and fix it by using the running SwampID: 35054.
Patchinfo and a package are submitted: 45246 State:new By:mtomaschewski When:2010-08-10T09:52:06 submit: home:mtomaschewski:branches:openSUSE:11.3:Update:Test/dhcp -> openSUSE:11.3:Update:Test Descr: fixes for SWAMPID 35054 SUMMARY: dhcp-server ldap support fix, NetworkManager dhcp-client classless route option compatibility DESCRIPTION: - #625358: Fixed ldap option number inconsistence causing a conflict with new 4.x options in the dhcp-server. - #625770: Renamed rfc3442-classless-static-routes_raw in /etc/dhclient.conf to rfc3442-classless-static-routes for compatibility with the NetworkManager making use of /etc/dhclient.conf now and adopted /sbin/dhclient-script to use the new option variable.
Update released for: dhcp, dhcp-client, dhcp-client-debuginfo, dhcp-debuginfo, dhcp-debugsource, dhcp-devel, dhcp-doc, dhcp-relay, dhcp-relay-debuginfo, dhcp-server, dhcp-server-debuginfo Products: openSUSE 11.3 (debug, i586, x86_64)