DHCP + ldap

David W. Hankins dhankins at isc.org
Tue May 11 19:17:31 UTC 2010

On Tue, May 11, 2010 at 09:33:48AM +0200, Richard Pijnenburg wrote:
> I've been doing some more work with it.
> I can define the hosts on the fly, but the subnets need to be specified
> before starting the dhcp server.
> Adding a subnet to the shared network while the dhcp server is running it
> won't see it.
> I hoped this could be different, or is it not possible due to the design
> of dhcpd?

My understanding of the LDAP patch (this should be true of the manual
patch as well as what we committed to 4.2.0b1) is that it does not
query the LDAP database during runtime, as that would be very difficult
with the particular way the DHCP server is architected currently, but
rather uses the LDAP database to build a dhcpd config at startup.

More or less LDAP is being used as an "include."  Literally, actually,
the LDAP related sources in dhcpd produce text to pass into the config
parser at startup.

So the configuration has to be in the LDAP database at the time the
server starts, and after making changes to LDAP the server must be
restarted.  So far as I'm aware, this applies to host records as
well as subnets.

Would this explain the disparity in function you were seeing between
the 4.2.0b1 and 4.1.1+patch server you tested?  When you started the
4.1.1 server that constituted a restart?

David W. Hankins	BIND 10 needs more DHCP voices.
Software Engineer		There just aren't enough in our heads.
Internet Systems Consortium, Inc.		http://bind10.isc.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20100511/4833f7a9/attachment.bin>

More information about the dhcp-users mailing list