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

Re: new slapd.d configuration format and Invalid DN syntax (34)



Samuel Tran wrote:
Samuel Tran wrote:
On Fri, 2005-08-26 at 11:25 -0400, Samuel Tran wrote:
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
Any hints?
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?

The trace you attached earlier doesn't show any of these files being processed, and I would have expected to see them with debug level 255 in effect. It looks like the permissions are OK. Without any more debug info it's hard to say where the problem is.


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/