LDAP password auth - only first 1000 users are searched against
#2359 aperta il 28 dic 2019
Metriche repository
- Star
- (9113 star)
- Metriche merge PR
- (Merge medio 5g 9h) (306 PR mergiate in 30 g)
Descrizione
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