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

ACL problem



Hi
I am new and probably I am facing a very basic error

I am tring to create an admin for a subset

I create this ldif
dn: cn=mmmm,dc=test,dc=xx
cn: mmmm
sn: mmmm
objectClass: person
objectClass: top
userPassword: test

then on sladp.conf

...
access to dn.subtree="ou=people,dc=test,dc=xx"
        by dn="cn=mmmm,dc=test,dc=xx" write
        by * read
...

Restarted ldap

ldapsearch -x  -D "cn=mmmm,dc=test,dc=xx" -W '(objectclass=*)'
ldap_bind: Invalid credentials (49)

What am I do wrong?