Is There Any Sample Ldapsearch Command To List CA ACF2 LOGONIDs that start with A Specific character or set of characters?


Article ID: 50582


Updated On:


CA ACF2 CA ACF2 - DB2 Option CA ACF2 for zVM CA ACF2 - z/OS CA ACF2 - MISC CA-24X7 High-Availability Manager for DB2 for z/OS CA-Batch Processor Compile QQF CA Data Compressor for DB2 for z/OS Data Navigator for DB2 UDB for z/OS CA-DB Delivery for DB2 CA Unicenter NSM CA Log Compress DBA for DB2 Guide Online CA InfoRefiner Advantage InfoRefiner Advantage InfoRefiner Maint Upgrade CA InfoTransport Advantage InfoTransport Maint Upgrade Online Reorg for DB2 for z/OS CA RC/Update for DB2 for z/OS Query Analyzer RI Editor for DB2 for z/OS DB2 TOOLS- DATABASE MISC CA PanApt CA PanAudit



Here is a sample LDAPSEARCH command to list CA ACF2 LOGONIDs which start with a specific character or group of characters.


Here's a sample LDAPSEARCH command to list LOGONIDs whose logonid starts with H (as an example).

ldapsearch -x -D cn=admuser -w admpswd -h hostname -p 389 -s one -b "acf2admingrp=lids,host=xxxx,o=yyy,c=zz" (acf2lid=H*).

If you wanted to check for a few characters you could change the value of ACFLID= to (for example) ACFLID=HIJ* - which will show all logonids that begin HIJ

You can see other sample ldapsearch commands for various cases in the pages for Sample CA LDAP Server Search Commands in the chapter for CAACF2_UTF Back-end in CA LDAP Server for z/OS Product Guide.


Component: ACFLDP