Hi Team,

We are working on migration of nsldap C sdk to OpenLDAP C sdk for our
application client code.

We are using OpenLDAP 2.6.7.

As part of this migration, we are facing one issue related to Decoding
Error while making ldap_search_ext_s API under load.

OpenLDAP C SDK API ldap_search_ext_s is giving -4 : Decoding error when we
are making a search call to LDAP server (with SSL and without SSL) under
load with multi threading.

Here are few log messages related to -4: decoding error

[10052/17636][ERROR]Error# '-4' during search: 'error: Decoding error'
Search Query = '(cn=user1)' for server 'ldapserver1:10001'

[10052/15624][ERROR]Error# '-4' during search: 'error: Decoding error'
Search Query = '(cn=user2)' for server 'ldapserver1:10001'

When we run the same load with NSLDAP, we are not getting any Decoding
errors. Whenever we switch to OpenLDAP APIs and run the load, we are
getting Decoding errors for few transactions under the load.

Could you please look into this and provide any solution available for this
issue?

Thank you.

-- 
Thanks,
*c.venugopal*

Reply via email to