I changed the permissions and the owner from root to openldap:
-rwxr-xr-x 1 openldap openldap 869 Apr 29 10:47 slapd.conf
but the slapindex command output is:
stefano@amahoro:~$ /usr/sbin/slapindex
/etc/ldap/slapd.conf: line 20: invalid path: Permission denied
slapindex: bad configuration file!
On 04/30/2012 06:47 PM, Quanah Gibson-Mount wrote:
--On Monday, April 30, 2012 6:26 PM +0200 zingalo
<lozingalo(a)gmail.com>
wrote:
> i use slapd.conf. I changed after installing, i deleted slapd.d, created
> slapd.conf and modified /etc/default/slapd file as follow:
>
> # Default location of the slapd.conf file or slapd.d cn=config directory.
> # If empty, use the compiled-in default (/etc/ldap/slapd.d with a
> fallback
> # to /etc/ldap/slapd.conf).
> SLAPD_CONF=/etc/ldap/slapd.conf
Then the permissions on this file are wrong.
/etc/ldap/slapd.conf: line 20: invalid path: Permission denied
is a pretty clear explanation of that fact.
--Quanah
--
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration