Rob,
I have been told our Domino version is not set up to serve up ldap.
Do you know any other way? Is there a file on the IFS that holds the email 
addresses configured in Domino.
Thank you,
Doug
From:   "Rob Berendt" <rob@xxxxxxxxx>
To:     "Lotus Domino on the IBM i (AS/400 and iSeries)" 
<domino400@xxxxxxxxxxxxxxxxxx>
Date:   02/03/2021 07:30 AM
Subject:        RE: Email address verification
Sent by:        "Domino400" <domino400-bounces@xxxxxxxxxxxxxxxxxx>
Do you know how to do a ldapsearch?
Do you know how to configure Domino to serve up ldap?
For example:
QSH
ldapsearch -h ldap01.corp.dekko.com -s one "mail=rob@xxxxxxxxx"
returns:
ldapsearch -h ldap01.corp.dekko.com -s one "mail=rob@xxxxxxxxx" 
  CN=Rob Berendt,O=DEKKO 
  cn=Rob Berendt 
  cn=rberendt 
 ...
  mail=rob@xxxxxxxxx 
...
You could try this:
QSH CMD('ldapsearch -h ldap01.corp.dekko.com -s one "mail=rob@xxxxxxxxx" > 
/home/ROB/ldapout.txt')
DSPF '/home/ROB/ldapout.txt' 
Don't try the following in STRSQL, try it in iACS Run SQL Scripts instead.
SELECT * FROM TABLE(QSYS2.IFS_READ( 
                     PATH_NAME => '/home/ROB/ldapout.txt'
                     ))
               where upper (line) like ('CN=%')
                 or line like('mail=%')
;
Rob Berendt
As an Amazon Associate we earn from qualifying purchases.