Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jul 2003 16:55:22 +0100
From:      lewiz <purple@lewiz.info>
To:        FreeBSD-questions <freebsd-questions@freebsd.org>
Subject:   NSS ``ls''.
Message-ID:  <20030720155522.GA22707@lewiz.org>

next in thread | raw e-mail | index | archive | help

--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--



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