LDAP password auth - only first 1000 users are searched against
#2,359 opened on Dec 28, 2019
Repository metrics
- Stars
- (9,113 stars)
- PR merge metrics
- (Avg merge 5d 9h) (306 merged PRs in 30d)
Description
LDAP authentication with a search returning > 1000 results will not find some users in ActiveDirectory as only first 1000 results are returned.
https://stackoverflow.com/a/33445705/8874837 http://stackoverflow.com/a/31750628/384674 https://stackoverflow.com/questions/30567983/query-to-ad-for-unlimited-results https://stackoverflow.com/questions/58638194/how-to-fix-ldap-connection-error-javax-naming-sizelimitexceededexception-ldap https://self-learning-java-tutorial.blogspot.com/2016/06/jndi-pagination-support.html https://docs.oracle.com/javase/7/docs/api/javax/naming/ldap/PagedResultsControl.html can resolve this