Table of ContentsView in Frames

Syntax for specifying a home directory using a UNC name

The convention for specifying a home directory when using UNC depends on the home directory naming style specified by the cifs.home_dir_namestyle option.

The following table lists UNC names, with examples, for each namestyle value.

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:

net use * \\toaster\~jdoe /user:marketing\jdoenet use * \\toaster\jdoe /user:marketing\jdoe