[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
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)
{
ldap_perror(ld, "ldap_bind_s");
}
all authentication succeed if the good password is given (no core file
created), then all is well working...
is someone could help me?
begin:vcard
n:verdon;pierre-yves
x-mozilla-html:FALSE
org:iut vannes
adr:;;;;;;
version:2.1
email;internet:verdon@iu-vannes.fr
title:assistant ingénieur
x-mozilla-cpt:;0
fn:pierre-yves verdon
end:vcard