[Fedora-directory-users] How to reset admin's expired password?

Richard Megginson rmeggins at redhat.com
Thu May 10 16:46:10 UTC 2007


Ankur Agarwal wrote:
> Hi,
>  
> We have an admin user which we use to connect to LDAP management 
> console. However we have started getting error "49, password expired; 
> invalid credentials" error since yesterday.
>  
> How to make this user login again in management console?
use ldapmodify to change the passwordExpirationTime for that user to be 
far in the future.  You'll first have to use ldapsearch to find the DN 
of that user if you don't already know it.  Then
ldapmodify -D "cn=directory manager" -w password
dn: dn of user
changetype: modify
replace: passwordExpirationTime
passwordExpirationTime: 20380101000000Z

This will cause the password for that user to not expire until the year 
2038.
>  
> regards,
> Ankur
>
> ------------------------------------------------------------------------
> Ahhh...imagining that irresistible "new car" smell?
> Check out new cars at Yahoo! Autos. 
> <http://us.rd.yahoo.com/evt=48245/*http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE1YW1jcXJ2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3LWNhcnM-> 
>
> ------------------------------------------------------------------------
>
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-users/attachments/20070510/953f7144/attachment.bin>


More information about the Fedora-directory-users mailing list