vserver cifs domain discovered-servers discovery-mode modify
Modify Server Discovery Mode
Availability: This command is available to cluster and Vserver administrators at the advanced privilege level.
Description
The vserver cifs domain discovered-servers discovery-mode modify
command modifies the configuration for the server discovery mode of one or more Data Vservers. This option controls the way domain controllers(DCs) are discovered.
Parameters
-vserver <vserver name>
- Vserver (privilege: advanced)-
Use this parameter to specify the Vserver for which you want to modify the server discovery mode.
[-mode {all|site|none}]
- Server Discovery Mode (privilege: advanced)-
Use this parameter to specify the server discovery mode for the Vserver. Following are the possible values for this parameter:
-
all - Discover all the DCs in the domain, including the DCs local to the site. If trusted domains are present, then discover all the KDCs in the trusted domain as well, to be used for kerberos communication (default).
-
site - Discover the DCs local to the site. If trusted domains are present, then discover KDCs local to the trusted domain site as well, to be used for kerberos communication.
-
none - Discover nothing. Depend only on preferred-dc configured.
-
Examples
The following example disables server discovery for a Vserver.
cluster1::*> vserver cifs domain discovered-servers discovery-mode modify -vserver vs1 -mode none