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

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



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...

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 824887
E ghenry@suretecsystems.com

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/