[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Problem changing passwords after import
Rick Tautin wrote:
> I am having a problem changing a password after I import the user
> into ldap. But once I change the users password with the manager
> account it works fine. I have pasted the output below and what my
> slapd.conf file looks like.
>
>
> access to attrs=userPassword by self write by * auth access to * by *
> read
>
> and here is the command that I am entering
>
> ldappasswd -x -D
> "uid=user1,ou=users,ou=employees,ou=users,dc=example,dc=com" -w
> rt#12345 -s tt#12345
> "uid=user1,ou=users,ou=employees,ou=users,dc=example,dc=com"
> ldap_bind: Invalid credentials (49)
>
> when I change the password as manager
>
> ldappasswd -x -D "cn=manager,dc=example,dc=com" -W -s js#12345
> "uid=user1,ou=users,ou=employees,ou=users,dc=example,dc=com" Enter
> LDAP Password: Result: Success (0)
>
> Now I can change it as the user
>
> ldappasswd -x -D
> "uid=user1,ou=users,ou=employees,ou=users,dc=example,dc=com" -w
> js#12345 -s tt#12345
> "uid=user1,ou=users,ou=employees,ou=users,dc=example,dc=com" Result:
> Success (0)
Does the user initially have a password? How is it set? How do you
know that password is "rt#12345"?
p.
Ing. Pierangelo Masarati
OpenLDAP Core Team
SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
---------------------------------------
Office: +39 02 23998309
Mobile: +39 333 4963172
Email: pierangelo.masarati@sys-net.it
---------------------------------------