Actions
Task #2278
closedAD connector - set default pageSize
Start date:
05/28/2020
Due date:
% Done:
100%
Estimated time:
Owner:
Description
The connector has the configuration property pageSize which is used for paging the results. The default value is 0, which doesn't make sense, because the searching and getting results doesn't work.
Please set the default value to e.g. 100 (which is mentioned in https://wiki.czechidm.com/tutorial/adm/manage_ad).
Exception which is returned when pageSize is 0:
java.lang.IllegalArgumentException at com.sun.jndi.ldap.ctl.VirtualListViewControl.<init>(VirtualListViewControl.java:177) at net.tirasa.connid.bundles.ad.search.ADVlvIndexSearchStrategy.searchBaseDN(ADVlvIndexSearchStrategy.java:134) at net.tirasa.connid.bundles.ad.search.ADVlvIndexSearchStrategy.doSearch(ADVlvIndexSearchStrategy.java:105) at net.tirasa.connid.bundles.ldap.search.LdapInternalSearch.execute(LdapInternalSearch.java:67) at net.tirasa.connid.bundles.ad.search.ADSearch.executeADQuery(ADSearch.java:110) at net.tirasa.connid.bundles.ad.ADConnector.executeQuery(ADConnector.java:137) at net.tirasa.connid.bundles.ad.ADConnector.executeQuery(ADConnector.java:57) at org.identityconnectors.framework.impl.api.local.operations.SearchImpl.rawSearch(SearchImpl.java:171) at org.identityconnectors.framework.impl.api.local.operations.SearchImpl.search(SearchImpl.java:130)
Updated by Roman Kučera over 4 years ago
- Assignee set to Roman Kučera
- Target version set to version 1.0.5
Updated by Roman Kučera over 4 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 80
Implemented in AD connector in branch - https://github.com/bcvsolutions/ad-connector/commits/2278-default-pageSize
I tested it and now the default value is 100.
Updated by Petr Fišer over 4 years ago
- Project changed from winrm-ad-connector to ad-connector
- Target version deleted (
version 1.0.5)
Updated by Tomáš Doischer about 4 years ago
Code looks good, thank you for this change.
Updated by Roman Kučera about 4 years ago
- Status changed from In Progress to Closed
- % Done changed from 80 to 100
Released, closing
Actions