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

Re: cannot populate with smbldap-populate



On 04/30/2012 07:33 PM, Brandon Hume wrote:
On 30/04/2012 2:00 PM, zingalo wrote:

stefano@amahoro:~$ /usr/sbin/slapindex
/etc/ldap/slapd.conf: line 20: invalid path: Permission denied
slapindex: bad configuration file!

Are you attempting to run slapindex there as user "stefano" instead of
user "openldap"?



yes, thank you!

sudo -u openldap /usr/sbin/slapindex has changed the timestamps of *.bdb files. i think is ok:

root@amahoro:/var/lib/ldap# sudo -u openldap /usr/sbin/slapindex
root@amahoro:/var/lib/ldap# ls -l *.bdb
-rwxr-xr-x 1 openldap openldap 16384 Apr 30 20:26 cn.bdb
-rwxr-xr-x 1 openldap openldap  8192 Apr 30 11:27 dn2id.bdb
-rwxr-xr-x 1 openldap openldap  8192 Apr 30 20:26 gidNumber.bdb
-rwxr-xr-x 1 openldap openldap 65536 Apr 30 11:27 id2entry.bdb
-rwxr-xr-x 1 openldap openldap  8192 Apr 30 20:26 mail.bdb
-rwxr-xr-x 1 openldap openldap  8192 Apr 30 20:26 memberUid.bdb
-rwxr-xr-x 1 openldap openldap  8192 Apr 28 11:52 objectClass.bdb
-rw------- 1 openldap openldap  8192 Apr 30 20:26 sambaPrimaryGroupSID.bdb
-rwxr-xr-x 1 openldap openldap  8192 Apr 30 20:26 sambaSID.bdb
-rwxr-xr-x 1 openldap openldap  8192 Apr 30 20:26 sn.bdb
-rwxr-xr-x 1 openldap openldap  8192 Apr 30 20:26 uid.bdb
-rwxr-xr-x 1 openldap openldap  8192 Apr 30 20:26 uidNumber.bdb