Bug 625358 - LDAP Support in dhcp 4.1.1 seems to be broken
Summary: LDAP Support in dhcp 4.1.1 seems to be broken
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 11.3
Classification: openSUSE
Component: Network (show other bugs)
Version: Final
Hardware: All openSUSE 11.3
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Marius Tomaschewski
QA Contact: E-mail List
URL:
Whiteboard: maint:released:11.3:35062
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-25 01:05 UTC by Stefan Schäfer
Modified: 2010-08-17 11:02 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Schäfer 2010-07-25 01:05:02 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
Comment 1 Marius Tomaschewski 2010-07-26 08:31:36 UTC
Thanks for the report,

I'll take a look at it.
Comment 2 Marius Tomaschewski 2010-07-27 13:46:31 UTC
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)
Comment 3 Marius Tomaschewski 2010-07-27 13:52:09 UTC
(In reply to comment #2)
> OK, I think I've found it.
                   ^^^^^
                   fixed
Comment 4 Marius Tomaschewski 2010-07-27 13:53:28 UTC
Stefan,
could you retest the packages mentioned in comment 2? LDAP works fine for me now.
Comment 5 Stefan Schäfer 2010-07-27 19:45:15 UTC
It works :-)

Thanks a lot, this was a quick reaction, great!

Stefan
Comment 6 Marius Tomaschewski 2010-08-06 13:46:00 UTC
See also bug 625770 comment 11.
Comment 7 Christian Dengler 2010-08-09 16:11:00 UTC
Ok, be so kind and fix it by using the running SwampID: 35054.
Comment 8 Marius Tomaschewski 2010-08-11 10:01:40 UTC
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.
Comment 9 Swamp Workflow Management 2010-08-17 11:02:18 UTC
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)