ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

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

book

Article ID: 50582

calendar_today

Updated On:

Products

ACF2 ACF2 - DB2 Option ACF2 for zVM ACF2 - z/OS ACF2 - MISC 24X7 High-Availability Manager for DB2 for z/OS Batch Processor Compile QQF Data Compressor for DB2 for z/OS CA Unicenter NSM RC/Update for DB2 for z/OS DB2 TOOLS- DATABASE MISC PanApt PanAudit

Issue/Introduction

Description:

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

Solution:

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.

Environment

Release:
Component: ACFLDP