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

Re: Newbie LDIF question

Saket -

> Are they because I ran slapadd as root ? Should I change back the
> owenership of these files to user 'ldap' ?

That sounds about right.  The files /var/lib/ldap/* should be owned by
your ldap user.  most rpm based installs will add scripts that will
fork the process to your ldap user. Something like:
# cd /var/lib/ldap/
# chown ldap:ldap *
# chmod 600 *
should do the trick.

You should probably stop slapd before making these changes.