Issue
Behavior: Configured LDAP server account unlocked. LDAP Source account in sys_user table not being unlocked after sync from configured LDAP Server.
Cause
Out of the box User onBefore Transform Script is commented out:
"...
//Optional: Reactivate and unlock the user account
// target.active = true;
//target.locked_out = ctrl.substr(-2, 1) == "1";
..."
Resolution
Need to uncomment out of the box User onBefore transform script, onBefore Transform Script:
"...
//Optional: Reactivate and unlock the user account
target.active = true;
target.locked_out = ctrl.substr(-2, 1) == "1";
..."