Finding out if an LDAP user is blocked in Sun Directory Server 5.2, in Java

I am developing an application using Java, Tomcat, Spring Framework and Spring LDAP 1.2.1 to access LDAP.

According to our LDAP administrator, it is impossible to find out programmatically if a specific user is locked in a directory - the user simply does not return. This makes life difficult for me because I need to identify blocked users.

Is our administrator correct, or is it possible to somehow find out if a particular user is blocked? If so, how?

+3
source share
2 answers

: , nsaccountlock, . , .

+3

passwordretryount , . , LDAP 3 . 3 , paswordretrycount 3. 0 , .

+2

Source: https://habr.com/ru/post/1699412/


All Articles