K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / usr / share / doc / libldap-2.4-2 /
server ip : 104.21.89.46

your ip : 172.69.130.155

H O M E


Filename/usr/share/doc/libldap-2.4-2/README.Debian
Size983
Permissionrw-r--r--
Ownerroot : root
Create time27-Apr-2025 09:54
Last modified18-Mar-2014 05:17
Last accessed06-Jul-2025 16:40
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
Notes about Debian's libldap2 package
-------------------------------------

It has been reported that using libnss-ldap can cause a failure to
unmount /usr on system shutdown. The reason is that the nss module
uses libldap from /usr and is used by the shell in the system
scripts executed on shutdown/reboot.

More precisely bash uses the getpwuid function to get the data of
the current user which pulls in the nss modules which includes
the ldap libraries if you are using that module.

Possible solutions to this problem are:

a) use another shell that does not utilize getpwuid for getting info
about the current user (take dash for example).
b) make sure that the nsswitch.conf is replaced by a version which does
not mention ldap before the system is shut down (and have a startup
script that installs the "full" version of that file).
c) move the libraries to /lib (not recommended).

-- Torsten Landschoff <[email protected]> Mon, 30 Sep 2002 11:06:22 +0200