How to increase buffer space for a Ldap Search in Java

Viewed 57

I have written a program in JAVA which does an LDAP search using the given filter and if the filter is too big I am getting insufficient buffer error

[LDAP: error code 80 - NDS error: insufficient buffer (-649)];

Is there any way to increase the buffer size. I have tried updating buffer size using connectionProperties.put("javax.security.sasl.maxbuffer", 2000000); but it doesn't work

The code I am using is in this question How to improve performance of LDAP Search Filter for User Hierarchy

0 Answers
Related