[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
ldap_perror give "Success" message!!
Hello everyone,
I wrote a small program to access openLDAP server, but when I try to run
it it gives an error, and when I used "ldap_perror" to show the error
message it gave me "Success", is this a bug or I am doing something
wrong, I tried to search the archive but couldn't find anything realted.
This is the part that gave me the error:
---------------------------------------------
e=ldap_first_entry(ld, result);
if (e == NULL) {
ldap_perror(ld,"ldap_first_entry");
return -1;
}
---------------------------------------------
Thanks
- rayed