Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jul 2004 13:00:38 +0200 (CEST)
From:      Konrad Heuer <kheuer2@gwdg.de>
To:        Daniel Ruthardt <daniel.ruthardt@dowee.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Confusion / minor problem using nss_ldap
Message-ID:  <20040712125808.R28795@gwdu60.gwdg.de>
In-Reply-To: <40F26160.1020606@dowee.com>
References:  <40F26160.1020606@dowee.com>

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

On Mon, 12 Jul 2004, Daniel Ruthardt wrote:

> 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.
> (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).
>
>     %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?

>From 5.2-R on, ls is linked dynamically and uses the whole nss mechanism.
In 5.1 with ls being statically linked (like all binaries in /bin and
/sbin) it cannot do.

Regards

Konrad Heuer (kheuer2@gwdg.de)  ____            ___  _______
GWDG                           / __/______ ___ / _ )/ __/ _ \
Am Fassberg                   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen             /_/ /_/  \__/\__/____/___/____/
Germany



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