×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Are you using the full directory path of the logon user when passing it
to ldap_simple_bind_s?

Example: 
D my_DNuser       C                   const('cn=myUserID,ou=resources
-
D
,ou=corporate,dc=us,dc=mydc,dc=com')
D my_DNuserPswd   C                   const('mypassword') 

c                   eval      myRetCode = ldap_simple_bind_s(ldap_id
c                                :my_DNuser :my_DNuserPswd)           


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Cassidy, Alan
Sent: Thursday, July 06, 2006 11:51 AM
To: RPG programming on the AS400 / iSeries
Subject: RE: LDAP connections to the proper server, and unknown error??

I've been doing that..

For
ldap_simple_bind_s()
I get "Invalid credentials". 


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

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