Is it possible to provide multiple connectors using the -S (--resource-setting)
option when enrolling a machine to the tenant using the cenroll
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.
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\"