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




Some time agone, I had a jolly good time trying to get the LDAP client
on the "i" to work to look up a current email address just to verify it
existed!

One obstacle was that there were some misleading messages returned
sometimes, like an entry wasn't there, which I subsequently found out
was just a matter of certain kinds of permissions on the AD side! Argh!
Plus, the AD techs tend to talk a Microsoft language instead of LDAP
language. (Surprise!)

It helped make some progress when we tried different things right on the
QShell command line, it's easier to try this and that, and then you get
something that works and incorporate it into your API code.

So make sure you have all the permissions from your AD guys first.

Here, I discovered they were regularly (nightly?) uploading an email
whitelist to the email provider (AT&T) so I just gave them an FTP script
to send the same file to the IFS on one of our systems, then parsed it
all out from there to a database file, and just checked that.

--Alan


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of dblucas@xxxxxxxxxxx
Sent: Monday, December 29, 2008 10:22 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: RPG Code calling C API calling Active Directory FAILURE

I have tried many code segments from various posters in this forum. I
appreciate the help. My IS department cannot figure out why the RPG
calling the LDAP C API going against AD does not work nor does the
packet get there. It works in the scenario of RPG to LDAP. There are no
port mapping or IP restrictions.

We get Operations Error every call regardless of the decoration or how
we call it. We tested the AD using an LDAP browser and the AD is fine.

Thanks for your help in this post.

Dave
--
This is the RPG programming on the IBM i / System i (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.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.