Confusion / minor problem using nss_ldap
Dancho Penev
dpenev at mnet.bg
Mon Jul 12 04:36:46 PDT 2004
On Mon, Jul 12, 2004 at 12:01:04PM +0200, Daniel Ruthardt wrote:
>Date: Mon, 12 Jul 2004 12:01:04 +0200
>From: Daniel Ruthardt <daniel.ruthardt at dowee.com>
>To: freebsd-questions at freebsd.org
>Subject: Confusion / minor problem using nss_ldap
>
>Hi list,
>
>I've installed FreeBSD 5.1-RELEASE connecting to an OpenLDAP Server
>running on a Linux box.
>nss_ldap as well as pam_ldap is working fine.
>I am able to connect to my FreeBSD box via ssh without any problmes.
>`id` shows my correct user information, which is:
>
> %id
> uid=503(daniel.ruthardt) gid=503(serverAdmins)
>groups=503(serverAdmins), 501(sambaUsers), 502(sambaAdmins)
>
>Now the problem / confusing thing:
>
>(1) Although my primary group id should be 503 , everything created by
>my user shows up with group wheel.
It's normal behavior if the directory group is "wheel".
>(2) Although everyhting seems to work without any problems, `ls`never
>shows my username, only my user id (and that although I can see a
>successful query for my user id in the log file of the LDAP server).
5.1 uses statically linked binaries in /bin and /sbin, that's why
ls(1) doesn't print names for users that not exist in the local
password file. It's not a big problem, but if you prefer ls(1) and
the others programs from /bin and /sbin to work with user names
instead of UIDs you must upgrade to 5.2 or better ;-)
>
> %mkdir daniel
> %ls -l
> total 4
> drwxr-xr-x 2 503 wheel 512 Jul 12 11:56 daniel
> drwxr-xr-x 2 503 wheel 512 Jul 12 11:37 test
> %
>
>Can anybody point me in the right direction what might go wrong here?
>
>Greets and thanks in advance,
>Daniel
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
--
Dancho Penev
GnuPG public key: http://www.mnet.bg/~dpenev/gnupg.asc
Key fingerprint: E88D 8B7B 3EF6 E9C8 C5D2 7554 2AA8 C347 71A1 4277
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040712/f93c16ad/attachment.bin
More information about the freebsd-questions
mailing list