abstract:
The simple_bind_s - function was successful ("..." is replaced by a user and a password). Does somebody has an idea how to avoid the error code and get (or set) an option?
Hello,
the function ldap_get_option always returns the error code res=0x59 (LDAP_PARAM_ERROR=A bad parameter was passed to a routine) The code looks the following:
int value, res;
LDAP *pLDAP;
pLDAP = ldap_init(NULL,LDAP_PORT);
ldap_simple_bind_s(pLDAP, "...", "...");
res = ldap_get_option(pLDAP, LDAP_OPT_SIZELIMIT, &value);
The simple_bind_s - function was successful ("..." is replaced by a user and a password). Does somebody has an idea how to avoid the error code and get (or set) an option? |