From owner-freebsd-questions@FreeBSD.ORG Sun Jul 20 08:56:38 2003 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 1BDE037B401 for ; Sun, 20 Jul 2003 08:56:38 -0700 (PDT) Received: from mail.lewiz.org (pam80-1-12-161.man.dial.ntli.net [80.1.12.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5253B43F85 for ; Sun, 20 Jul 2003 08:56:36 -0700 (PDT) (envelope-from lewiz@blue.lewiz.org) Received: from blue.lewiz.org ([192.168.0.11]) by mail.lewiz.org with smtp (Exim 4.20) id 19eGWw-000E6m-S6 for freebsd-questions@freebsd.org; Sun, 20 Jul 2003 15:55:22 +0000 Received: (nullmailer pid 22733 invoked by uid 4001); Sun, 20 Jul 2003 15:55:22 -0000 Date: Sun, 20 Jul 2003 16:55:22 +0100 From: lewiz To: FreeBSD-questions Message-ID: <20030720155522.GA22707@lewiz.org> Mail-Followup-To: lewiz , FreeBSD-questions Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2fHTh5uZTiUOsy+g" Content-Disposition: inline X-GPG-Fingerprint: 90A4 939E 3847 A3E4 8103 2A48 22DA B428 542F ED3F X-GPG-Info: http://www.westwood.karoo.net/pgpkey / horowitz.surfnet.nl User-Agent: Mutt/1.5.4i X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean Subject: NSS ``ls''. 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, 20 Jul 2003 15:56:38 -0000 --2fHTh5uZTiUOsy+g Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I've been playing around with pam_ldap and nss_ldap on my server in an attempt to replace NIS with something more flexible (i.e. that can have Linux and Windows clients, distribute other data, etc.) but I keep getting stuck. I can login fine (which shows that pam_ldap and nss_ldap are working), I have passwd: ldap files, group: ldap files in my nsswitch.conf file. However, if I do ls -ld /home the uids/gids don't get resolved to real names: they get left as 4001, 4002, etc. I've read some stuff on Google Groups about ls not being statically linked and therefore not being able to do this. Fine. However, on one machines I can do ``id lewiz'', which won't work on another (with an identical setup). Why? Last thing seems to be that cvsweb also doesn't recognize that I am lewiz, it lists me as uid4001 (I notice it's a cgi-bin script, could it be because it's using statically linked binaries to get the file structure?) Thanks very much! -lewiz. --=20 God is not dead! He's alive and autographing bibles at Cody's ------------------------------------------------------------------------ -| msn:purple@lewiz.net | jab:lewiz@jabber.org | url:http://lewiz.net |- --2fHTh5uZTiUOsy+g Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/GrtpItq0KFQv7T8RAlybAKDfsKhgdZkYHjGTR2lkycdsQvFcKQCgiMvS zX8wWpyZaH+2OkoefT7/3m4= =9whJ -----END PGP SIGNATURE----- --2fHTh5uZTiUOsy+g--