You are right,

This might be more a Fedora issue than FreeIPA. I am hoping that someone else is also using DHCP with LDAP (specially with FreeIPA).

I am using the IPA-dhcp plugin:

ldapsearch -x shows the entries are fine in the LDAP.

Stracing dhcpd shows that it is not making any connection to the LDAP, while it shows an error message.

On Fedora 24 (updated), I am using dhcp-server-4.3.4.fc24

    ldap-server ""; #or localhost, or any interface ip or ns name
    ldap-port 389;
    ldap-base-dn "cn=dhcp,dc=dias,dc=com,dc=br";
    ldap-method static;
    ldap-debug-file "/var/log/dhcp-ldap-startup.log";

The STDERR output acts as if it were talking to the LDAP server:

Cannot find host LDAP entry (&(objectClass=dhcpServer)(

As the output of ldapsearch, the entry is there:
    #, dhcp,
    objectClass: dhcpserver
    objectClass: top
    dhcpServiceDN: cn=dhcp,dc=dias,dc=com,dc=br
    dhcpStatements: authoritative

Using the same config on a ubuntu host, it works fine, which makes me wonder that dhcpd in Fedora 24 does not work at all with LDAP.

Or maybe this is a reflection of some FreeIPA server way of life configuration, like sssd.


On 07/11/2016 05:10, Petr Spacek wrote:
On 6.11.2016 06:06, Raul Dias wrote:

It seems that DHCP with LDAP on Fedora 24 (FreeIPA) is broken.

Can anyone confirm?

Doing an strace -e trace=network does not show any attempt to connect to the
ldap server.

OTOH, the same config on a Ubuntu 16.10 works fine.

AFAIK DHCP support was never part of official FreeIPA builds. What are you
trying to achieve and where did you get the builds?

We need to know exact software versions and configuration. For further hints
how to report bugs please see

Manage your subscription for the Freeipa-users mailing list:
Go to for more info on the project

Reply via email to