Bug 283841 - LDAP service for DHCP doesn't work
LDAP service for DHCP doesn't work
Status: CLOSED DUPLICATE of bug 283391
Product: Fedora
Classification: Fedora
Component: dhcp (Show other bugs)
7
All Linux
medium Severity high
: ---
: ---
Assigned To: David Cantrell
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-09-09 00:57 EDT by Fran Taylor
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-09-10 10:50:42 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Fran Taylor 2007-09-09 00:57:01 EDT
Description of problem:

LDAP service for DHCP doesn't work.  This error message is as far as you will get:

invalid dns update type

I will paste clips from the files includes/dhcpd.h and server/stables.c here,
and the problem should be pretty obvious:

includes/dhcpd.h, line 458:
---
# define SV_LDAP_SERVER                 46
# define SV_LDAP_PORT                   47
# define SV_LDAP_USERNAME               48
# define SV_LDAP_PASSWORD               49
# define SV_LDAP_BASE_DN                50
# define SV_LDAP_METHOD                 51
---

server/stables.c, line 487:
---
        { "ldap-server", "t",                           &server_universe, 47 },
        { "ldap-port", "d",                                    
&server_universe, 48 },
        { "ldap-username", "t",                         &server_universe, 49 },
        { "ldap-password", "t",                         &server_universe, 50 },
        { "ldap-base-dn", "t",                          &server_universe, 51 },
        { "ldap-method", "Nldap-methods.",      &server_universe, 52 },
---

Clearly the numbering of the parameters is not the same so things will not line
up.
Comment 1 David Cantrell 2007-09-10 10:50:42 EDT

*** This bug has been marked as a duplicate of 283391 ***

Note You need to log in before you can comment on or make changes to this bug.