Package: nslcd
Version: 0.9.12-3
Severity: normal

When nslcd is installed with noninteractive debconf frontend (perhaps
also interactively, I didn't check), guess_ldap_uri tries to find an
appropriate ldap server using some heuristics.  If it finds a host named
ldap, ldap.$domain, dirhost, or dirhost.$domain using getent hosts, it
returns the IP address of the host rather than the name.  This seems
wrong to me for at least two reasons.

First, a host can have multiple IP addresses.  If it does, you
definitely want to use the name rather than the IP address.

Second, even if the host has only one IP address, it seems much more
likely for the host's IP address to change (for whatever administrative
reason) than for the host to be renamed.

...Marvin

Reply via email to