[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
AW: adding first entry
> database ldbm
> suffix "dc=ecrc,dc=de"
> rootdn "cn=admin,dc=ecrc,dc=de" <---------------------
> rootpw test
> # The database directory MUST exist prior to running slapd AND
> # should only be accessable by the slapd/tools. Mode 700 recommended.
> directory /opt/local/var/openldap-ldbm
> # Indices to maintain
> #index pres, eq
> index objectClass pres,eq
>
> access to attr=userPassword
> by self write
> by anonymous auth
> by dn="cn=admin,dc=ecrc,de=de" write <--------------------
> by * none
>
> access to *
> by * write
> by dn="cn=admin,dc=ecrc,dc=de" write <--------------------
>
--- snip ---
> ldapadd -x -v -D "cn=admin,dc=ecrc,de=de" -W -f entries.ldif <----
look at the arrows, don't you think, that the four DN's should match? ;)
(dc / de)
besides, i would suggest to define the ACL's before defining the backends.
(i'm not sure at the moment wether this makes a difference or not..) just
beyond the comment that says 'Define global ACLs to disable default read
access.' :o)
regards
daniel
_________________________________________
Tiefnig Daniel
Server-Technology
INFONOVA IT GesmbH