Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jul 2004 14:38:48 +0300
From:      Dancho Penev <dpenev@mnet.bg>
To:        Daniel Ruthardt <daniel.ruthardt@dowee.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Confusion / minor problem using nss_ldap
Message-ID:  <20040712113848.GA541@freebsd.vmware.dpsca.bg>
In-Reply-To: <40F26160.1020606@dowee.com>
References:  <40F26160.1020606@dowee.com>

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

--sdtB3X0nJg68CQEu
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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@dowee.com>
>To: freebsd-questions@freebsd.org
>Subject: Confusion / minor problem using nss_ldap
>
>Hi list,
>
>I've installed FreeBSD 5.1-RELEASE connecting to an OpenLDAP Server=20
>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=3D503(daniel.ruthardt) gid=3D503(serverAdmins)=20
>groups=3D503(serverAdmins), 501(sambaUsers), 502(sambaAdmins)
>
>Now the problem / confusing thing:
>
>(1) Although my primary group id should be 503 , everything created by=20
>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=20
>shows my username, only my user id (and that although I can see a=20
>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@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.or=
g"
>

--=20
Dancho Penev

GnuPG public key: http://www.mnet.bg/~dpenev/gnupg.asc
Key fingerprint: E88D 8B7B 3EF6 E9C8 C5D2  7554 2AA8 C347 71A1 4277

--sdtB3X0nJg68CQEu
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFA8nhIKqjDR3GhQncRAgpaAJ4jjy44IvfgGaimCNWarbg4HsZhFACfanQK
4c0z9CLi4DrEspuNSvKKgeg=
=1kT9
-----END PGP SIGNATURE-----

--sdtB3X0nJg68CQEu--



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