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

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



ghenry@suretecsystems.com wrote:
> joshua@itsecureadmin.com wrote:
>> 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
>> #
>>
>>
> 
> man slapindex does indeed so you can do this...
> 

"does indeed say you can do this..." that should read.

-- 
Kind Regards,

Gavin Henry.
OpenLDAP Engineering Team.

E ghenry@OpenLDAP.org

Community developed LDAP software.

http://www.openldap.org/project/