Skip to main content

Worksheet for gathering SMB/CIFS configuration information

The SMB configuration worksheet enables you to collect the required information to set up SMB access for clients.

You should complete one or both sections of the worksheet, depending on the decision you made about where to provision storage:

The command man pages contain details about the parameters.

Configuring SMB access to an SVM

Parameters for creating an SVM

You supply these values with the vserver create command if you are creating a new SVM.

FieldDescriptionYour value
-vserverA name you supply for the new SVM that is either a fully qualified domain name (FQDN) or follows another convention that enforces unique SVM names across a cluster. 
-aggregateThe name of an aggregate in the cluster with sufficient space for new SMB storage capacity. 
-rootvolumeA unique name you supply for the SVM root volume. 
-rootvolume-security-styleUse the NTFS security style for the SVM.ntfs
-languageUse the default language setting in this workflow.C.UTF-8
ipspaceOptional: IPspaces are distinct IP address spaces in which SVMs reside. 

Parameters for creating a LIF

You supply these values with the network interface create command when you are creating LIFs.

FieldDescriptionYour value
-lifA name you supply for the new LIF. 
-roleUse the data LIF role in this workflow.data
-data-protocolUse only the SMB protocol in this workflow.cifs
-home-nodeThe node to which the LIF returns when the network interface revert command is run on the LIF. 
-home-portThe port or interface group to which the LIF returns when the network interface revert command is run on the LIF. 
-addressThe IPv4 or IPv6 address on the cluster that will be used for data access by the new LIF. 
-netmaskThe network mask and gateway for the LIF. 
-subnetA pool of IP addresses. Used instead of -address and -netmask to assign addresses and netmasks automatically. 
-firewall-policyUse the default data firewall policy in this workflow.data
-auto-revertOptional: Specifies whether a data LIF is automatically reverted to its home node on startup or under other circumstances. The default setting is false . 

Parameters for DNS host name resolution

You supply these values with the vserver services name-service dns create command when you are configuring DNS.

FieldDescriptionYour value
-domainsUp to five DNS domain names.
-name-serversUp to three IP addresses for each DNS name server. 

Setting up an SMB server in an Active Directory domain

Parameters for time service configuration

You supply these values with the cluster time-service ntp server create command when you are configuring time services.

FieldDescriptionYour value
-serverThe host name or IP address of the NTP server for the Active Directory domain. 

Parameters for creating an SMB server in an Active Directory domain

You supply these values with the vserver cifs create command when you create a new SMB server and specify domain information.

FieldDescriptionYour value
-vserverThe name of the SVM on which to create the SMB server. 
-cifs-serverThe name of the SMB server (up to 15 characters). 
-domainThe fully qualified domain name (FQDN) of the Active Directory domain to associate with the SMB server. 
-ouOptional: The organizational unit within the Active Directory domain to associate with the SMB server. By default, this parameter is set to CN=Computers. 
-netbios-aliasesOptional: A list of NetBIOS aliases, which are alternate names to the SMB server name. 
-commentOptional: A text comment for the server. Windows clients can see this SMB server description when browsing servers on the network. 

Setting up an SMB server in a workgroup

Parameters for creating an SMB server in a workgroup

You supply these values with the vserver cifs create command when you create a new SMB server and specify supported SMB versions.

FieldDescriptionYour value
-vserverThe name of the SVM on which to create the SMB server. 
-cifs-serverThe name of the SMB server (up to 15 characters). 
-workgroupThe name of the workgroup (up to 15 characters). 
-commentOptional: A text comment for the server. Windows clients can see this SMB server description when browsing servers on the network. 

Parameters for creating local users

You supply these values when you create local users by using the vserver cifs users-and-groups local-user create command. They are required for SMB servers in workgroups and optional in AD domains.

FieldDescriptionYour value
-vserverThe name of the SVM on which to create the local user.
-user-nameThe name of the local user (up to 20 characters). 
-full-nameOptional: The user's full name. If the full name contains a space, enclose the full name within double quotation marks. 
-descriptionOptional: A description for the local user. If the description contains a space, enclose the parameter in quotation marks. 
-is-account-disabledOptional: Specifies whether the user account is enabled or disabled. If this parameter is not specified, the default is to enable the user account. 

Parameters for creating local groups

You supply these values when you create local groups by using the vserver cifs users-and-groups local-group create command. They are optional for SMB servers in AD domains and workgroups.

FieldDescriptionYour value
-vserverThe name of the SVM on which to create the local group.
-group-nameThe name of the local group (up to 256 characters). 
-descriptionOptional: A description for the local group. If the description contains a space, enclose the parameter in quotation marks. 

Adding storage capacity to an SMB-enabled SVM

Parameters for creating a volume

You supply these values with the volume create command if you are creating a volume instead of a qtree.

FieldDescriptionYour value
-vserverThe name of a new or existing SVM that will host the new volume. 
-volumeA unique descriptive name you supply for the new volume. 
-aggregateThe name of an aggregate in the cluster with sufficient space for the new SMB volume. 
-sizeAn integer you supply for the size of the new volume. 
-security-styleUse the NTFS security style for this workflow.ntfs
-junction-pathLocation under root (/) where the new volume is to be mounted. 

Parameters for creating a qtree

You supply these values with the volume qtree create command if you are creating a qtree instead of a volume.

FieldDescriptionYour value
-vserverThe name of the SVM on which the volume containing the qtree resides. 
-volumeThe name of the volume that will contain the new qtree. 
-qtreeA unique descriptive name you supply for the new qtree, 64 characters or less. 
-qtree-pathThe qtree path argument in the format /vol/volume_name/qtree_name> can be specified instead of specifying volume and qtree as separate arguments. 

Parameters for creating SMB shares

You supply these values with the vserver cifs share create command.

FieldDescriptionYour value
-vserverThe name of the SVM on which to create the SMB share. 
-share-nameThe name of the SMB share that you want to create (up to 256 characters). 
-pathThe name of the path to the SMB share (up to 256 characters). This path must exist in a volume before creating the share. 
-share-propertiesOptional: A list of share properties. The default settings are oplocks , browsable , changenotify , and show-previous-versions . 
-commentOptional: A text comment for the server (up to 256 characters). Windows clients can see this SMB share description when browsing on the network. 

Parameters for creating SMB share access control lists (ACLs)

You supply these values with the vserver cifs share access-control create command.

FieldDescriptionYour value
-vserverThe name of the SVM on which to create the SMB ACL. 
-shareThe name of the SMB share on which to create. 
-user-group-typeThe type of the user or group to add to the share's ACL. The default type is windows windows
-user-or-groupThe user or group to add to the share's ACL. If you specify the user name, you must include the user's domain using the domain\username format. 
-permissionSpecifies the permissions for the user or group.[ No_access | Read | Change | Full_Control ]