As Administrator, you can create directories on the filer. These directories do not automatically become accessible to users. You must create shares that correspond to these directories so that users can share the directories.
When you create a share, you must provide
Share naming conventions for Data ONTAP are the same as for Windows. For example, share names ending with the $ character are hidden shares, and certain share names, such as ADMIN$ and IPC$, are reserved.
Share names are not case-sensitive.
You can (optionally) specify these share properties when you create a share:
Note
You can specify the share-level ACL during share creation only if you create the share using Windows administrative tools. You can modify the share-level ACL of an existing share using Windows or using the filer's command line.
If you create the share from the Data ONTAP command line, you can also specify the following share properties:
You can change these attributes at any time after you create a share.
The share description appears in the Comment field when you browse the shares on the network. The description can contain only characters that are in the current code page.
You can specify the maximum number of users who can simultaneously access the share. If you do not specify the number, the number of users is limited by the filer memory. For more information about how filer memory affects the number of users who can connect to the filer simultaneously, see CIFS limitations.
When you create a share from the Data ONTAP command line, you can specify that all files created by CIFS users in that share belong to the same group, which must be a predefined group in the UNIX group database. The group you specify is called a "forcegroup."
The following list describes what happens to files created by CIFS if the share has a forcegroup:
When CIFS users try to access a file created by NFS, the CIFS users' primary GIDs determine access rights.
The forcegroup does not affect how NFS users access files in this share. A file created by NFS acquires the GID from the file creator.
Using a forcegroup makes it easier to ensure that files can be accessed by CIFS users belonging to various groups. For example, if you want to create a share to store the company's Web pages and give write access to users in Engineering and Marketing, you can create a share and give write access to a forcegroup named "web." Because of the forcegroup, all files created by CIFS users in this share are owned by the web group. In addition, users are automatically assigned the GID of the web group when accessing the share. As a result, all the users can write to this share without your managing the access rights of the Engineering and Marketing groups.
Specifying a forcegroup is meaningful only if the share is in a UNIX or mixed qtree. There is no need to use forcegroups for shares in an NTFS qtree because access to files in these shares is determined by Windows permissions, not GIDs.
When you create a share using Server Manager, you can specify the share-level ACL. If you use the Data ONTAP command line, you can specify the share-level permissions only after a share has been created. By default, a newly created share gives everyone Full Control. For more information about share-level ACLs, see How share-level access control lists work.
You disable share boundary checking for symbolic links for a share if you want to allow CIFS clients to follow symbolic links in that share to destinations anywhere on the same filer. If share boundary checking is disabled, the filer checks the share permissions only of the share that has the symbolic link. By default, the filer does share boundary checking for symbolic links to prevent users from accessing files outside the share.
When you create a share from the Data ONTAP command line, you can disable share boundary checking for symbolic links by specifying the option
-nosymlink_strict_security. When you change share properties from the command line, you can specify -symlink_strict_security or
-nosymlink_strict_security to enable or disable share boundary checking for symbolic links.
For details about disabling share boundary checking for symbolic links, see About disabling share boundary checking for symbolic links.
You enable wide symbolic links for a share if you want to allow CIFS clients to follow absolute symbolic links to destinations outside the share or outside the filer. By default, this feature is disabled.
When you create a share from the Data ONTAP command line, you can add support for wide symbolic links by specifying -widelink. When you change share properties from the command line, you can specify either
-widelink or -nowidelink to enable or disable wide symbolic links.
After you enable wide symbolic links, you need to create Widelink entries in the /etc/symlink.translations file to specify how the filer determines the destination of each wide symbolic link. For more information about how to create Widelink entries and additional requirements, see About Widelink entries. For more information about how to enable support for wide symbolic links in home directory shares, see Specifying support for wide symbolic links in home directories.
You can set the file mode creation umask for shares in qtrees with either UNIX or mixed security styles. The umask determines the permissions setting of newly created files. The umask must be an octal value. The default umask value is 0.
When you create a share from the Data ONTAP command line, you can specify the umask using the command -umask mask. When you change share properties from the command line, you can reset the umask value back to 0 using the command -noumask, or you can specify a different umask value using -umask mask.
The following example turns off write access for "group" and "other" permissions when a file is created.
-umask 022
Note
The CIFS share umask value does not affect NFS.
You can specify whether the filer performs a virus scan when clients open files on a share. You can also specify whether a virus scan is performed when clients open files for read-only access. Virus scanning for all opened files is turned on by default for new shares.
When you create a share from the Data ONTAP command line, you can turn off virus scanning as follows:
When you change share properties from the command line, you can turn virus scanning on or off as follows:
For more information about specifying virus scanning for CIFS shares, see the Data Protection Guide.
Client-side caching allows files to be cached for offline use on Windows 2000, XP, or 2003 clients. You can specify whether Windows clients are allowed to cache files on a share. You can also specify whether Windows user documents and programs are automatically cached on a share or whether the files must be manually selected for caching. Manual caching is enabled by default for new shares.
When you create a share from the Data ONTAP command line, you can specify the following:
When you change share properties from the command line, you can specify the following:
Note
You can also set client-side caching properties for a share using the Computer Management application on Windows 2000, XP, and 2003 clients.
To create a share using Server Manager, complete the following steps.
| 1 | |
| 2 | |
| 3 | Create a share as you would on a Windows NT server. You can specify the maximum number of users and share-level ACLs for the share. Note ExampleThe following figure illustrates how to create a new share named specs that corresponds to the /vol/vol0/development directory on the filer.
|
To create a share from the Data ONTAP command line, complete the following step.
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00473
File: cifs19.htm
Last updated: 11/25/03 18:02:42