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-2407: adedit script for a list of computer roles in a given zone and determining the computers AD group

Centrify DirectControl ,  

12 April,16 at 11:08 AM

Question:
 
Is it possible to create an adedit script that presents a list of computer roles in the selected zone and determine the AD computer group used for each computer role? 
 
Answer:
 
Use the following code.
 
slz CN=Global,CN=Zones,OU=Unix,DC=centrifyimage,DC=vms
>get_child_zones -crole
{CN=Global,CN=Zones,OU=Unix,DC=centrifyimage,DC=vms/Apache Servers} {CN=Global,CN=Zones,OU=Unix,DC=centrifyimage,DC=vms/Oracle Servers}
#SELECT COMPUTER ROLE
>slz "CN=Global,CN=Zones,OU=Unix,DC=centrifyimage,DC=vms/Apache Servers"
#GET COMPUTERS ATTRIBUTE FROM COMPUTER ROLE
>gzf computers
Apache-Servers@centrifyimage.vms

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

Related Articles

No related Articles