[Date Prev][Date Next]
ldap_bind_s, core file is created if wrong password
Hi, i had a little problem to write a file with the function
ldap_bind_s: if i try to bind to an ldap server (after using ldap_open),
with a wrong password, i get error and a core file is created. And
ldap_bind_s return success!!??
how should i do if i want having back an error "wrong password" or
somethings like that??
if (ldap_bind_s( ld, dn, "foobar", LDAP_AUTH_SIMPLE )!=LDAP_SUCCESS)
all authentication succeed if the good password is given (no core file
created), then all is well working...
is someone could help me?