Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have enabled OpenLDAP password policy overlay and account lockout is now working fine. On 5 authentication failures the account is getting locked out. On resetting the password the account becomes open again. Any way to unlock it other than resetting the password.

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Set pwdLockoutDuration attribute to some amount; the value is in seconds. I think that by default it is 0 (infinite).

Unlock the account manually without need for resetting the password by removing the operational attribute pwdAccountLockedTime.

share|improve this answer
    
and if I want to unlock it immediatly ? –  nitins Nov 30 '11 at 5:52
    
Added that, too. –  Janne Pikkarainen Nov 30 '11 at 6:10
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.