LDAP password auth - only first 1000 users are searched against
#2.359 geöffnet am 28. Dez. 2019
Repository-Metriken
- Stars
- (9.113 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 5T 9h) (306 gemergte PRs in 30 T)
Beschreibung
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