I also have this issue with a 12.04 server, also using replication. The
issue appears on the slave, not the master, but the master LDAP server
is still running 10.04, so I don't know if that is relevant or not.
This morning I installed libnss-ldapd / libpam-ldapd (which also
installed nscd) and I
In my earlier comment (#5) I mentioned installing libnss-ldapd / libpam-
ldapd as replacements for libnss-ldap / libpam-ldap. This did *not*
solve the issue with group mappings: I experience the group mapping
failures with both versions of the libnss and libpam LDAP packages on my
12.04 server.
-
I can also reproduce this issue with the same ldapsearch, except I get a
failure about half the time (this is with the daemon versions of
lib(pam|nss)-ldapd):
$ ldapsearch -h localhost -b ou=people,dc=company,dc=com -x
"(&(&(objectClass=posixAccount)(uid=*))(uid=cswingley))" -M -v
ldap_initialize