From owner-freebsd-questions@FreeBSD.ORG Sun May 15 23:48:26 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC97D16A4CE for ; Sun, 15 May 2005 23:48:26 +0000 (GMT) Received: from smtp.ade.swiftdsl.com.au (smtp.ade.swiftdsl.com.au [218.214.228.98]) by mx1.FreeBSD.org (Postfix) with SMTP id C1F8443DBF for ; Sun, 15 May 2005 23:48:25 +0000 (GMT) (envelope-from no-spam@swiftdsl.com.au) Received: (qmail 12893 invoked from network); 15 May 2005 23:48:18 -0000 Received: from unknown (HELO daemon.foo.lan) (218.214.176.70) by smtp.ade.swiftdsl.com.au with SMTP; 15 May 2005 23:48:18 -0000 From: Ian Moore To: freebsd-questions@freebsd.org Date: Mon, 16 May 2005 09:18:09 +0930 User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1795425.QeQZroNPQV"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200505160918.16568.no-spam@swiftdsl.com.au> Subject: NSSwitch settings on 5.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 May 2005 23:48:27 -0000 --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--