0

In our application we implemented directory authentication service. i.e - Active directory or OpenLDAP. Using directory credential user can access all services of our application. But if any user disable in directory, this user not able to access any services of our application. But in openLDAP there is not any option for disable/enable user. so how to disable and enable user in open ldap and which user property can I access for identify user is disable or not? We are using unboundid-ldap-sdk.

1 Answers1

0

Use the Password policy overlay, which you should be using anyway, and set the pwdAccountLockedTime to 000001010000Z as described in the link.

user207421
  • 305,947
  • 44
  • 307
  • 483