× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Can you post the code up the point you does the binding? As far as I
know, you should not ignore the error code returned from the binding
api. The search api is the one that you can ignore the operation error
on. Also, even if you ignore this search api returned error code, you
code should still need to make sure the returned result set pointer is
not *null before continue on.

"David Lucas" <dblucas@xxxxxxxxxxx> wrote in message
news:<mailman.4956.1226977655.13295.rpg400-l@xxxxxxxxxxxx>...
I looked at all of the old posts
and tried searching and ignoring the
API error but still got Operations Error.

I tried at least 20 different decorations
and still the bind failed.

Thanks for your post.


-Dave


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Luc.PITTOORS@xxxxxxx
Sent: Saturday, November 15, 2008 2:05 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: RE: Active Directory accessed via RPG Issue.

Hi,

You might take a look at the archives way back in 2005:

"Ldap search - operations error"

I always got an "operations error" in my LDAP-routine
(and in fact I still do).

Only, as I mentioned in the last post at that time:

<quote>
rather stupid :

Instead of quitting the routine on the 'Operations Error' of the
ldap_search_st API,
I just ignored the error and let the procedure continue ...

and the bloody thing works without a problem .
</quote>


We ignore the API-error,
And all our searches give just what they have to ...

Hth
Luc





date: Sat, 15 Nov 2008 6:45:26 -0800
from: <dblucas@xxxxxxxxxxx>
subject: Active Directory accessed via RPG Issue.

I have read all of the posts using the LDAP C module from Scott. (RPG)
The code worked great against an LDAP Server (Anonymously only)

Now going against a true Active Directory it fails. (Operations error)

I have the correct BaseDN. I have used an LDAP Browser successfully.
Using the same credentials in RPG I fails in the bind. (synchronous)

I have performed 10 different decorations for the username
and each fails....

I did read it may have something to do with order sensitive
authentication.

I have tried many things and so far it has fails.

Any luck for anyone...

Thanks

DBL
dblucas@xxxxxxxxxxx

--
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.

No virus found in this incoming message.
Checked by AVG.
Version: 7.5.549 / Virus Database: 270.9.4/1795 - Release Date:
11/17/2008
5:24 PM


No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.549 / Virus Database: 270.9.4/1795 - Release Date:
11/17/2008
5:24 PM



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-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.