SSSD Obtain AD Group members
Previously I was using Centrify and could run this command 'adquery group |grep -i db2_test_nolas |cut -d":" -f1' which would give me a listing of all users in all the db2_test_nolas AD groups. When I look in the LDAP browser I have 6 AD groups that start with DB2_TEST_NOLAS.
I am trying to setup a similar action using SSSD and eliminating Centrify but can't get anything nailed down. Tried using ldapsearch but can't seem to get the | cut -d":" -f1 to work or in the right format. The getent group is more what I believe I am after but cannot figure out how to make it use wildcards as I am not sure what the ending group name will be. They all start with "DB2