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

error while performing ldap_search_s




Hi,

For some reason I have been able to connect to an ldap server (ldap_open) returning ld->ld_errno = 0, but when I try to perform a ldap_search_s operation it returns ld->ld_errno = 81 (Can't contact LDAP server).
If I attempt to a ldap_search (asynchronous) it also works but if I call ldap_result right after it the ld->ld_errno returning value is 81.


I am assuming it might have something to do with LDAPMessage. Do you have any thoughts about it?

Thanks a lot!
Guille