|
Luc
Part of the problem is in how your LDAP server is configured. In my
case my LDAP server is on a windows machine which is running Active
Directory.
In my case I do the following.
eval rc = ldap_simple_bind_s(ld:
LOGIN_ACCT: LOGIN_PASSWD)
Login_acct = mydomain/userid
Login_passwd = mypassword
Hope this helps.
Andrew
-----Original Message-----
From: rpg400-l-bounces+amckeown=hrblock.com@xxxxxxxxxxxx
[mailto:rpg400-l-bounces+amckeown=hrblock.com@xxxxxxxxxxxx] On Behalf Of
PITTOORS Luc
Sent: Wednesday, November 09, 2005 2:40 PM
To: 'rpg400-l@xxxxxxxxxxxx'
Subject: RE: LDAP search - operations error
Lim,
Yes, I use the full name to do the binding.
( Otherwise the bind didn't work )
Luc
message: 1
date: Wed, 9 Nov 2005 08:28:20 -0600
from: "Lim Hock-Chai" <Lim.Hock-Chai@xxxxxxxxxxxxxxx>
subject: RE: LDAP search - operations error
I've the same problem before and it was cause by me not using the full
directory path on the user ID when signing on to the server.
When executing ldap_simple_bind_s, are you using full directory path on
the userID field?
'cn=_ldapUserID,ou=resources,ou=corporate,dc=us,dc=mydomain,dc=com'
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of PITTOORS Luc
Sent: Tuesday, November 08, 2005 2:15 PM
To: 'rpg400-l@xxxxxxxxxxxx'
Subject: LDAP search - operations error
Hi,
I try to use the example routine Scott posted a while ago.
initialiasation and Binding work OK.
Ldap_search_st always gives 'Operations error' .
I tried synchronous search, but it gave the same results
I cannot find any explanation about this generic error.
any ideas ?
(we're on V5R2)
luc
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.
Note: This message, including attachments, is from H&R Block Financial Advisors,
Inc., Member NYSE, SIPC. This is not a solicitation of any order to buy or
sell. The
information contained herein is deemed to be reliable but is in no way
warranted by us as
to accuracy or completeness. Messages are monitored and retained by the
Company, but
the company cannot guarantee the security of this message. The company, and its
associates, may not accept orders to affect purchase or sale transactions,
accept funds,
securities, or similar instructions via email. If you are not the intended
recipient of this
message promptly delete this message and notify the sender of the delivery
error by
return email or calling 1.800.HRBLOCK and selecting the option for 'Financial
Services'
You may not forward, print, copy, distribute, or use the information in this
message if
you are not the intended recipient.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.