Hello Erik,
For this type of processing, the AD can be attacked directly with LDAP functions as Robert points out.
These functions are available in RPG IV and they work fine.
The first difficulty is to have the prototypes of these functions. You can find them here (by Scott Klement).
The second is, depending on what you want to do, to manage the many nested loops and pointers in quantity.
What you ask for is still quite simple because it is a question of making a connection to check if the AD account / password pair is correct. A ldap_init followed by a ldap_simple_bind_s should be enough. These are two very simple functions.
Then you will finish with a ldap_unbind to properly close the connection.
------------------------------
Dominique Gayte
------------------------------