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

Re: slapd runs, but nothing else works



tir, 2003-01-14 kl. 17:02 skrev Benjamin A. Collins:

> Tony, I tried the above, and still had a problem.  I dumped your ops 
> into a file called init.ldif, and ran the following: 'ldapadd -x -v -f
> init.ldif'

> The response was that I had insufficient access,

You didn't read what I wrote. Or didn't absorb it, at least.

What does it say about "-b etc"?

>  so I edited my ACL's in 
> slapd.conf.  I commented the existing ones out and put in this one:
> access to dn="" by * write

Your ACLs were fine. Go back to the original.

> and ran ldapsearch again, but still got the same errors -- at some
point 
> in the debug spew I saw a "suffix add denied".

Forget the debugging for the moment. Just read what I wrote and do it,
not what you wished that I had written. The only thing you have to worry
about, is what ldapadd (actually, you'd better use slapadd while the
server is down. That is, down if it's not Openldap 2.1.x).

Also, make sure that the perms on the database directory agree with the
slapd user.

Best,

Tony

-- 

Tony Earnshaw

When all's said and done ...
there's nothing left to say or do.

e-post:		tonni@billy.demon.nl
www:		http://www.billy.demon.nl