Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

Your Answer


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.