Skip to main content
A newer release of this product is available.

vserver cifs create

Contributors
Suggest changes

Create a CIFS server

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The vserver cifs create command creates a CIFS server on a Vserver. When you create the CIFS server, you can add it to an existing CIFS domain, or you can join it to a workgroup. When you add it to an existing CIFS domain, the storage system prompts you to provide the credentials of a user account that has sufficient privileges to add computers to the -ou container within the -domain domain. The user account must have a password that cannot be empty. If the new CIFS server is joining a domain, this command might take several minutes to complete.

Note Each Vserver can have only one CIFS server.

Parameters

-vserver <vserver name> - Vserver

This parameter specifies the name of the Vserver on which to create the CIFS server. The Vserver must already exist.

-cifs-server <NetBIOS> - CIFS Server NetBIOS Name

This parameter specifies the name of the CIFS server (up to 15 characters).

{ -domain <TextNoCase> - Fully Qualified Domain Name

This parameter specifies the name of the Active Directory domain to associate with the CIFS server.

[-ou <text>] - Organizational Unit

This parameter specifies the organizational unit within the Active Directory domain to associate with the CIFS server. By default, this parameter is set to CN=Computers.

[-default-site <text>] - Default Site Used by LIFs Without Site Membership

This parameter specifies the site within the Active Directory domain to associate with the CIFS server if Data ONTAP cannot determine an appropriate site.

| -workgroup <NetBIOS> - Workgroup Name }

This parameter specifies the name of the workgroup (up to 15 characters).

[-status-admin {down|up}] - CIFS Server Administrative Status

Use this parameter to specify whether the initial administrative status of the cifs server is up or down. The default setting is up .

[-comment <text>] - CIFS Server Description

This optional parameter specifies a text comment for the server. CIFS clients can see this CIFS server description when browsing servers on the network. The comment can be up to 48 characters long. If there is a space in the descriptive remark or the path, you must enclose the entire string in quotation marks.

[-netbios-aliases <NetBIOS>,…​] - List of NetBIOS Aliases

This parameter specifies a list of NetBIOS aliases, which are alternate names to the CIFS server name.

Examples

The following example creates a CIFS server CIFSSERVER1 for Vserver vs1 and domain EXAMPLE.com.

cluster1::> vserver cifs create -vserver vs1 -cifs-server CIFSSERVER1 -domain EXAMPLE.com
In order to create an Active Directory machine account for the CIFS server, you
must supply the name and password of a Windows account with sufficient
privileges to add computers to the "CN=Computers" container within the
"EXAMPLE.com" domain.

Enter the user name: Administrator

Enter the password:

The following example creates a CIFS server CIFSSERVER1 for Vserver vs1 and workgroup Sales:

cluster1::> vserver cifs create -vserver vs1 -cifs-server CIFSSERVER1 -workgroup Sales