01a18f213a
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. PR: ports/71030 Submitted by: Joerg Pulz <Joerg.Pulz@frm2.tum.de> Approved by: Cyrille Lefevre
9 lines
185 B
Plaintext
9 lines
185 B
Plaintext
@comment $FreeBSD$
|
|
bin/omshell
|
|
%%LDAP%%bin/dhcpd-conf-to-ldap.pl
|
|
etc/dhcpd.conf.sample
|
|
etc/rc.d/isc-dhcpd.sh
|
|
sbin/dhcpd
|
|
%%LDAP%%%%SCHEMA_DIR%%/dhcp.schema
|
|
%%LDAP%%@dirrm %%SCHEMA_DIR%%
|