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

Re: starting slapd 2.4.10



Hi,

Christophe Thibault a Ãcrit :
> Hi,
> 
> I'm currently playing with Samba 4 alpha and OpenLdap 2.4.10.
> 
> I want to start slapd with this command line (i'm currently logged in as
> root) :
> 
> slapd -d 16384 -f /usr/local/samba/private/ldap/slapd.conf -h
> ldapi://%2Fusr%2Flocal%2Fsamba%2Fprivate%2Fldap%2Fldapi
> 
> But I get the following error trace:
> 
> @(#) $OpenLDAP: slapd 2.4.10 (Jul 11 2008 09:22:55) $
>       
> buildd@vernadsky:/build/buildd/openldap-2.4.10/debian/build/servers/slapd
> daemon: bind(7) failed errno=13 (Permission denied)
> slapd stopped.
> connections_destroy: nothing to destroy.
> 
> 
> 
> I tried to replace the ldapi uri by "ldap:///";, but now I'm getting a
> 
> could not open config file "/usr/local/samba/private/ldap/slapd.conf":
> Permission denied (13)
> 
> error message, while all rights and group/owner seem to be OK (ls -l
> returns -rw-r--r--).
> 
> I think I miss something, but i'm stuck for now, if someone has any idea...

You can find out at which point in your config file this error occurs by
adding "config" level debug with -d 16448 (that's your 16384 + 64).

Regards,
Jonathan
-- 
Jonathan Clarke

Open Source Software Assurance (OSSA) - Groupe LINAGORA
27 rue de Berri, 75008 Paris
TÃl: 01 58 18 68 28, fax: 01 58 18 68 29
http://www.linagora.com - http://www.08000linux.com