Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >

KB-3168: adquery not seeing group membership

Authentication Service ,  

12 April,16 at 11:09 AM

Applies to: All versions of Centrify DirectControl
A user test_user has membership in group UNIX-CompChem-U and can be confirmed with an ldapsearch
However adquery does not show the group (indicating that adclient doesn't recognize it). 
This was noticed on multiple systems as the user needs membership in that group in order to gain access to these hosts via the pam.allow.groups setting:
user@servername:$ /usr/share/centrifydc/bin/ldapsearch -E pr=1000/noprompt -s sub -r -LLL -Q -H ldap:// -b $(adquery user -D test_user) memberOf 
dn: CN=test_user,OU=CEW,OU=User,OU=Accounts,DC=amer,DC=yourcompany,DC=com 
memberOf: CN=GBL-NON-COLLEAGUES-U,OU=CVW,OU=Security,OU=Groups,DC=amer,DC=yourcompany,DC=com 
memberOf: CN=GBL-NON-COLLEAGUES-U,OU=GVW,OU=Security,OU=Groups,DC=amer,DC=yourcompany,DC=com 
memberOf: CN=DL-CAM-200CPD Contractors,OU=CEW,OU=Security,OU=Groups,DC=amer,DC=yourcompany,DC=com 
memberOf: CN=UNIX-CompChem-U,OU=global,OU=Groups,OU=UNIX,DC=amer,DC=yourcompany,DC=com 
memberOf: CN=DL-WWMC CAM All,OU=GRO,OU=Distribution,OU=Groups,DC=amer,DC=yourcompany,DC=com 
memberOf: CN=CEW-DMSStandardUsers01-G,OU=CEW,OU=Security,OU=Groups,DC=amer,DC=yourcompany,DC=com
user@servername:$ adquery user -a test_user CAM All Meeting-R-L Excellence-R-L Users 

The AD group in question (UNIX-CompChem-U) was created as a Distribution Group which has never been supported by Centrify. Only Security Groups are supported.
Note: Centrify's Zone Provisioning Agent does support Distribution Groups (for provisioning users only).