delphi programming forums mysql charset mget recursive synonimos
free ventrilo servers hosting cs javascript delay python find in list
Back Forum New
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?
Author Hot threads

TOP

I tried to call the ldap_get_option function above the bind. But the reaction was the same



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?

TOP

Back Forum