dhcp + power-dns + ldap

Damiano Venturin dam at venturin.net
Mon Feb 22 22:24:24 UTC 2010


Hi

I'm using dhcp3 + ldap. It works very well but I'm experiencing some
difficulties trying to merge the ldap configuration for dhcpd and
power-dns.

My target is to define a host only once in a single entry containing
both dns and dhcp informations and taking the hosts-list outside the
dhcp-config branch. More or less in this way:

#dn: dc=radioshocked,cn=hosts,dc=spakabal,dc=2v,dc=ntw
#cn: radioshocked
#dc: radioshocked
#objectClass: top
#objectClass: dnsdomain
#objectClass: domainrelatedobject
#objectClass: dhcpHost
#arecord: 192.168.2.15
#associateddomain: 2v.ntw
#dhcpHWAddress: ethernet 00:0A:E4:XX:XX:XX
#dhcpStatements: fixed-address 192.168.2.113

Unfortunately it seems that dhcp3-ldap can't see hosts outside the
dhcp-config branch. I read the whole schema and I tried several uses of
the dhcpHostDN attribute but without any luck.

Is there a way to point to hosts specified somewhere else than cn=DHCP
Config,cn=hosts,dc=spakabal,dc=2v,dc=ntw?


Thank you!
Regards

Dam



More information about the dhcp-users mailing list