On 5/1/05 9:41 pm, NYARLATHOTEP El Caos Reptante
<[EMAIL PROTECTED]> wrote:

> If i do the same using the Manager dn, the script works right!!!!
> ($dn="cn=Manager,dc=misitio,dc=cl")
> 
> what about my slapd.conf file????
> 
> look:
> access to attr=userPassword
>     by self write
>     by anonymous auth
>     by * none
> access to *
>     by dn.base="cn=Manager,dc=misitio,dc=cl" write

I don't know how OpenLDAP's access controls work, but in other servers you
have to allow users to modify their *entries* as well as modifying any
attributes in their entry. So maybe you need to add something like "by self
write" to the "access to *" section?

You could also try changing a password using one of the OpenLDAP tools (not
ldappasswd, because that doesn't use a modify operation). If that works when
you bind as yourself, then you know that access controls aren't the problem
:-)

Cheers,

Chris


Reply via email to