From owner-freebsd-questions@FreeBSD.ORG Mon Jul 12 11:00:47 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FE2516A4CE for ; Mon, 12 Jul 2004 11:00:47 +0000 (GMT) Received: from gwdu60.gwdg.de (gwdu60.gwdg.de [134.76.8.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33BCD43D2D for ; Mon, 12 Jul 2004 11:00:46 +0000 (GMT) (envelope-from kheuer2@gwdg.de) Received: from gwdu60.gwdg.de (localhost [127.0.0.1]) by gwdu60.gwdg.de (8.12.11/8.12.8) with ESMTP id i6CB0dGo085668; Mon, 12 Jul 2004 13:00:39 +0200 (CEST) (envelope-from kheuer2@gwdg.de) Received: from localhost (kheuer2@localhost)i6CB0dSN085665; Mon, 12 Jul 2004 13:00:39 +0200 (CEST) X-Authentication-Warning: gwdu60.gwdg.de: kheuer2 owned process doing -bs Date: Mon, 12 Jul 2004 13:00:38 +0200 (CEST) From: Konrad Heuer To: Daniel Ruthardt In-Reply-To: <40F26160.1020606@dowee.com> Message-ID: <20040712125808.R28795@gwdu60.gwdg.de> References: <40F26160.1020606@dowee.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: Confusion / minor problem using nss_ldap X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 11:00:47 -0000 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