RE: nss_ldap

From: Andrey Nepomnyaschih (A.Nepomnyaschih_at_chartpilot.ru)
Date: 06/28/03

  • Next message: Terry Lambert: "Re: Hyperthreading"
    To: <kientzle@acm.org>
    Date: Sat, 28 Jun 2003 11:53:29 +0400
    
    

    Thanks everyone who replied,

    That clears some things for me.

    Andrey Nepomnyaschih

    -----Original Message-----
    From: Tim Kientzle [mailto:kientzle@acm.org]
    Sent: Friday, June 27, 2003 9:50 PM
    To: Andrey Nepomnyaschih
    Cc: freebsd-current@freebsd.org
    Subject: Re: nss_ldap

    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

    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  • Next message: Terry Lambert: "Re: Hyperthreading"

    Relevant Pages

    • Re: Formatting an unreadable hard drive
      ... In the Change owner to box, ... > Since the drive is unreadable, it will not let me partition it. ... >> Have you tried to partition the drive from Disk Management? ... What steps have you tried already to format this drive and what ...
      (microsoft.public.windowsxp.general)
    • Re: Cant copy file?
      ... > Because I can copy it to the same partition but not different one. ... Right-click the MachineKeys folder. ... Click the Security tab. ... Highlight the Administrators group to change the owner. ...
      (microsoft.public.win2000.file_system)
    • Re: Debian Installation on a cybercafe PC
      ... As far as USB Drive that will boot into Linux, ... a partition, and can't seem to recover it. ... The owner, sensing your ... partition, or just the MBR, and can't recover. ...
      (Debian-User)
    • Re: making a dir undeleteable, or unrenameable?
      ... Type CD\ to put you in the root directory, ... Change to the partition the directory is in and type: ... but they ARE NOT in the sense of accessing and renaming/deleting etc.. ... If a user is NOT the owner of a file, he/she can only read it, that's it. ...
      (microsoft.public.windowsxp.general)