"LDAP: Error Code 4 - sizelimit exceeded" using ForkJoin Plugin

(Doc ID 1548108.1)

Last updated on AUGUST 26, 2017

Applies to:

Oracle Virtual Directory - Version to
Information in this document applies to any platform.


 When using forkjoin plugin, "LDAP: error code 4 - Sizelimit Exceeded" could be returned even if the number of entries that should be returned is less than the size limit defined


 Steps to reproduce the issue:


1. Create two ldap adapters and one Join adapter with ForkJoin plugin

2. Execute a ldapsearch with size limit similar to:

ldapsearch -p 6501 -D cn=orcladmin -w welcome1 -z 1 -s sub -b "cn=Users,dc=testjoin,dc=us,dc=oracle,dc=com" "(&(objectclass=person)(uid=stiger*))"

ldap_search: Sizelimit exceeded
ldap_search: additional info: [LDAP: error code 4 - Sizelimit Exceeded]


If flag -z is set to a higher value then the ldapsearch returns the correct result:


ldapsearch -p 6501 -D cn=orcladmin -w welcome1 -z 7 -s sub -b "cn=Users,dc=testjoin,dc=us,dc=oracle,dc=com" "(&(objectclass=person)(uid=stiger*))"

vdejoindn: testoid2:cn=Scott,cn=Users,dc=oid2,dc=us,dc=oracle,dc=com
cn: Scott
uid: stiger
description: Testing User
orclsamaccountname: stiger
sn: Tiger
mail: stiger@oracle.com
givenname: Tiger
userpassword: {SSHA}HdGbDaDnxwefI1X2ckMikYzbmszw7gqME5wcyA==
objectclass: top
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
objectclass: orclUser
objectclass: orclUserV2


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms