[Bug 508199] [NEW] socket path does not match nssov's socket path

ben thielsen btb at bitrate.net
Sat Jan 16 00:16:58 UTC 2010


Public bug reported:

source package: 0.6.11ubuntu2

>lsb_release -rd
Description:	Ubuntu 9.10
Release:	9.10

>apt-cache policy libnss-ldapd
libnss-ldapd:
  Installed: 0.6.11ubuntu2
  Candidate: 0.6.11ubuntu2
  Version table:
 *** 0.6.11ubuntu2 0
        500 http://us.archive.ubuntu.com karmic/universe Packages
        100 /var/lib/dpkg/status

the software appears to be looking for the socket file in a location
other than where it's placed by openldap's nss overlay (slapo-nssov):

>strings /lib/libnss_ldap.so.2 | grep -iF '/var/run/'
/var/run/nslcd/nslcd.socket

>strings /usr/lib/ldap/nssov.so.0.0.0 | grep -iF '/var/run'
/var/run/nslcd/socket
/var/run/nslcd
unlink() of /var/run/nslcd/socket failed (ignored): %s
nssov: unlink() of /var/run/nslcd/socket failed (ignored): %s
nssov: bind() to /var/run/nslcd/socket failed: %s

>l /var/run/nslcd/
total 0
drwxr-xr-x  2 openldap openldap  60 2010-01-15 19:13 .
drwxr-xr-x 21 root     root     760 2010-01-15 18:26 ..
srw-rw-rw-  1 openldap openldap   0 2010-01-15 19:00 socket

creating a symlink provides a temporary solution, but is probably not
desirable for a formal solution:

>l /var/run/nslcd/
total 0
drwxr-xr-x  2 openldap openldap  80 2010-01-15 19:14 .
drwxr-xr-x 21 root     root     760 2010-01-15 18:26 ..
lrwxrwxrwx  1 root     root       6 2010-01-15 19:14 nslcd.socket -> socket
srw-rw-rw-  1 openldap openldap   0 2010-01-15 19:00 socket

** Affects: nss-ldapd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
socket path does not match nssov's socket path
https://bugs.launchpad.net/bugs/508199
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list