Project

General

Profile

Actions

Task #2278

closed

AD connector - set default pageSize

Added by Alena Peterová almost 4 years ago. Updated over 3 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 #1

Updated by Roman Kučera almost 4 years ago

  • Assignee set to Roman Kučera
  • Target version set to version 1.0.5
Actions #2

Updated by Roman Kučera almost 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.

Actions #3

Updated by Petr Fišer almost 4 years ago

  • Project changed from winrm-ad-connector to ad-connector
  • Target version deleted (version 1.0.5)
Actions #4

Updated by Roman Kučera almost 4 years ago

  • Target version set to 1.3.5
Actions #5

Updated by Alena Peterová almost 4 years ago

  • Description updated (diff)
Actions #6

Updated by Tomáš Doischer over 3 years ago

Code looks good, thank you for this change.

Actions #7

Updated by Roman Kučera over 3 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 80 to 100

Released, closing

Actions

Also available in: Atom PDF