isc-dhcp with ldap back end : With Linux

Brendan Kearney bpk678 at gmail.com
Fri Sep 19 20:38:09 UTC 2014


On Fri, 2014-09-19 at 09:39 +0530, Kasun Rathnayaka wrote:
> Hi 
> 
> now we install and configure isc-dhcp in debian and now we want to
> connect it our ldap (openldap) and get mac address through it.I follow
> link for configuration.
> 
> https://github.com/svnaes/LanSNAP/wiki/LDAP-install-for-DHCPd-%
> 7C-Debian-Wheezy
> 
> But it get following error.
> ………………………………..
> Sep 17 12:38:32 wso2 slapd[3414]: conn=1001 op=1 SRCH
> base="dc=mlp,dc=lan" scope=2 deref=0
> filter="(&(objectClass=dhcpServer)(|(cn=wso2)(cn=wso2)))"
> Sep 17 12:38:32 wso2 slapd[3414]: <= bdb_equality_candidates:
> (objectClass) not indexed
> Sep 17 12:38:32 wso2 slapd[3414]: <= bdb_equality_candidates:
> (objectClass) not indexed
> Sep 17 12:38:32 wso2 slapd[3414]: <= bdb_equality_candidates: (cn) not
> indexed
> Sep 17 12:38:32 wso2 slapd[3414]: <= bdb_equality_candidates: (cn) not
> indexed
> Sep 17 12:38:32 wso2 slapd[3414]: conn=1001 op=1 SEARCH RESULT tag=101
> err=0 nentries=0 text=
> Sep 17 12:38:32 wso2 dhcpd: Error: Cannot find LDAP entry matching
> (&(objectClass=dhcpServer)(|(cn=wso2)(cn=wso2)))
> …………………………………..
> So if u can give me proper working guide for isc-dhcp implementation
> with ldap…
> 
> we use dhcp 4 and 4.1 and also 4.2..but always getting that error
> 
the dhcpd instance does a query against ldap, trying to find an object
with the dhcpServer object class, AND a common name of wso2.  either of
these may exist in your environment, but BOTH conditions must be
fulfilled.  when an object with BOTH conditions is found, it must have
the attibute of dhcpServiceDN, and the value of that attribute must
point to the location in the directory that contains the configuration
information for the dhcpd instance.




More information about the dhcp-users mailing list