#668242 isc-dhcp-server-ldap: creates invalid config for dhcpHost without dhcpHWAddress

Package:
isc-dhcp-server-ldap
Source:
isc-dhcp
Description:
DHCP server that uses LDAP as its backend
Submitter:
Dave Whitla
Date:
2026-08-05 17:33:47 UTC
Severity:
minor
#668242#5
Date:
2012-04-10 04:37:11 UTC
From:
To:
For example, the following LDAP config:

dn: cn=xenmaster,cn=reservations,cn=config,ou=dhcp,dc=hive
objectClass: dhcpHost
objectClass: top
objectClass: dhcpOptions
cn: xenmaster
dhcpOption: dhcp-client-identifier "xenmaster"
dhcpStatements: fixed-address 10.0.0.100

yields in the generated config:

host xenmasterfixed-address 10.0.0.100;
option dhcp-client-identifier "xenmaster";
}

while the following LDAP config:

dn: cn=xenmaster,cn=reservations,cn=config,ou=dhcp,dc=hive
objectClass: dhcpHost
objectClass: top
objectClass: dhcpOptions
cn: xenmaster
dhcpHWAddress: ethernet ff:ff:ff:ff:ff:ff
dhcpOption: dhcp-client-identifier "xenmaster"
dhcpStatements: fixed-address 10.0.0.100

yields in the generated config:

host xenmaster {
hardware ethernet ff:ff:ff:ff:ff:ff;
fixed-address 10.0.0.100;
option dhcp-client-identifier "xenmaster";
}


- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages isc-dhcp-server-ldap depends on:
ii  debianutils      4.2.1
ii  isc-dhcp-common  4.2.2.dfsg.1-4
ii  isc-dhcp-server  4.2.2.dfsg.1-4
ii  libc6            2.13-27
ii  libldap-2.4-2    2.4.28-1.2

isc-dhcp-server-ldap recommends no packages.

isc-dhcp-server-ldap suggests no packages.

#668242#12
Date:
2016-10-05 09:11:02 UTC
From:
To:
This issue persists 4 years later in Jessie 4.3.1-6+deb8u2.
It may be minor for the maintainer but its a showstopper for my usage.

#668242#17
Date:
2016-10-05 23:37:25 UTC
From:
To:
I'm happy to consider a patch that scratches your itch.

Best wishes,
Mike

#668242#20
Date:
2016-10-05 23:37:25 UTC
From:
To:
I'm happy to consider a patch that scratches your itch.

Best wishes,
Mike

#668242#25
Date:
2016-10-06 06:01:37 UTC
From:
To:
I’ll take a look at a patch, but I’m surprised that this is in stable given that it doesn’t implement its documented contract.
#668242#30
Date:
2026-08-05 17:31:09 UTC
From:
To:
Dear submitter,

as the package isc-dhcp has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1143544

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)