Hi Stephen

>   libnss-ldap will use the host statement provided it's available,
>   that's primairly how my systems work.  It looks like that 'host'
>   statement wasn't found or wasn't valid and that it attempted to fall
>   back to looking for SRV records in the current domain, which also
>   failed.

Hmm, I don't agree...

Here's what is in my /etc/libnss-ldap.conf

--------------------
host 157.161.4.66
base dc=lan,dc=imp,dc=ch
uri     ldap://157.161.4.66/

and so on...
----------------------
/etc/nsswitch.conf

passwd:         ldap
----------------------
/etc/resolv.conf

search imp.ch
nameserver 157.161.4.66

---------------------
Uhm, it works now...

The only thing I changed is... I had to reboot in the meantime.
I always tought you don't need to reboot after changes to nsswitch...

Regards
-- 
Beno�t Panizzon, <[EMAIL PROTECTED]>
------------------------------------------------------------------------
ImproWare AG, UNIXSP & ISP                     Phone: +41 61 826 93 00
Zurlindenstrasse 29                            Fax:   +41 61 826 93 01
CH-4133 Pratteln                               Net:   http://www.imp.ch/
------------------------------------------------------------------------

Reply via email to