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

Re: new options of ldappasswd ????



Quoting "Zamangoer, Ferruh" <ferruh.zamangoer@materna.de>:

> Hi all,
> 
> can anybody help me. I want to use the ldpapasswd command to change the
> password of an existing user.
> How can i specify the user for which to change the password: 
> 
> In openldap v1.2 is the option to specify -t 
> 
> but which is the similar option in Openldap 2.0.23  
> 
> Thanks for your help.
> 
> Regards 
> Ferruh Zamangoer
> 


I use two formats

ldappassword -x -D 'cn=Manager,o=yourdomain.com' -w yourrootpassword \
-s newuserpassword 'uid=user,ou=people,o=yourdomain.com'

with a acl that allows users to change their passwords like:

access to attr=userPassword
         by self write
I use

ldappassword -x -D 'uid=user,ou=people,o=yourdomain.com' \
-w OLDusrpassword -s newusrpassword 

Hope this helps,

ed

-------------------------------------------------