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-41205: How to add multiple connectors when using cenroll command with the resource-setting option

Privileged Access Service ,  

28 September,20 at 04:20 PM

Question:

Is it possible to provide multiple connectors using the -S (--resource-setting) option when enrolling a machine to the tenant using the cenroll command?


Answer:

Yes, it is possible to provide multiple connectors when using the -S option during the cenroll.

In the manpage for cenroll, under the -S, --resource-setting section, it says,

"Connectors:<string>,...,<string>]" Specifies the list of connectors for the computer.  The value should be a comma separated list of connector names. Each name must refer to a unique connector.

In addition to those instructions in the manpage, there are two other steps that need to be followed.

1. The Connector name should be the shortname instead of the FQDN. ie. wincdc01 instead of wincdc01.centrifyimage.vms
2. The quotes used around the "Connectors:<string>,<string>" will need to be escaped using backslashes in front of the quotes, so they are seen as quotes and not code. ie. \"Connectors:WINCDC01,WIN2016\"

This is an example of how the -S Connectors option would look with multiple connectors being specified.
 
-S \"Connectors:WINCDC01,WIN2016\"

This is an example of how a cenroll command could look like when using the -S option with multiple connectors specified.
 
cenroll -t abc0123.my.centrify.net -c ABCDEFGHIJ-1234567890KLMNOPQRSTUVWXYZPEN0YE1 -F ALL -S \"Connectors:WINCDC01,WIN2016\"

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