My Oracle Support Banner

Problem with the Paged Search in OID 11g (11.1.1.1.0 through 11.1.1.3.0) (Doc ID 1279706.1)

Last updated on AUGUST 17, 2021

Applies to:

Oracle Internet Directory - Version 11.1.1 to 11.1.1.3.0 [Release 11g]
Information in this document applies to any platform.

Symptoms

ldapsearch with option -j (Used to set paging for search) returning with wrong result.

Test Case:

Case:1
Without -j option
ldapsearch -h <hostname> -p <port> -D 'cn=orcladmin' -w <passwd> -b 'cn=users,<realm>' -s sub 'objectclass=*' dn
It lists all entries from cn=users container

case-2
with -j 10 option
> ldapsearch -h <hostname> -p <port> -j 10 -D 'cn=orcladmin' -w <passwd> -b 'cn=users,<realm>' -s sub 'objectclass=*' dn
No entry is listed

Case-3
with -j 100 option
> ldapsearch -h <hostname> -p <port> -j 100 -D 'cn=orcladmin' -w <passwd> -b 'cn=users,<realm>' -s sub 'objectclass=*' dn
Only one entry listed.

Result for each -j option is wrong as well varies with -j option value.

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.