clone 489361 -1 retitle -1 please support _ldap._tcp lookups using default resolver reopen -1 tags -1 wontfix thanks
(please reply to the new bugreport for this issue) On Fri, 2008-08-22 at 11:48 +0200, Petter Reinholdtsen wrote: > [Arthur de Jong] > > I believe that cfg_getdomainname() does more or less the same thing > > as hostname -d does (at least I don't think I came up with the > > solution myself). Do you know of a way to reliable access that > > information (apart from parsing the file yourself)? > > Nope. My point is that nslcd should not need to look at the hosts > domain name. It should be enough to search for the first _ldap._tcp > entry in any domain searched by the current DNS setup. Right, I think I understand now. The problem here is that OpenLDAP's ldap_domain2hostlist() is used to get the entries but that function expects an existing domain. It cannot lookup the domain itself or do a normal search. (there is obviously no documentation for this function but the source can be found here: http://www.openldap.org/devel/cvsweb.cgi/~checkout~/libraries/libldap/dnssrv.c) So unless you (or someone else) can convince the OpenLDAP guys to improve the functionality or come up with a patch for nss-ldapd I'm afraid this isn't going to be fixed soon. -- -- arthur - [EMAIL PROTECTED] - http://people.debian.org/~adejong --
signature.asc
Description: This is a digitally signed message part

