[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ldap_perror give "Success" message!!



But I checked the results of all ldap calls non gave any error.

- rayed


Oliver Egginger wrote:

This means that the ldap-query wasn't the thing
thats was going wrong.

- oliver


Nachricht vom Mittwoch 31 Oktober 2001 11:39:

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