Re: How to reset admin's expired password?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux