Date: Mon, 16 May 2005 09:18:09 +0930 From: Ian Moore <no-spam@swiftdsl.com.au> To: freebsd-questions@freebsd.org Subject: NSSwitch settings on 5.4 Message-ID: <200505160918.16568.no-spam@swiftdsl.com.au>
next in thread | raw e-mail | index | archive | help
--nextPart1795425.QeQZroNPQV Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I'm trying to configure an openldap server on 5.4 and I'm unsure of what th= e=20 correct settings in nsswitch.conf should be for a 5.4-Release system, since= =20 the default seems to be different to previous releases. Perhaps someone here might know? I've been using the guide at http://books.blurgle.ca/read/chapter/1 as a=20 reference. This document says you have these lines in your nsswitch.conf: passwd: files ldap group: files ldap On my 5.4-Release system, the default nsswitch.conf is: group: compat group_compat: nis hosts: files dns networks: files passwd: compat passwd_compat: nis shells: files So should I have group: compat ldap passwd: compat ldap or=20 group: files ldap passwd: files ldap or some other combination? 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 Cheers, =2D-=20 Ian gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc --nextPart1795425.QeQZroNPQV Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBCh9/APUlnmbKkJ6ARAtLCAJwL39oARIWRpoLrca1G0ccYWhd+pACgqGsV en0nkO5hkL9VtwpwINmWJak= =zPV7 -----END PGP SIGNATURE----- --nextPart1795425.QeQZroNPQV--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505160918.16568.no-spam>