Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) 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

Users can also access their home shares using a UNC name. The convention for specifying a home share when using UNC depends on the home share naming 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

hidden

\\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. When 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:

Enabling users to access other users' home directories  Top

Users can only attach their own home shares, not the home shares of other users. To allow users to access all other users' home shares, complete the following steps.

Step

Action

1

Create a share 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 naming 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 Page (Alt-p) Next Page (Alt-n) Comments