[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Also, Re: What is err=52?



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)

That depends on how you start the daemon. The uri in slapd.conf is extraneous - i.e. it doesn't do anything, is there for something else (the ldap database definition).

That's what I'm using the uri for, (it's within the backend ldap defintion section). I start the daemon with:
slapd -h 'ldap:/// ldaps:/// ldapi:///'


Daniel

--
/\\\----------------------------------------------------------------------///\
\ \\\      Daniel Henninger           http://www.vorpalcloud.org/        /// /
 \_\\\      North Carolina State University - Systems Programmer        ///_/
    \\\                   Information Technology <IT>                  ///
     """--------------------------------------------------------------"""