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
Submitted by delphine.coille on Thu, 08/06/2020 - 16:09

Hi Andrew,

Just to let you know that your contribution has been integrated in the latest maintenance version Bonita 7.11.1: https://documentation.bonitasoft.com/bonita/7.11/release-notes#toc25

We really appreciate your contribution. Thank you!

Notifications