[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: getent passwd fails



On Friday, 9 July 2010 10:13:39 Joakim Seeberg wrote:

>  From the client I can do:
> ldapsearch -x -W -b 'dc=pdc,dc=com' -D 'cn=admin,dc=pdc,dc=com' -H
> 'ldap://10.0.2.6:389/' 'objectclass=*' : Works!

[...]

> Running nslcd in debug shows:
> > nslcd: DEBUG: add_uri(ldap:///10.0.2.6)

Compare the URI that works ("ldap://10.0.2.6:389/";) to the one that doesn't 
("ldap:///10.0.2.6";).

2nd one has an extra "/" before the host/IP component.

Regards,
Buchan