24
4.4 UNIX/Linux Settings
NAS server can export shares to UNIX/Linux client via NFS protocol. UNIX/Linux client then can
mount the shares and gain access to the content of the shares. UNIX/Linux client uses UNIX user
identification, typically consisting of User Identifier (UID) and Group Identifier (GID), for access
control. Non-NFS clients do not use UIDs and GIDs for identification. Since NAS server is intended
for working in a heterogeneous network, files created by non-NFS client could possess incorrect
ownership information and generate inaccurate quota information for UNIX/Linux clients due to the
unmatched UID and GID. A mapping is needed to maintain the correct identity of the user using
multiple protocols to access NAS server, for example Windows and UNIX/Linux clients. Windows
based clients need to map the Windows user name to UID/GID before forwarding a request to retain
the correct ownership information for UNIX/Linux clients. By default, the NAS server maps all
non-NFS users, including local users and domain users, with the same UID/GID as defined on this
page. If the administrator wants to have different UID/GID for different users, he should click the
Modify button to modify the user mapping to UID/GID.
UID: User ID. The numerical number assigned to a user in Unix/Linux permissions. NFS uses UID to
determine permissions on files and directories.
GID: Group ID. A part of POSIX permissions that determine groups of users. NFS files have a GID
assigned to them.
Permission: Three numbers are used for setting the file permission. Each of the three numbers
corresponds to the type of users- Owner, Members of a group and Everyone Else.
Example: If the permission of a file is set to 777, this file has read, write and execute permissions for
the owner, the group and for other users.
Configuring UNIX/Linux Network Settings
1. Click the Enable UNIX/Linux Network (NFS Protocol) checkbox to enable access for NFS client.
2. Enter the default permission for files created via non-NFS protocol. (Default setting = 755)
3. Click Apply to save the settings.
4. Click the Modify icon and enter the default UID and GID. (Default setting = 0)
5. Choose to map all users to the default UID/GID or assign UID/GID for each user manually.
6. Click Set Default link to set the UID/GID of all users to the default UID/GID. Note that the value ‘-1’