add LDAP backend support to net/isc-dhcp3-server
with some modifications to the port itself and utilizing a
patch from Brian Masney (http://www.newwave.net/~masneyb/)
it is possible to use an LDAP backend to store the configuration
for dhcpd, the different network and host entries. dynamic
leases are also written to the LDAP backend.
this is very useful in a dhcp failover environment, as it
is no longer necessary to sync the dhcpd.conf file manually
to the backup system if one has changed something on the
dhcp master. two lookup methods are implemented.
- static lookup:
on dhcpd startup one LDAP lookup for all entries is done.
no further lookups will be made.
dhcpd must be restarted for every configuration change.
- dynamic lookup:
for every client request an LDAP lookup will be made.
every configuration change kicks in when the next
client request is recieved and the lookup is made.
Submitted by: Joerg Pulz <Joerg.Pulz@frm2.tum.de>
Approved by: Cyrille Lefevre