Problem:
Whenever running the command:
adquery group <group name>
Not all users are showing in the user output.
The adquery group command populates members with UNIX user profiles associated with them. This command does not get the group membership information directly from Active Directory unless -a is specified in the command.
Cause:
This can occur if the user does not have a UNIX profile associated to them or if a duplicate profile has been created for the user.
Solution:
- Re-create the UNIX profile for the user in Access Manager
- Run an LDAP search on the user SID and confirm if the user not showing up is duplicated by looking for the following attribute:
keywords(s):altIndex:1
Example LDAP search query:
/usr/share/centrifydc/bin/ldapsearch -LLL -m -b "DC=test,DC=ocean,DC=net" "(keywords=parentLink:S-1-5-21-656016574-236263764-2381138938-80401)"