I'm using the C SDK for openldap (openldap-devel rpms on redhat). I'm attempting to use the ldap_add_s call (in ldap.h) and am getting intermittent "Encoding error" return values.
Is this a problem in my mapping of C structures that I'm passing to the method call? This is an intermittent problem (ie if I add code to move around the instructions it seems to go away.)
Can someone describe what "Encoding error means?"