On Monday 16 May 2005 18:41, Uwe Laverenz wrote: > 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.
Well there was one sitting on my system in /etc & I certainly didn't create it! This system started life as 5.2-RELEASE, so maybe it crept in earlier on? > > > group: compat > > group_compat: nis > > hosts: files dns > > networks: files > > passwd: compat > > passwd_compat: nis > > shells: files > > Nope, delete this. > Thanks, that got rid of the error messages. > > 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 Duh! I forgot to check for a man page for the conf file. Thanks for your help, Cheers, -- Ian gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc
pgp7nkyxcCZYd.pgp
Description: PGP signature