Hi,
I'm currently playing with Samba 4 alpha and OpenLdap 2.4.10.
I want to start slapd with this command line (i'm currently logged in as root) :
slapd -d 16384 -f /usr/local/samba/private/ldap/slapd.conf -h ldapi://%2Fusr%2Flocal%2Fsamba%2Fprivate%2Fldap%2Fldapi
But I get the following error trace:
@(#) $OpenLDAP: slapd 2.4.10 (Jul 11 2008 09:22:55) $
buildd@vernadsky:/build/buildd/openldap-2.4.10/debian/build/servers/slapd daemon: bind(7) failed errno=13 (Permission denied) slapd stopped. connections_destroy: nothing to destroy.
I tried to replace the ldapi uri by "ldap:///", but now I'm getting a
could not open config file "/usr/local/samba/private/ldap/slapd.conf": Permission denied (13)
error message, while all rights and group/owner seem to be OK (ls -l returns -rw-r--r--).
I think I miss something, but i'm stuck for now, if someone has any idea...
thanks,
chris