[Date Prev][Date Next]
Re: slapd 2.2.24 will not start as non root user
On 01/03/2011 15:40, Quanah Gibson-Mount wrote:
--On Tuesday, March 01, 2011 1:30 PM +0000 Iain M Conochie
Well - I have managed to get 2.4.23 working starting as root and
-g and -u options to actually run as user ldap. 2.4.24 was NOT able
that giving the error above. Since I have a working version now I am
However the error that 2.4.24 gives seems bizarre. I can do more testing
on this if you want further info; perhaps slapd is unable to find the
Use slapd -d -1 -u ldap -g ldap
on OpenLDAP 2.4.24, and see what it reports. It should certainly work
with 2.4.24 as well as 2.4.23.
OK. I think I have found the issue.
These servers use ldap for authentication. When I remove the local
/etc/ldap.conf file 2.4.24 starts fine as user ldap. When I have the
local /etc/ldap.conf file slapd 2.4.24 refuses to start. So it looks
like slapd 2.4.24 is unable to find the ldap user when ldap
authentication is in effect.
Now this user is local to the machine (i.e. has and entry in /etc/passwd
etc) and is not in the ldap directory. (hence slapd can start without
the ldap authentication.
As I say 2.4.23 seems fine so we are going with this.
Sr. Member of Technical Staff
A Division of VMware, Inc.
Zimbra :: the leader in open source messaging and collaboration