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

Re: ACL Stuff and changing passwords



On Wed, 27 Sep 2000, Joseph Hoot wrote:

> 2) What is the best way to change a users password?  ldappasswd or ldapmodify?
> 
> 3) If I try to use ldappasswd with user "jhoot" , for example, the ldap server
> denies this user from changing his password.  The command I used is the
> following:
> 
> [jhoot@elmer jhoot]$ ldappasswd -t uid=jhoot,ou=people,dc=nowcom,dc=com -H md5
> New password:
> Re-enter new password:
> ldap_modify: Insufficient access
> 
> If I use ldappasswd in the same manner and add "-D cn=manager,dc=nowcom,dc=com
> -W" then I can enter the rootdn password and it works.

Right. You want to change a password while being anonymous. Use the -D
option and set your own DN.

Hugo.

-- 
Hugo van der Kooij; Oranje Nassaustraat 16; 3155 VJ  Maasland
hvdkooij@caiw.nl	http://home.kabelfoon.nl/~hvdkooij/
--------------------------------------------------------------
Quoting this tagline is illegal! (http://www.dtcc.edu/cs/rfc1855.html)