Ipa User-unlock Access
Use ipa user-show username --all to check the krbPasswordExpiration attribute.
If a user is repeatedly locked out, check the system logs. They might have a stale password saved in a background service, a mobile device, or a mounted drive that is constantly hammering the server with old credentials. ipa user-unlock
If you run the command and see a message stating the user is not locked, but they still cannot log in, the issue is likely not a lockout. Check for: Use ipa user-show username --all to check the
This command clears the krbLoginFailedCount and krbLastFailedAuth attributes in the user's LDAP entry, effectively resetting the failure counter to zero. Troubleshooting Common Issues "User is not locked" If you run the command and see a
The syntax is straightforward. Replace username with the actual UID of the locked user: ipa user-unlock username Use code with caution.