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

Re: cannot populate with smbldap-populate



--On Monday, April 30, 2012 9:38 AM +0200 zingalo <lozingalo@gmail.com> wrote:

so, i changed all the permissions in the /var/lib/ldap/*

chmod 0755 /var/lib/ldap/

I retried with slapindex with the same result:

from root:
sudo /usr/sbin/slapindex

WARNING!
Runnig as root!
There's a fair chance slapd will fail to start.
Check file permissions!

from normal user:
usr/sbin/slapindex
/etc/ldap/slapd.conf: line 20: invalid path: Permission denied
slapindex: bad configuration file!

You're running slapindex incorrectly. Clearly your setup uses cn=config, so you need to provide the "-F" option with the path to your config database.

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