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  >
article

KB-7827: How to generate report of each computers license type

Centrify DirectControl ,  

7 March,17 at 08:13 PM

Applies to: 
Centrify Direct Control on all supported Unix/Linux platforms.

How to: 
How to generate a report of each computers license type?

Answer: 

Disclaimer: This ldapsearch is provided as a courtesy and may need further refinement. 

The LicenseType information is saved in Active Directory. This field is located under the postalAddress of the computer object. The following ldapsearch is to be ran as root from a linux/unix computer. Replace <
dc=centrifyimage,dc=vms> with your domain information.

Ldapsearch:
/usr/share/centrifydc/bin/ldapsearch -m -H ldap:// -b "dc=centrifyimage,dc=vms" "(objectClass=Computer)" postalAddress | grep -E "dn|LicenseType"

Sample Output:
dn: CN=Oracle,OU=Workstations,DC=centrifyimage,DC=vms
postalAddress: LicenseType:Server
dn: CN=redhat7,OU=Workstations,DC=centrifyimage,DC=vms
postalAddress: LicenseType:server


Additional Resources:
1. KB-6040: How to change the license type in use after adclient successful joined to the AD
2. KB-6041: How to show current license type in use by adclient


Please note:
The Deployment Report included with the 2017 release will identify the systems and what license type is in use on each. 

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.