[389-users] admin password expired ??

Rich Megginson rmeggins at redhat.com
Mon Jul 11 13:27:09 UTC 2011


On 07/11/2011 03:39 AM, Gioachino Bartolotta wrote:
> Hi all,
>
> I set up the password policies on the 389 directory server, and now it
> happens that when I try to log in as admin, it says "Password
> expired".
>
> How it's possible? The admin user is the one setup for management with
> the 389 console ....
This shows you how to get the DN of the admin user:
http://docs.redhat.com/docs/en-US/Red_Hat_Directory_Server/8.2/html-single/Using_the_Admin_Server/index.html#Administration_Server_Configuration-Access_Settings

Here is an example of how to set the password expiration so that it does 
not expire:
ldapmodify -x -D "cn=directory manager" -W <<EOF
dn: <the dn of the admin user>
changetype: modify
replace: passwordExpirationTime
passwordExpirationTime: 20380119031407Z
EOF
>
> Please help!




More information about the 389-users mailing list