LDAP Connector - Search Paging

1
0
-1

I've been having trouble doing an LDAP search against all users in our Active Directory instance via the LDAP connector.

The issues is that AD, by default, only supports 1000 search results. I've dug into the code here:

https://github.com/bonitasoft/bonita-connector-ldap/blob/master/src/main/java/org/bonitasoft/connectors/ldap/LdapConnector.java

...and there's no paging logic at all.

Has anyone modified the existing LDAP Connector to implement paging (or have some other workaround)? Just asking before I get my hands dirty.

2 answers

1
0
-1
This one is the BEST answer!

1
0
-1

Hi Andrew,

I am not sure but it looks after reading the code that there is size limit but not paginated calls. If that is the case, you can implement it with a multi-instantiated task in sequence or a loop task that retrieve the elements.

Anyway, if at the end you evolve the LDAP connector, feel free to contribute it with Pull Request (https://github.com/bonitasoft/bonita-connector-ldap )! We will apreciate !!

Cheers

Comments

Submitted by andrew.brock on Fri, 05/22/2020 - 00:53
Notifications