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



Hi Rob
I don't know much about ldap, and you don't say what release you are on - but have you looked here
https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_73/rzajq/rzajqviewuserinfo.htm
to use QSYS2.USER_INFO


Alan Shore
E-mail : ASHORE@xxxxxxxx
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
'If you're going through hell, keep going.'
Winston Churchill

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of Rob Berendt
Sent: Wednesday, September 9, 2020 9:58 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: [EXTERNAL] ldap query of IBM i

I am looking for a ldap tool, preferably gui, which I can use to point to my IBM i ldap and search it.
The goal is to be able to search users, via ldap, and get the dates for last used and last signon.
I am having an issue with IBM Security Identity Manager (ISIM) where their Reports, Audit and Security Reports, Dormant Accounts report is reporting nonsensical dates for Last Accessed Date.

I have also tried this:
QSH
ldapsearch -h gdihq.corp.dekko.com -D os400-profile=ITIM -w redacted -b "os400-sys=GDIHQ.dekko-1" -s sub objectclass=OS400-usrprf I get a list of users, but not a whole lot of attributes. For example:
os400-profile=QSECOFR,CN=ACCOUNTS,OS400-SYS=GDIHQ.DEKKO-1
OBJECTCLASS=top
OBJECTCLASS=os400-usrprf
OS400-PROFILE=QSECOFR

I tried going into http://gdihq:2001
Network, Servers, TCP/IP Servers, selecting IBM Tivoli Directory Server for IBM i This did help me with one correction on that ldapsearch command but it doesn't list the attributes returned. I'm sure there's something like ldapsearch only returns certain columns by default and I need to directly ask for others.

I can't find "Schema management", but maybe I'm starting at the wrong url?: Expand Schema management in the navigation area and click Manage attributes.
https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_74/rzahy/rzahyviewattr.htm

I'd rather try the GUI method as this is exhausting.
ldapsearch -h gdihq.corp.dekko.com -D os400-profile=ITIM -w redacted -b cn=schema -s base objectclass=* attributeTypes IBMAttributeTypes

Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600 Mail to: 7310 Innovation Blvd, Suite 104
Ft. Wayne, IN 46818
Ship to: 7310 Innovation Blvd, Dock 9C
Ft. Wayne, IN 46818
http://www.dekko.com

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.