[Richard A Nelson] > I note that somewhere, in the chain of bugs you're reported on the > two packages, that your DNS setup is bad (localhost.localdomain) !
Almost. The DNS setup is just fine (as in /etc/resolv.conf is correct), but the local hostname is not the DNS name, because the host do not have a entry in DNS. Because it is missing in DNS (reverse lookup is not resolving to anything), it is set to localhost.localdomain instead. > Until you have a proper DNS setup, anything done in pam/nss-ldap > will not provide you any benefit ! The call host -N 2 -t srv _ldap._tcp return the LDAP servers on the host, independenly of the current hostname. I would suggest to implement the pam-ldap lookup to use LDAP search and not depend on the current hosts hostname. If it is done this way, it will work even if the hostname is localhost.localdomain. > These libraries will > *) rely on the current domain name in the query for SRV records Why? I would suggest to rely on the search entries in /etc/resolv.conf instead. Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

