dhcp 4.2.0-P2 and LDAP: No subnet declaration for eth0

arun.sasi1 at wipro.com arun.sasi1 at wipro.com
Fri Feb 4 05:02:10 UTC 2011


Hi,
 
Please mention the server subnet in dhcpd.conf file.

________________________________

From: dhcp-users-bounces+arun.sasi1=wipro.com at lists.isc.org on behalf of Richard Pijnenburg
Sent: Fri 2/4/2011 3:20 AM
To: 'Users of ISC DHCP'
Subject: RE: dhcp 4.2.0-P2 and LDAP: No subnet declaration for eth0



From: dhcp-users-bounces+richard=softwaredev.nl at lists.isc.org [mailto:dhcp-users-bounces+richard=softwaredev.nl at lists.isc.org] On Behalf Of Juergen Northe
Sent: donderdag 3 februari 2011 21:52
To: Users of ISC DHCP
Subject: Re: dhcp 4.2.0-P2 and LDAP: No subnet declaration for eth0

>
> Can you check the logfile "/var/log/dhcp-ldap-startup.log".
>
> There you should be able to see with what the dhcp server is starting up
> with.
>
>
Hi,
thank you for your quick response!
I already checked this file. Nothing helpful in there ?!
I forgot to mention that the host is a virtual one, running KVM.
Iptables are not uses (flushed) and freeradius can connect to the ldap
server using the same ip 172.17.5.254. ldapsearch is also successfully
(copy / paste from dhcpd.conf). Hmmm.

------
cat /var/log/dhcp-ldap-startup.log.trace
------
dHCpMJÞþconnection-outputMJÞþconnection-inputMJÞþdisconnect

MJÞþconnectMJÞþlistenMJÞþinterface
MJÞoutpacket
MJÞþ    readconfMJÞþ1
readleasesMJÞþ
              random-seedMJÞþ
ddns-inputMJÞþicmp-inputMJÞþicmp-output
,MJÞþ/etc/dhcpd.confldap-server "jh-server254.intra.company.de";
ldap-port       389;
ldap-username   "uid=admindhcpd,ou=people,dc=company,dc=de";
ldap-password   "xxxxxxxxxxx";
ldap-base-dn    "dc=company,dc=de";
ldap-method     static;
ldap-debug-file "/var/log/dhcp-ldap-startup.log";


MJÞþ/var/db/dhcpd.leases# The format of this file is documented in the
dhcpd.leases(5) manual page.

--

Regards
Jürgen Northe



Hi,

If the startup logfile is empty then it's not getting the info correctly.
You should see some dhcp definitions in there.

It's also possible the ldap function in 4.2.0 is buggy. ( i currently use 4.1.1 )

Cheers,

Richard


Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20110204/053c3890/attachment.html>


More information about the dhcp-users mailing list