What are some valid examples of LDAP filters in ldapsearch to pull information about an ACF2 user?
Release : 15.1
Component : LDAP Server for z/OS
Here are some examples of valid filters using an ldapsearch call in order to pull LID information from ACF2. The filter portions are highlighted.
ldapsearch -x -D cn=USER01 -w xxxxxx -h HOST -p 389 -s base -b \
"acf2lid=USER01,acf2admingrp=lids,host=HOST, \
o=ORG,c=us" "(objectclass=*)"
ldapsearch -x -D cn=USER01 -w xxxxxx -h HOST -p 389 -s base -b \
"acf2lid=USER01,acf2admingrp=lids,host=HOST, \
o=ORG,c=us" "(objectclass=acf2lid)"
ldapsearch -x -D cn=USER01 -w xxxxxx -h HOST -p 389 -s base -b \
"acf2lid=USER01,acf2admingrp=lids,host=HOST, \
o=ORG,c=us" "(&(acf2lid=USER01)(objectclass=acf2lid))"
ldapsearch -x -D cn=USER01 -w xxxxxx -h HOST -p 389 -s one -b \
"acf2admingrp=lids,host=HOST,o=ORG,c=us" \
"(&(acf2lid=USER02)(objectclass=acf2lid))"