Samuel Tran wrote:
On Fri, 2005-08-26 at 11:25 -0400, Samuel Tran wrote:
Any hints?Hi all,
I am testing OL 2.3.6 + BerkeleyDB 4.2.52 on Debian Sarge boxes.
I am a little bit confused on the new slapd.d configuration format.
I have a slapd.conf file that is working with my setup. I converted it to the new slapd.d format using this command:
/usr/local/libexec/slapd -f /etc/openldap/slapd.conf -F /etc/openldap/slapd.d
I re-started slapd using slapd.d: /usr/local/libexec/slapd -d 255
-u ldap -F /etc/openldap/slapd.d -4
You're running slapd as "-u ldap" but you didn't specify that when converting the config format. Are the permissions in slapd.d correct?
Here are the permissions on slapd.d and subfolders:
stran@info-ldap-001:/etc/openldap$ ls -ald slapd.d
drwxr-xr-x 3 ldap ldap 1024 2005-08-26 10:52 slapd.d
stran@info-ldap-001:/etc/openldap$ ls -al slapd.d
total 4
drwxr-xr-x 3 ldap ldap 1024 2005-08-26 10:52 .
drwxr-xr-x 6 root root 1024 2005-08-26 10:52 ..
drwxr-x--- 3 ldap ldap 1024 2005-08-26 10:52 cn=config
-rw------- 1 ldap ldap 839 2005-08-26 10:52 cn=config.ldif
stran@info-ldap-001:/etc/openldap$ sudo ls -al slapd.d/*
-rw------- 1 ldap ldap 839 2005-08-26 10:52 slapd.d/cn=config.ldif
-- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc OpenLDAP Core Team http://www.openldap.org/project/