nslcd: Warning: /lib/x86_64-linux-gnu/libnss_ldap.so.2: undefined symbol: _nss_ldap_enablelookups (probably older NSS module loaded)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nss-pam-ldapd (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
If libnss-ldap is installed:
# /etc/init.d/nslcd start
* Starting LDAP connection daemon nslcd
nslcd: Warning: /lib/x86_
If libnss-ldapd is installed it starts fine, but it does not work.
getent passwd works fine
getent group shows the groups, but all of them are empty!
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: nslcd 0.8.4
ProcVersionSign
Uname: Linux 3.2.0-7-generic x86_64
ApportVersion: 1.90-0ubuntu2
Architecture: amd64
Date: Mon Jan 16 16:10:23 2012
ProcEnviron:
LC_CTYPE=
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: nss-pam-ldapd
UpgradeStatus: Upgraded to precise on 2012-01-04 (12 days ago)
The _nss_ldap_ enablelookups undefined symbol is to be expected when using nslcd with the old nss_ldap. nslcd does not do anything useful when using libnss-ldap, only with libnss-ldapd.
For the not working group lookups it would be helpful to have some of the output from getent group, information on how the LDAP database is structured, the nslcd.conf file and perhaps output of nslcd -d while performing a group lookup.