openldap owner error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Has anyone had this issue with the development version of openldap-2.1.25?
On startup or restart of ldap I'm getting this database ownership error.

Stopping slapd:                                            [  OK  ]
/var/lib/ldap/id2entry.bdb is not owned by "ldap"          [WARNING]
/var/lib/ldap/dn2id.bdb is not owned by "ldap"             [WARNING]
/var/lib/ldap/objectClass.bdb is not owned by "ldap"       [WARNING]
/var/lib/ldap/cn.bdb is not owned by "ldap"                [WARNING]
/var/lib/ldap/uid.bdb is not owned by "ldap"               [WARNING]
Starting slapd:                                            [  OK  ]

It's coming from this part of the init script:

function start() {
# Check for simple-but-common errors.
user=ldap
ldapuid=`id -u $user`
# Unaccessible database files.
for dbdir in `grep ^directory /etc/openldap/slapd.conf | sed s,^directory,,` ; do
for file in `find ${dbdir}/ -not -uid $ldapuid -and -name "*.dbb" -or -name "*.gdbm" -or -name "*.bdb"` ; do
echo -n $"$file is not owned by \"$user\"" ; warning ; echo
done


Sincerely,
Dave Hughes
dave@xxxxxxxxxxxxxxxx





[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux