Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 May 2005 11:11:12 +0200
From:      Uwe Laverenz <uwe@laverenz.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: NSSwitch settings on 5.4
Message-ID:  <20050516091112.GC17359@laverenz.de>
In-Reply-To: <200505160918.16568.no-spam@swiftdsl.com.au>
References:  <200505160918.16568.no-spam@swiftdsl.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 16, 2005 at 09:18:09AM +0930, Ian Moore wrote:

> passwd: files ldap
> group: files ldap

This is correct and sufficient for local files + ldap.

> On my 5.4-Release system, the default nsswitch.conf is:

AFAIK there never  was a "default" nsswitch.conf in FreeBSD 5.4, I always
had to create a new one from scratch.

> group: compat
> group_compat: nis
> hosts: files dns
> networks: files
> passwd: compat
> passwd_compat: nis
> shells: files

Nope, delete this.

> Using the 'compat ldap' version, I get errors in /var/log/messages:
>   May 13 22:42:26 daemon -csh: NSSWITCH(nsparser): /etc/nsswitch.conf  line 1:
>   'compat' used with other sources
>   May 13 22:42:26 daemon -csh: NSSWITCH(nsparser): /etc/nsswitch.conf  line 5:
>   'compat' used with other sources

man nsswitch.conf

cu,
Uwe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050516091112.GC17359>