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

(ITS#5321) slapindex fails to create cn=config from configuration file



Full_Name: Joshua Miller
Version: 2.4.7
OS: CentOS 5
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (198.134.96.10)


OL Version 2.4.7
Berkely DB 4.6
OS CentOS 5

Command:  slapindex

ISSUE:

When attempting to generate cn=config from a configuration file using slapindex,
no cn=config is generated:

# cd /etc/openldap
# mkdir slapd.d
# /usr/sbin/slapindex -f /etc/openldap/slapd.conf -F /etc/openldap/slapd.d
# echo $?
0

Program exits without error.

# ls /etc/openldap/slapd.d

Subsequently, running this command immediately after generates the appropriate
cn=config:

# slaptest -f /etc/openldap/slapd.conf -F /etc/openldap/slapd.d
config file testing succeeded
# ll slapd.d
total 8
drwxr-x--- 4 root root 4096 Jan 10 13:07 cn=config
-rw------- 1 root root 1097 Jan 10 13:07 cn=config.ldif
#