Configuring Dell EMC Unity 4.5 File Sharing
Configuring Dell EMC Unity 4.5 File Sharing
Version 4.5
Dell believes the information in this publication is accurate as of its publication date. The information is subject to change without notice.
THE INFORMATION IN THIS PUBLICATION IS PROVIDED “AS-IS.“ DELL MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND
WITH RESPECT TO THE INFORMATION IN THIS PUBLICATION, AND SPECIFICALLY DISCLAIMS IMPLIED WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. USE, COPYING, AND DISTRIBUTION OF ANY DELL SOFTWARE DESCRIBED
IN THIS PUBLICATION REQUIRES AN APPLICABLE SOFTWARE LICENSE.
Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be the property
of their respective owners. Published in the USA.
Dell EMC
Hopkinton, Massachusetts 01748-9103
1-508-435-1000 In North America 1-866-464-7381
[Link]
Figures 5
Tables 7
Preface 9
1 LDAP authentication...................................................................................................34
2 NAS server Unix credential settings........................................................................... 35
DANGER
WARNING
CAUTION
NOTICE
Note
NFS SMB
Lock policy Uses a User Identifier (UID) Uses a security Identifier (SID).
and Group Identifier (GID). SMB range locks are mandatory.
NFSv3 range locks are
advisory and NFSv4 range
locks are advisory or
mandatory (default).
Security rules Uses the UNIX credential Uses the Windows credential associated with
associated with the the authenticated user to check the SMB
authenticated user to check Access ACL.
mode bits (NFSv3) or to
check access rights in the
NFSv4 ACL.
Unity supports a mixed NFS and SMB environment by providing simultaneous access
to the same data for both NFS (v3 and v4) and SMB. You configure multiprotocol
functionality by creating a NAS server that is enabled for multiprotocol, and then
creating a multiprotocol file system off of this NAS server. Once you create the file
system, you can create both NFS and SMB shares on that file system.
Note the following about multiprotocol functionality in Unity:
l A multiprotocol NAS server supports multiprotocol file systems only. You cannot
create an SMB-only or NFS-only file system on a multiprotocol NAS server.
l A file system can support multiprotocol, SMB-only, or NFS-only access.
Multiprotocol file systems enable access from SMB and NFS to a single file system
simultaneously.
To configure multiprotocol functionality, you must join the NAS server to a Windows
Active Directory domain and configure a UNIX Directory Service (LDAP or NIS) or
local password and group files for the NAS server, or both. To use LDAP it must
adhere to the IDMU, RFC2307, or RFC2307bis schemas. Some examples include AD
LDAP with IDMU, iPlanet, OpenLDAP. Also, the LDAP server must be configured
properly to provide UIDs for each user. For example, on IDMU, the administrator must
go in to the properties of each user and add a UID to the UNIX Attributes tab.
The user names in an NFS environment and those in an SMB environment must match
character for character. If there are discrepancies in the user names, you can
configure a user mapping file (ntxmap) to map each NFS name to the corresponding
SMB name, and each SMB name to the the corresponding NFS name. You can also
configure default UNIX and Windows account names. The system uses the default
Windows account name when it cannot find a match for an SMB name on NFS, and
the default UNIX account name when it cannot find a match for an NFS name on
SMB.
When you configure a file system that supports multiprotocol access, you must also
select an access policy to manage user access control for the file system. For detailed
information about how security and file access works in a multiprotocol environment,
see Chapter 2, "Deep dive: File system security and access in a multiprotocol
environment."
Figure 1 shows the high-level steps required for configuring multiprotocol file sharing.
Figure 1 High-level steps for configuring multiprotocol file sharing
Note
Once you configure a multiprotocol NAS server, you cannot reconfigure the NAS
server to support NFS-only or SMB-only file sharing.
Additional documents
If you still have questions about multiprotocol after reading this document, see the
following documents on the support site:
l Configuring Hosts to Access SMB File Systems: Provides instructions for setting up
Windows hosts with clients that need to access SMB file system storage on a
system with a Unity Operating Environment.
l Configuring Hosts to Access NFS File Systems: Instructions for setting up the Citrix
XenServer hosts, Linux hosts, or Solaris hosts with clients that need to access
NFS file system storage on a system with a Unity Operating Environment.
l Unisphere CLI User Guide: Describes commands to use in scripts for automating
routine tasks.
l Service Commands Technical Notes: Describes commands to use for servicing the
storage system.
NOTICE
If the older SMB1 protocol does not need to be supported in your environment, it can
be disabled by using the svc_nas service command. For more information about this
service command, see the Service Commands Technical Notes.
User mapping
In a multiprotocol context, a Windows user needs to be matched to a UNIX user.
However, a UNIX user has to be mapped to a Windows user only when the access
policy is Windows. This matching is necessary so that file system security can be
enforced, even if it is not native to the protocol. The following components are
involved in user mapping:
l UNIX Directory Services, local files, or both
l Windows resolvers
l Secure mapping (secmap) - a cache that contains all mappings between SIDs, and
UID or GIDs used by a NAS server.
l ntxmap
Note
User mapping does not affect the users or groups that are local to the SMB server.
User mapping 19
Deep dive: File system security and access in a multiprotocol environment
1. secmap is searched for the SID. If the SID is found, the UID and GID mapping is
resolved.
2. If the SID is not found in secmap, the Windows name related to the SID must be
found.
a. The local group databases of the SMB servers of the NAS are searched for the
SID. If the SID is found, the related Windows name is the local user name along
with the SMB server name.
b. If the SID is not found in the local group database, the DC of the domain is
searched. If the SID is found, the related Windows name is the user name. If
the SID is not resolvable, access is denied.
3. The Windows name is translated into a UNIX name. The ntxmap is used for this
purpose.
a. If the Windows name is found in ntxmap, the entry is used as the UNIX name.
b. If the Windows name is not found in ntxmap, the Windows name is used as the
UNIX name.
4. The UDS (NIS server, LDAP server, or local files) is searched using the UNIX
name.
a. If the UNIX user name is found in the UDS, the UID and GID mapping is
resolved.
b. If the UNIX name is not found, but the automatic mapping for unmapped
Windows accounts feature is enabled, the UID is automatically assigned.
c. If the UNIX user name is not found in the UDS but there is a default UNIX
account, the UID and GID mapping is resolved to that of the default UNIX
account.
d. If the SID is not resolvable, access is denied.
If the mapping is found, it is added in the persistent secmap database. If the mapping
is not found, the failed mapping is added to the persistent secmap database.
The following diagram illustrates the process used to resolve an SID to a UID, primary
GID mapping:
No No
No No
No No No
Windows Name =
UNIX Name
Unknown SID Failed Mapping
Access Denied Access Denied
User mapping 21
Deep dive: File system security and access in a multiprotocol environment
In
In Yes Domain Yes
UID secmap SID SID
secmap? Controller?
No No
UNIX Windows
Yes Name Yes Name In Local Yes
In Local Files In
Group SID
or UDS? ntxmap?
Database?
Windows Name =
No UNIX Name No
No
Default Yes
Windows SID
Account?
No
Unresolvable UID
Access Denied
Access Description
policy
Native l Each protocol manages access with its native security.
(default)
l Security for NFS shares uses the UNIX credential associated with the request
to check the NFSv3 UNIX mode bits or NFSv4 ACL. The access is then
granted or denied.
l Security for SMB shares uses the Windows credential associated with the
request to check the SMB ACL. The access is then granted or denied.
Access Description
policy
l NFSv3 UNIX mode bits and NFSv4 ACL permission changes are synchronized
to each other.
l There is no synchronization between the Unix and Windows permissions.
Windows l Secures file level access for Windows and UNIX using Windows security.
l Uses a Windows credential to check the SMB ACL.
l Permissions for newly created files are determined by an SMB ACL
conversion. SMB ACL permission changes are synchronized to the NFSv3
UNIX mode bits or NFSv4 ACL.
l NFSv3 mode bits and NFSv4 ACL permission changes are denied.
UNIX l Secures file level access for Windows and UNIX using UNIX security.
l Upon request for SMB access, the UNIX credential built from the local files or
UDS is used to check the NFSv3 mode bits or NFSv4 ACL for permissions.
l Permissions for newly created files are determined by the UMASK.
l NFSv3 UNIX mode bits or NFSv4 ACL permission changes are synchronized
to the SMB ACL.
l SMB ACL permission changes are allowed in order to avoid causing
disruption, but these permissions are not maintained.
For FTP, authentication with Windows or UNIX depends on the user name format that
is used when authenticating to the NAS server. If Windows authentication is used,
FTP access control is similar to that for SMB; otherwise, authentication is similar to
that for NFS. FTP and SFTP clients are authenticated when they connect to the NAS
server. It could be an SMB authentication (when the format of the user name is
domain\user or user@domain) or a UNIX authentication (for the other formats of
a single user name). The SMB authentication is ensured by the Windows DC of the
domain defined in the NAS server. The UNIX authentication is ensured by the NAS
server according to the encrypted password stored in either a remote LDAP server, a
remote NIS server, or in the local password file of the NAS server.
Note
For an NFS request when the extended credential property is not set, the UNIX
credential from the NFS request is used. When using Kerberos authentication for an
SMB request, the Windows credential of the domain user is included in the Kerberos
ticket of the session setup request.
NOTICE
If the default UNIX user is not set in the UNIX Directory Services (UDS), SMB access
is denied for unmapped users. If the default Windows user is not found in the Windows
DC or the LGDB, NFS access on a file system that has a Windows access policy is
denied for unmapped users.
Note
The default UNIX user can be a valid existing UNIX account name or follow the new
format @uid=xxxx,gid=yyyy@, where xxxx and yyyy are the decimal numerical
values of the UID and the primary GID, respectively, and can be configured on the
system through either Unisphere or CLI.
Note
For NFS secure access, the credential is always built using the UDS.
Note
Setting Description
Allowed All NFS and SMB clients can rename directories
without any restrictions.
Setting Description
Mandatory (Default) Uses the SMB and NFSv4 protocols to
manage range locks for a file that is in use by another
user. A mandatory locking policy prevents data
corruption if there is concurrent access to the same
locked data.
Unix environment with the Provide NFS access to file 1. Follow the steps in the Balanced Unix and Windows
ability to access file system system data and optionally environment row for creating a NAS server, configuring a
data through SMB provide SMB access to the Unix directory service or local files, and optionally
same file system data for customizing the mappings between Windows user accounts
some Windows accounts. and Unix user accounts.
2. On the NAS server properties page for the new NAS
server, optionally select Sharing Protocols >
Multiprotocol, and then configure a default Unix user
account. In addition, All unmapped Windows accounts will
be mapped to this user account.
Note
Windows environment with Provide SMB access to file 1. Follow the steps in the Balanced Unix and Windows
the ability to access file system data and optionally environment row for creating a NAS server and optionally
system data through NFS provide NFS access to the use ntxmap to customize the mappings between Windows
same file system data for user accounts and Unix user accounts.
some Unix accounts.
2. On the NAS server properties page for the new NAS
server, optionally select Sharing Protocols >
Multiprotocol, and then configure a default Windows
user account. All unmapped Unix accounts will be mapped
to this user account.
Note
Create a NAS server for multiprotocol file sharing (SMB and NFS) 29
Configure a NAS server for multiprotocol file sharing
Note
You can configure mappings for some users in the UDS and let the others be
mapped through the default account.
l DNS server and domain information.
l Replication information (optional).
It is recommended that you balance the number of NAS servers on both SPs.
You cannot disable multiprotocol file sharing for a NAS server once a file system is
created on that NAS server.
Procedure
1. Under Storage, select File > NAS Servers.
2. Select the Add icon.
3. On the General and Interface pages, specify the relevant settings while noting
the following:
l On the General page, the Server name identifies the NAS server. It is not a
network name.
l Optionally select a tenant to associate with the NAS server.
Note
Once you create a NAS server that has an associated tenant, you cannot
change this association.
l On the Interface page, optionally select a VLAN. If you selected a tenant on
the General page, you must select a VLAN. The list of VLANs represent the
VLANs associated with the selected tenant.
Note
5. On the Unix Directory Service page, configure one of the following directory
services:
l Local files
l NIS
l LDAP
l Local files and NIS or LDAP
If you configure local files with NIS or LDAP, the system queries the local files
first. You can configure LDAP to use anonymous, simple, and Kerberos
authentication. You can also configure LDAP with SSL (LDAP Secure) and can
enforce the use of a Certificate Authority certificate for authentication.
6. On the DNS page, configure DNS for the NAS server.
7. On the Replication page, optionally select a replication mode and Recovery
Point Objective (RPO) for the NAS server.
Task Description
Enable the NAS server's ability to support Select Multiprotocol.
multiprotocol file sharing (SMB and NFS
shares on the same file system). Note
Join the NAS server to the Active Directory 1. Select Join to the Active Directory
domain
domain.
2. Specify the requested information.
3. Optionally, click Advanced to change
the default NetBios name and
organizational unit.
Note
Optionally enable support for secure NFS. Select Show advanced, and then select or
clear Enable Secure NFS (with
Kerberos). For detailed information about
configuring NFS with Kerberos, see the online
help.
Task Description
Optionally enable the NAS server's ability to 1. Select the FTP sub-tab.
share files using FTP or SFTP.
2. Select Enable FTP or Enable SFTP.
The use of SFTP is recommended over
FTP, because SFTP encrypts transmits
encrypted text.
3. Optionally customize user authentication,
user home directory, and message
settings.
Note
If you configure local files with a UDS, the storage system queries the local files first.
If you are creating a new NAS server, use the Unix Directory Service window in the
Create a NAS server wizard to configure identity lookups.
If you are configuring a UDS for an existing NAS server, access the Naming Services
tab to access the identity lookup options:
1. Under Storage, select File > NAS Servers.
2. Select a NAS server, and then select the Edit icon.
3. Select the Naming Services tab.
Using local files
To enable the use of local files for directory services when you are creating a NAS
server:
1. From the Unix Directory Service window in the Create a NAS server wizard,
select Enable a Unix Directory service using Local Files.
2. Create the password file for the UDS. To view the template for this file, select
Open a Passwd File Template.
3. Select Upload Passwd File to upload the password file to the NAS server.
After you create the NAS server, you can upload additional local files as specified
below.
To enable the use of local files for directory services for an existing NAS server:
1. From the Naming Services tab, select the Local Files sub-tab.
2. Select Enable a Unix Directory service using Local Files.
3. For each type of local file, select Retrieve current <file-type> file to download
the current file. If there is no file on the storage system, the system downloads a
file template.
4. Make the necessary changes to the file.
5. Select Upload New <file-type> File to upload the file.
To troubleshoot issues with configuring local files, ensure that:
l The file is created with the proper syntax. (Six colons are required for each line).
Reference the template for more details about the syntax and examples.
l Each user has a unique name and UID.
Configuring a Unix Directory Service using NIS
To configure a UDS using NIS when you are creating a NAS server:
1. From the Naming Services tab, select the LDAP/NIS sub-tab.
2. In the Enable Unix Directory service field, select NIS.
3. Enter an NIS domain and add up to three IP addresses for the NIS servers.
To configure a UDS using NIS for an existing NAS server:
1. From the Naming Services tab, select the LDAP/NIS sub-tab.
2. In the Enable Unix Directory service field, select NIS.
3. Enter an NIS domain and add up to three IP addresses for the NIS servers.
To troubleshoot issues with configuring a UDS using NIS, ensure that the NIS server
domain and server IP addresses you enter are correct.
Configure a UDS using LDAP
LDAP must adhere to the IDMU, RFC2307, or RFC2307bis schemas. Some examples
include AD LDAP with IDMU, iPlanet, and OpenLDAP. The LDAP server must be
configured properly to provide UIDs for each user. For example, on IDMU, the
administrator must go in to the properties of each user and add a UID to the UNIX
Attributes tab.
To configure a UDS using LDAP when you are creating a NAS server:
1. From the Naming Services tab, select the LDAP/NIS sub-tab.
2. In the Enable Unix Directory service field, select LDAP.
3. Select how the NAS server will obtain LDAP server IPs:
l If you leave the default option, the NAS server will use DNS service discovery
to obtain LDAP server IP addresses automatically. For this discovery process to
work, the DNS server must contain pointers to the LDAP servers, and the
LDAP servers must share the same authentication settings.
l To manually enter the IP addresses of LDAP servers, select Configure LDAP
server IPs manually, enter each IP address, and click Add.
4. Configure the LDAP authentication as described in Table 1 on page 34.
To configure a UDS using LDAP for an existing NAS server:
1. From the Naming Services tab, select the LDAP/NIS sub-tab.
2. In the Enable Unix Directory service field, select LDAP
3. Configure the LDAP authentication as described in Table 1 on page 34.
Note
By default, LDAP uses port 389, and LDAPS (LDAP over SSL) uses port 636.
Option Considerations
LDAP with For Anonymous Authentication, add the LDAP servers and specify the port
Anonymous or number used by the LDAP servers, the Base DN, and the Profile DN for the
Simple iPlanet/OpenLDAP server.
authentication For Simple Authentication, add the LDAP servers and specify the following:
l If using AD, LDAP/IDMU:
n Port number used by the LDAP servers.
n User account in LDAP notation format; for example,
cn=administrator,cn=users,dc=svt,dc=lab,dc=com.
n User account password.
n Base DN, which is the same as the Fully Qualified Domain Name
(for example, [Link]).
l If using the iPlanet/OpenLDAP server:
n User account in LDAP notation format; for example,
cn=administrator,cn=users,dc=svt,dc=lab,dc=com.
n Password.
n Base DN. For example, if using [Link], the Base DN would be
DC=svt,DC=lab,DC=com.
n Profile DN for the iPlanet/OpenLDAP server.
Note
If you use NFS secure with a custom realm, you have to upload a
keytab file.
connection to the LDAP server and can run a user name resolution to ensure that the
LDAP settings are correct. For more information, see the Service Commands Technical
Notes, which is available from the UnityOE Features Info Hub.
Task Description
Extend the Unix credential Select or clear Enable extended Unix credentials.
to enable the storage
l If this field is selected, the NAS server uses the User ID (UID)
system to obtain more
to obtain the primary Group ID (GID) and all group GIDs to
than 16 group GIDs.
which it belongs. The NAS server obtains the GIDs from the
Note local password file or UDS.
With secure NFS, the Unix l If this field is cleared, the Unix credential of the NFS request
credential is always built is directly extracted from the network information contained
by the NAS server, so this in the frame. This method has better performance, but it is
option does not apply. limited to including up to only 16 group GIDs.
Specify a Unix credential In the Credential cache retention field, enter a time period
cache retention period. (in minutes) for which access credentials are retained in the
This option can lead to cache. The default value is 15 minutes, minimum value is 1 minute,
better performance, and maximum value is 1439 minutes.
because it reuses the Unix
credential from the cache
instead of building it for
each request.
Note
If the administrator changes the UID of a user who previously connected to the NAS
server, the NAS server will not automatically update the user mapping for that user
unless a new re-mapping job is run from Unisphere.
format @uid=xxxx,gid=yyyy@, where xxxx and yyyy are the decimal numerical
values of the UID and the primary GID, respectively.
Consider the following when you configure a default Unix user:
n If you use a default Unix account for Windows users, these users will be
mapped to one UID. Therefore, only one user quota will apply to all of these
users.
n Setting the default user to a UID of 0 or to a user that will be resolved to a 0
UID grants full root access to that user, which can be dangerous from a
security point of view.
l The default Windows account specifies the Windows account to use for file
system access from an unmapped Unix account, if the file system access policy is
Windows. For Windows security authorization, the credential is built from the
Windows Domain Controller (DC) and Local Group Database (LGDB) of the SMB
server. If you do not specify a default Windows account and if the default
Windows user is not found in the Windows DC or the LGDB, an unmapped Unix
user will not be able to access a file system that has a Windows access policy. The
default Windows user account must be an existing user account in the AD in which
the SMB server of the NAS server is joined. It is case insensitive.
Automatic mapping for Windows users
When you modify NAS server sharing protocols, you can optionally direct the system
to automatically generate a Unix UID for each Windows user that is not already
mapped to a Unix account through a directory service (LDAP or NIS) or local files.
This option is available when there is no default UNIX user configured, and it is
intended for multiprotocol configurations where most users are Windows users. Using
this option allows for the retention of file system quotas for each unmapped Windows
user. (File system quotas are based on the Unix UID.) The automatically-generated
Unix UIDs are in the reserved range of 0x80000001 to 803FFFFF.
Note
You cannot enable automatic mapping for Windows users if you have a default Unix
user configured.
Procedure
1. Under Storage, select File > NAS Servers.
2. Select the relevant NAS server, and then click Edit.
3. Select the Sharing Protocols tab, and then select the Multiprotocol sub-tab.
4. Make the desired changes, as described in the following table:
Task Description
Map together Unix The ntxmap configuration file lets you map together Unix
accounts and Unix accounts and Windows accounts that have different user names.
accounts that have The syntax for ntxmap is displayed in the template that you
different user names. retrieve by following these steps:
Enable or disable default Select or clear Enable default account for unmapped
accounts for unmapped users. If this option is selected, you can enter default Unix and
users. Windows accounts that the system will use to grant file system
access to unmapped users. To avoid configuration issues, ensure
that the specified Windows default account exists and has an SID
mapping. Also ensure that the specified Unix default account
exists and has a UID mapping.
The default UNIX user can be a valid existing UNIX account name
or follow the format @uid=xxxx,gid=yyyy@, where xxxx and
yyyy are the decimal numerical values of the UID and the primary
GID, respectively.
Note
If you use a default Unix account for Windows users, these users
will be mapped to one UID. Therefore, only one user quota will
apply to all of these users.
Run user mapping You can run a user mapping diagnostics report to confirm that
diagnostics and repair the user mappings are configured as desired. Both resolved and
broken mappings. unsolved users are listed in this report.
Task Description
To run the report and fix mappings:
Note
Setting Description
Sync Writes Enabled When you enable the synchronous writes option for a Windows
(SMB) or multiprotocol file system, the storage system performs
immediate synchronous writes for storage operations, regardless
of how the SMB protocol performs write operations. Enabling
synchronous writes operations allow you to store and access
database files (for example, MySQL) on storage system SMB
shares. This option guarantees that any write to the share is
done synchronously and reduces the chances of data loss or file
corruption in various failure scenarios, for example, loss of
power.
This option is disabled by default.
Setting Description
Note
Notify on Write Enabled Enable notification when a file system is written to.
This option is disabled by default.
Enable SMB Events Enable the processing of SMB events for this file system.
publishing
Setting Description
Allowed All NFS and SMB clients can rename directories
without any restrictions.
Setting Description
Mandatory (Default) Uses the SMB and NFSv4 protocols to
manage range locks for a file that is in use by another
user. A mandatory locking policy prevents data
corruption if there is concurrent access to the same
locked data.
Configure shares 45
Configure shares
Setting Description
Local path The path to the file system storage resource on the
storage system. This path specifies the unique location
of the share on the storage system.
SMB shares
l An SMB file system allows you to create multiple
shares with the same local path. In these cases, you
can specify different host-side access controls for
different users, but the shares within the file system
will all access common content.
l A directory must exist before you can create shares
on it. Therefore, if you want the SMB shares within
the same file system to access different content,
you must first create a directory on the Windows
host that is mapped to the file system. Then, you
can create corresponding shares using Unisphere.
You can also create and manage SMB shares from
the Microsoft Management Console.
NFS shares
l Each NFS share must have a unique local path.
Unisphere automatically assigns this path to the
initial share created within a new file system. The
local path name is based on the file system name.
l Before you can create additional shares within an
NFS file system, you must create a directory to
share from a Linux/UNIX host that is connected to
the file system. Then, you can create a share from
Unisphere and set access permissions accordingly.
Export path The path used by the host to connect to the share.
Unisphere creates the share export path based on the
name of the share and the name of the file system
where it resides. Hosts use either the file name or the
export path to mount or map to the share from a
network host.
This behavior is enabled by using NFS aliases for shares.
2. Select the relevant file system, and then select More Actions > Create an SMB
share (CIFS).
3. On the File System page, specify whether the share is for the selected file
system or for a snapshot of the selected file system.
4. On the General page, enter the relevant information, noting the following:
l The value specified in the Share Name field, along with the NAS server
name, constitutes the name by which hosts access the share.
l Share names must be unique at the NAS server level per protocol.
l Local Path must correspond to an existing folder name within the file
system that was created from the host-side.
5. On the Advanced page, optionally configure advanced settings for the share.
After you finish
Once you create a share, you can modify it using the Microsoft Management Console.
For information, see Configuring Hosts to Access SMB File Systems, which is available
on the support website.
Option Description
Continuous Availability Gives host applications transparent, continuous access to a share
following a failover of the NAS server on the system (with the
NAS server internal state saved or restored during the failover
process).
Note
Protocol Encryption Enables SMB encryption of the network traffic through the
share. SMB encryption is supported by SMB 3.0 clients and
above. By default, access is denied if an SMB 2 client attempts to
access a share with protocol encryption enabled.
You can control this by configuring the
RejectUnencryptedAccess registry key on the NAS Server. 1
(default) rejects non-encrypted access and 0 allows clients that
do not support encryption to access the file system without
encryption.
Access-Based Filters the list of available files and directories on the share to
Enumeration include only those to which the requesting user has read access.
Note
Option Description
Branch Cache Enabled Copies content from the share and caches it at branch offices.
This allows client computers at branch offices to access the
content locally rather than over the WAN.
BranchCache is managed from Microsoft hosts.
Distributed File System (Read only) Lets you group files located on different shares by
(DFS) transparently connecting them to one or more DFS namespaces.
This simplifies the process of moving data from one share to
another. This option is read only in Unisphere because you
manage DFS from Microsoft hosts. For information, see the
MIcrosoft Distributed File System documentation.
Note
Option Description
Note
A given file system path can only be shared once using the NFS protocol.
l By default, users can set bit s in the execute portion of the owner or group
permissions of a file. Users can then set the setuid and setgid Unix
permission bits. This allows users to run the executable with the privileges of
the file's owner (such as root). De-select Allow SUID if you do not want
users to have this ability.
l Optionally change the default anonymous UID and GID for the share. If the
permission of a host is read-only or read-write (without allowing root
access), and the UID of the client is 0 (which is typically the UID of the root
account), then the UID is mapped to the anonymous UID on the NAS server.
By default, the values of the anonymous UID and anonymous GID are
4294967294, which is typically associated with the nobody user.
5. On the Access page, optionally specify the name of the hosts that can access
the share, along with their access privileges. In the Default Access field, select
the access setting you want all hosts to have for the share. In the Customize
access for the following hosts section do either of the following:
l Change the access privileges for existing hosts.
l Add new hosts and specify individual access privileges for those hosts.
Service selection. Then select the Update user mapping on all file systems
check box and run, retrieve, and examine the user mapping diagnostic report
again.
5. On the Sharing Protocols tab, select the NFS sub-tab, and select Enable
Linux/Unix shares (NFS Server)
6. Select whether to enable NFSv3, NFSv4, or both.
7. Optionally enable support for Virtual Volumes (VVols).
8. Optionally click Show advanced to configure secure NFS, enable extended Unix
credentials, and enable credential cache retention. When you enable secure
NFS for a NAS server that supports multiprotocol file sharing, you can choose
to authenticate using the Windows realm configured on the NAS server or a
custom realm.
9. Select the Multiprotocol sub-tab, and select Multiprotocol.
10. Optionally, specify default Windows and Unix accounts for unmapped users.
You can also work with user mapping files, run user mapping diagnostics, and
have the storage system automatically update user mappings on all file systems.
Note
Do not establish a DFS root on a file system object with an access-checking policy of
UNIX, because none of the DFS link components are created with UNIX rights.
About widelinks
Widelinks make traditional Unix symbolic links in user file systems useful to SMB
clients. When an NFS client encounters a symbolic link in a file system, it resolves the
target of the link itself. The challenge is that while the target path of the symbolic link
is meaningful to NFS clients, it is most likely no use to SMB clients. This challenge is
addressed by configuring a Microsoft Windows Local DFS Root on the NAS server
that hosts the user file systems, which include UNIX symbolic links needing to be
translated for SMB clients. Entries are added to the DFS Root so that the NAS server
can translate the UNIX paths.
$ ls -l widelink1
$ ls -l widelink1
Then the entry in the DFS Root should be:
net/nfsserver42/export1/target1 ->
\\nfsserver42\<whatever-share-is-called>\<path-to-target1>
About widelinks 57
Configure Distributed File System and widelinks
Run an internal test to hep find the root cause svc_cifssupport -checkup
of potential configuration or environmental
errors.
Default UNIX and Windows accounts serve as fallback options to ensure continuity of access in multiprotocol environments where specific user mappings fail. When neither UDS nor ntxmap successfully maps a user, access rights default to these accounts, ensuring that critical systems and resources remain accessible under default parameters. This mechanism prevents service disruptions but should be configured carefully to avoid inadvertently granting excessive access to users who should normally have restricted permissions .
UNIX Directory Services (UDS) resolve user identity information by returning a UNIX account name for a given UID and by providing the UID and primary GID for a specific UNIX account name. They support LDAP, NIS, and local files and require one or more of these services to be enabled for multiprotocol sharing. When a UNIX account name is found in the UDS, the UID and GID mapping is resolved; if not, automatic mapping can assign a UID if enabled. If neither is possible, access defaults to a pre-set UNIX account .
In a multiprotocol environment, translating a Windows name to a UNIX name involves several steps. Initially, if the SID is resolved to a Windows name, ntxmap checks if this Windows name corresponds to a UNIX name entry. If found, that UNIX name is used; otherwise, the Windows name itself is used as the UNIX name. Further, the UDS checks whether this UNIX name is valid and maps it to the corresponding UID and GID. This translation process ensures proper access control within different protocol environments .
A Domain Controller (DC) is essential for SMB shares in a multiprotocol environment because it provides centralized authentication and authorization services, facilitating the access and management of Windows network resources. The DC returns corresponding Windows account names for security identifiers (SIDs) and manages SMB ACLs, which are crucial for implementing security and access policies. The DC ensures that user and resource permissions are consistent and enforceable across networked systems, thereby enhancing security and administrative efficiency in a multiprotocol setup .
The secmap database maintains all SID-to-UID and primary GID-to-SID mappings, ensuring consistency across NAS server file systems. It stores resolved mappings and logs failed attempts, thereby providing a coherent mapping structure. This database is crucial for maintaining the integrity of cross-protocol security mappings, as any changes in user mapping need to be propagated across all file systems to prevent unauthorized access or access denial .
Incorrectly mapped user accounts during a transition to a multiprotocol file sharing environment may result in access denial for users, as access control is dependent on accurate SID-to-UID mappings. Any discrepancies in user mapping might lead to permissions not mirroring existing user roles, causing operational disruptions. During the transition, unauthorized access or excessive access blocking could occur if mappings are misconfigured or incomplete. Therefore, running user mapping diagnostics and thoroughly reviewing mapping logs are critical to ensuring a smooth transition without compromising on security or access integrity .
Enabling multiprotocol file sharing on an existing SMB-enabled NAS server shifts security policies to a Windows-based model for both NFS and SMB protocols, enforcing Windows ACLs universally. While this can streamline administrative control and security policy enforcement, the transition demands thorough mapping verifications. Misconfigured mappings may lead to access denials, requiring detailed diagnostics and potentially complex reconfigurations to align permissions and credentials across both UNIX and Windows systems. Consequently, it’s imperative to conduct preparatory mapping diagnostics to mitigate risks of access loss or disruptions in user services .
Enabling secure NFS with Kerberos on a NAS server enhances security by authenticating users via a reliable ticket-based system, ensuring that data transactions are encapsulated in secure sessions. This approach is beneficial for environments requiring stringent security policies, as Kerberos utilizes encrypted tickets to authenticate and communicate between clients and servers. Generally, it is recommended to pair this setup with LDAP over SSL for a more secure directory service configuration. These measures help prevent unauthorized access and data breaches in multi-client environments .
Enabling SFTP over FTP in NAS server configurations offers significant security advantages by encrypting file transfers, thus protecting data from interception and unauthorized access. SFTP transfers data and commands within an encrypted SSH session, addressing several security vulnerabilities inherent in unencrypted FTP. This feature is crucial in environments where sensitive data handling and transmission security are priorities, ensuring compliance with data protection standards and enhancing overall network security policies .
NIS, LDAP, or local files guide the identity lookup process by resolving UIDs and GIDs to UNIX account names in a NAS server's multiprotocol file sharing setup. These directory services provide a reliable reference for identity validation, supporting UID-GID mapping essential for access control. When configured with local files, the system prioritizes queries to these files before addressing NIS or LDAP, which can employ diverse authentication methods like anonymous or Kerberos protocols. Proper configuration ensures accurate identity mapping, administrative efficiency, and security maintenance across shared environments .