From owner-freebsd-current@FreeBSD.ORG Fri Jun 27 10:47:56 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25D2A37B401 for ; Fri, 27 Jun 2003 10:47:56 -0700 (PDT) Received: from kientzle.com (h-66-166-149-50.SNVACAID.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E33143F85 for ; Fri, 27 Jun 2003 10:47:55 -0700 (PDT) (envelope-from kientzle@acm.org) Received: from acm.org (big.x.kientzle.com [66.166.149.54] (may be forged)) by kientzle.com (8.12.9/8.12.9) with ESMTP id h5RHlktJ090252; Fri, 27 Jun 2003 10:47:47 -0700 (PDT) (envelope-from kientzle@acm.org) Message-ID: <3EFC83DE.4010403@acm.org> Date: Fri, 27 Jun 2003 10:50:22 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.1) Gecko/20021005 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrey Nepomnyaschih References: <001001c33cb8$29493b20$072883c3@dimetra> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: nss_ldap X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kientzle@acm.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2003 17:47:56 -0000 Andrey Nepomnyaschih wrote: > Hello over there, > > Well playing with it nss_ldap in 5.1R. I have found that ls -la > Will not show the names of the owner if the owner resides in LDAP > Directory only the corresponding uidNumbers. Is there a way to > show the usernames instead of uidNumbers? For this to work, ls must be dynamically linked. However, dynamic linking of /bin and /sbin isn't fully supported right now. Gordon Tetlow is working to get this fully supported for 5.2. If you want this now, try the following: First, partition your disk carefully. In particular, make sure that /usr/lib is part of the root partition. (If you have a separate /usr partition, then the shared libraries can't be accessed during the initial boot stages before /usr is mounted and everything fails.) Second, in /usr/src/bin, edit Makefile.inc to set NOSHARED?= NO Then cd /usr/src/bin && make && make install to build your dynamic /bin. Cross your fingers and reboot. Do NOT do this on a system with important data. Trashing /bin will render your system completely unbootable. You can do the same with /sbin, though I strongly recommend that you add NOSHARED=YES to the Makefile for /usr/src/sbin/init. (IMO, dynamically linking init is just begging for trouble.) A number of people have done this, primarily for space reasons (a dynamically-linked /bin and /sbin are much smaller) and it does work. But, the need to repartition your disk is a bit of an obstacle. ;-) Gordon's work will make the special partitioning unnecessary, and provide a single switch for selecting dynamic linking. Warning: I haven't been brave enough to try this myself, though I've heard reports from people who have. ;-) Good luck. Tim Kientzle