According to doc, ldap_search does not return the result pointer, you
need to call ldap_result next.

You might want to try to use ldap_search_st instead.  The
ldap_first_entry requires the result pointer that returned from
ldap_search_st.  

 

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Cassidy, Alan
Sent: Wednesday, July 05, 2006 11:28 AM
To: RPG programming on the AS400 / iSeries
Cc: Midrange Systems Technical Discussion; c400-L@xxxxxxxxxxxx
Subject: RE: LDAP connections to the proper server, and unknown error??

ldap_search     PR            10I 0 ExtProc('ldap_search')  
  ld                            *   value                   
  base                          *   value options(*string)  
  scope                       10I 0 value                   
  filter                        *   value options(*string)  
  attrs                         *   value                   
  attrsonly                   10I 0 value                   

--Alan

--


This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].