Project

General

Profile

Actions

Task #2278

closed

AD connector - set default pageSize

Added by Alena Peterová over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Roman Kučera
Target version:
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)

Actions

Also available in: Atom PDF