DBMS_LDAP - : LDAP client/server error: Sizelimit exceeded. Issue
Hi,
I was able to query for a specific user from Active directory using the below filter. But if I search for all users then it throws me this error:
ORA-31202: DBMS_LDAP: LDAP client/server error: Sizelimit exceeded.
The filter I used is:
filter=>
'(&(sAMAccountName=abc)(objectClass=user))' where I am selecting just one user with the name as 'abc'
If I modify the filter to
'(&(sAMAccountName=*)(objectClass=user))' then it throws the sizelimit exceeded error. Is there a way to avoid this error ?
Full function of the DBMS_LDAP package is below:
DBMS_LDAP.search_s(ld=>l_session,base=>l_ldap_base,scope=>DBMS_LDAP.SCOPE_SUBTREE,filter=>
I was able to query for a specific user from Active directory using the below filter. But if I search for all users then it throws me this error:
ORA-31202: DBMS_LDAP: LDAP client/server error: Sizelimit exceeded.
The filter I used is:
filter=>
'(&(sAMAccountName=abc)(objectClass=user))' where I am selecting just one user with the name as 'abc'
If I modify the filter to
'(&(sAMAccountName=*)(objectClass=user))' then it throws the sizelimit exceeded error. Is there a way to avoid this error ?
Full function of the DBMS_LDAP package is below:
DBMS_LDAP.search_s(ld=>l_session,base=>l_ldap_base,scope=>DBMS_LDAP.SCOPE_SUBTREE,filter=>
3