My config for the ldap backend consists of nothing but: database ldap suffix "o=NCSU,c=US" uri ldapi:/// suffixmassage "o=NCSU,c=US" "ou=people,dc=ncsu,dc=edu" lastmod off
This this point. I do not understand what could possibly be going wrong if this works for others. All I know is the ldap backend (and only the ldap backend) starts only returning:
You have to specify the path to the socket, that is
uri ldapi://%2Fpath%2Fto%2Fldapi
But it works without me doing that. (at least for a while it does)
I have just setup a test system with your configuration, and it works for me :-) But I think I realise the source of your problem now. Have you ever checked the properties of the socket? If not, set the appropiate properties (rwxrwxrwx).
Hrm. Mine are indeed set to: srwxr-xr-x 1 root other 0 Aug 17 08:51 ldapi
Frankly, I don't know your setup, but I am running back-ldap as well, proxying and caching a particular tree, but I must admit, I am running 2 different slapd versions on the same host. The master is only started with '-h ldapi:///' while the slave is being started with '-h "ldap:// ldaps"'. The relvant parts of slapd.conf
,----[ slapd.conf ] | database ldap | lastmod off | rewriteEngine on | suffix dc=orange,dc=de | suffixmassage "dc=orange,dc=de" "o=avci,c=de" | uri ldapi://%2Fusr%2Flocal%2Fvar%2Frun%2Fldapi | overlay proxycache | proxycache hdb 50000 2 100 3600 | ..... `----
Daniel
-- /\\\----------------------------------------------------------------------///\ \ \\\ Daniel Henninger http://www.vorpalcloud.org/ /// / \_\\\ North Carolina State University - Systems Programmer ///_/ \\\ Information Technology <IT> /// """--------------------------------------------------------------"""