Confusion / minor problem using nss_ldap
Konrad Heuer
kheuer2 at gwdg.de
Mon Jul 12 04:00:47 PDT 2004
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 at gwdg.de) ____ ___ _______
GWDG / __/______ ___ / _ )/ __/ _ \
Am Fassberg / _// __/ -_) -_) _ |\ \/ // /
37077 Goettingen /_/ /_/ \__/\__/____/___/____/
Germany
More information about the freebsd-questions
mailing list