|
What error are you getting? You should be able to do below to retrieve the error: Rc = ldap_get_errno(ldap_id) -----Original Message----- From: rpg400-l-bounces+lim.hock-chai=usamobility.com@xxxxxxxxxxxx [mailto:rpg400-l-bounces+lim.hock-chai=usamobility.com@xxxxxxxxxxxx] On Behalf Of Cassidy, Alan Sent: Thursday, July 06, 2006 10:24 AM To: RPG programming on the AS400 / iSeries Subject: RE: LDAP connections to the proper server, and unknown error?? So while there is progress, on a first debug walk-through, I get the LDAP_PROTOCOL_ERROR (=2) returned for ldap_search() but then no error on ldap_search_st(). On the ldap_search_st() it returned an actual non-null pointer for the *result parameter. But then it gave me *NULL for the ldap_first_entry().
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.