Library Table of Contents Index Previous Next Comments

Accessing home directories

Attaching to one's own home share through Network Neighborhood  Top

Attaching to the home share through Network Neighborhood is the same as attaching to any other share.

Syntax for specifying a home share using a UNC name  Top

You can also access your home share by using a UNC name. The convention for specifying a home share when using the UNC depends on the home share name style specified by the cifs.home_dir_namestyle option. The following table describes the different UNC names.

Value of cifs.home_dir_namestyle

UNC name

ntname or ""

\\filer\Windows_NT_name

Example
\\toaster\jdoe

domain

\\filer\~domain~Windows_NT_name

Example
\\toaster\~engineering~jdoe

mapped

\\filer\~mapped_name

Example
\\toaster\~jdoe

If cifs.home_dir_namestyle is domain but the UNC name in the access request does not specify a domain name, Data ONTAP assumes the domain to be the domain under which the request is sent. If you omit the domain name in the access request, you can also leave out the tilde (~) before the user name.

Example

A user named jdoe is logged in as engineering\jdoe from a PC in the engineering domain. Suppose he tries to access his home directory, using his user name in the marketing domain. He can enter either of the following commands to request access to his home directory:

Data ONTAP assumes the domain to be marketing, not engineering, because marketing is the domain of marketing\jdoe, who sends the request.

Enabling users to access other users' home directories  Top

A user can attach to his or her own home share, not the home shares of other users. If you want users to be able to access all other users' home shares, complete the following steps.

Step

Action

1

Create a share as you usually would that corresponds to the path name that is either

  • A home directory path if cifs.home_dir_name_style is not domain
  • A domain directory in the home directory path if cifs.home_dir_name_style is domain
Example

If /vol/vol0/enghome is a home directory path, use the following command:

cifs shares -add eng_dirs /vol/vol0/enghome -comment 
"readable engineering home directories"
2

Assign each user the appropriate access permissions to other users' home directories.

Example

Assign read-only permission to the engineering group for the eng_dirs share as follows:

cifs access eng_dirs engineering full
Result

Members of the engineering group have read-only access to all home directories in the eng_dirs share.

Accessing your CIFS home share using a share alias  Top

For any CIFS home share name style, you can connect to your own CIFS home share using either of the following share aliases:

Examples

net use * \\toaster\cifs.homedir
net use * \\toaster\~

This can be useful when you are writing scripts.

Library Table of Contents Index Previous Next Comments