[Date Prev][Date Next]
Re: Installing openldap 2.2.19 on RHEL 3
On Sun, 2005-01-02 at 00:09 -0600, Jon Roberts wrote:
> Craig White wrote:
> > I do have a really dumb question... the file
> > called /usr/local/var/openldap-data/DB_CONFIG
> > should that be owned by ldap:ldap or root:root or ??:??
> It doesn't matter who owns it as long as ldap can read it.
> My one potential note for your nicely written procedure: to make it
> complete you should add the lines for creating the ldap user and
> granting ownership to ldap for the data path.
> /usr/sbin/useradd -s /sbin/nologin ldap
> /bin/rm -r /home/ldap
one of the basis of this setup was that openldap (and thus ldap
user/group) already existed on RHEL 3
# rpm -qa|grep openldap
the second premise - fraught with dangers as Tonye has pointed out that
I'm not removing any of it.
> chown -R ldap /usr/local/var/openldap-data
kind of necessary after first slapadd - I knew that but it should be
part of any write up I suppose.