OUD CPU will be overloaded by LDAP search with many nests in the filter

(Doc ID 2403991.1)

Last updated on JUNE 28, 2018

Applies to:

Oracle Unified Directory - Version 11.1.2.3.0 and later
Information in this document applies to any platform.

Goal

OUD CPU will be overloaded by LDAP search with many nests in the filter as following.

/usr/bin/ldapsearch -x -h <hostname> -p <LDAP port> -D 'cn=Directory Manager' -w <password> -b "ou=users,dc=example,dc=com" -s one "(&(|(employeeNumber=test1)(|(employeeNumber=test2)(|(employeeNumber=test3)(|(employeeNumber=test4)(|(employeeNumber=test5)(|(employeeNumber=test6)(|(employeeNumber=test7)(|(employeeNumber=test8)(|(employeeNumber=test9)(|(employeeNumber=test10)(|(employeeNumber=test11)(|(employeeNumber=test12)(|(employeeNumber=test13)(|(employeeNumber=test14)(|(employeeNumber=test15)(|(employeeNumber=test16)(|(employeeNumber=test17)(|(employeeNumber=test18)(|(employeeNumber=test19)(|(employeeNumber=test20)(|(employeeNumber=test21)(|(employeeNumber=test22)(|(employeeNumber=test23)(|(employeeNumber=test24)(|(employeeNumber=test25)(|(employeeNumber=test26)(|(employeeNumber=test27)(|(employeeNumber=test28)(|(employeeNumber=test29)(|(employeeNumber=test30)(|(employeeNumber=test31)(|(employeeNumber=test32)(|(employeeNumber=test33)(|(employeeNumber=test34)(|(employeeNumber=test35)(|(employeeNumber=test36)(|(employeeNumber=test37)(|(employeeNumber=test38)(|(employeeNumber=test39)(|(employeeNumber=test40)(|(employeeNumber=test41)(|(employeeNumber=test42)(|(employeeNumber=test43)(|(employeeNumber=test44)(|(employeeNumber=test45)(|(employeeNumber=test46)(|(employeeNumber=test47)(|(employeeNumber=test48)(|(employeeNumber=test49)(|(employeeNumber=test50)(|(employeeNumber=test51)(|(employeeNumber=test52)(|(employeeNumber=test53)(|(employeeNumber=test54)(|(employeeNumber=test55)(|(employeeNumber=test56)(|(employeeNumber=test57))))))))))))))))))))))))))))))))))))))))))))))))))))))))))(cn=*))" attrs="ALL"

 

Solution

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