<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><title>Re: dhcp 4.2.0-P2 and LDAP: No subnet declaration for eth0</title><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.avgcert, li.avgcert, div.avgcert
        {mso-style-name:avgcert;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> dhcp-users-bounces+richard=softwaredev.nl@lists.isc.org [mailto:dhcp-users-bounces+richard=softwaredev.nl@lists.isc.org] <b>On Behalf Of </b>Juergen Northe<br><b>Sent:</b> donderdag 3 februari 2011 21:52<br><b>To:</b> Users of ISC DHCP<br><b>Subject:</b> Re: dhcp 4.2.0-P2 and LDAP: No subnet declaration for eth0<o:p></o:p></span></p></div></div><p><span style='font-size:10.0pt'>><br>> Can you check the logfile "/var/log/dhcp-ldap-startup.log".<br>><br>> There you should be able to see with what the dhcp server is starting up<br>> with.<br>><br>><br>Hi,<br>thank you for your quick response!<br>I already checked this file. Nothing helpful in there ?!<br>I forgot to mention that the host is a virtual one, running KVM.<br>Iptables are not uses (flushed) and freeradius can connect to the ldap<br>server using the same ip 172.17.5.254. ldapsearch is also successfully<br>(copy / paste from dhcpd.conf). Hmmm.<br><br>------<br>cat /var/log/dhcp-ldap-startup.log.trace<br>------<br>dHCpMJÞþconnection-outputMJÞþconnection-inputMJÞþdisconnect<br><br>MJÞþconnectMJÞþlistenMJÞþinterface<br>MJÞoutpacket<br>MJÞþ    readconfMJÞþ1<br>readleasesMJÞþ<br>              random-seedMJÞþ<br>ddns-inputMJÞþicmp-inputMJÞþicmp-output<br>,MJÞþ/etc/dhcpd.confldap-server "jh-server254.intra.company.de";<br>ldap-port       389;<br>ldap-username   "uid=admindhcpd,ou=people,dc=company,dc=de";<br>ldap-password   "xxxxxxxxxxx";<br>ldap-base-dn    "dc=company,dc=de";<br>ldap-method     static;<br>ldap-debug-file "/var/log/dhcp-ldap-startup.log";<br><br><br>MJÞþ/var/db/dhcpd.leases# The format of this file is documented in the<br>dhcpd.leases(5) manual page.<br><br>--<br><br>Regards<br>Jürgen Northe<br><br><o:p></o:p></span></p><p><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi,<o:p></o:p></span></p><p><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>If the startup logfile is empty then it's not getting the info correctly.<br>You should see some dhcp definitions in there.<o:p></o:p></span></p><p><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>It's also possible the ldap function in 4.2.0 is buggy. ( i currently use 4.1.1 )<br><br>Cheers,<o:p></o:p></span></p><p><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Richard<o:p></o:p></span></p></div></body></html>