Sei sulla pagina 1di 3

MODULE 7: CIFS SHARES AND SESSIONS

EXERCISE

In this activity, you perform routine CIFS administration procedures on your storage system in a Microsoft
Windows workgroup environment. You view the current list of shares, add a new share, verify access to the
share, and display session information.
OBJECTIVES

By the end of this exercise, you should be able to:

View current shares


Create new shares using the command-line interface
Verify share access and display session information

TASK 1: VIEW CURRENT SHARES

In this task, you log in to the storage system and work with the default shares.
STEP ACTION

1.

If you are not already logged in, use the Remote Desktop connection to log in to your Windows
workstation as Administrator.
NOTE: Use the IP address and password provided by the instructor.

2.

On your Windows workstation, select Start > Run.

3.

In the Run window, enter the following to browse the shares on your storage system:
\\IP_Address_of_Your_Storage_System

Click OK.
Which share or shares are displayed, and why?
________________________________________
_____________________________________________________________________________

4.

In the address bar of the Web browser, change the address to the following:
\\IP_Address_of_Your_Storage_System\C$

Which folder or folders are displayed?


_________________________________________________

5.

At your storage system prompt, view the CIFS sessions by entering the following command:
system> cifs sessions

Which user currently has a session with the storage system?


_____________________________________________________________________________
Which account is the user mapped to? _________________________________

E7-1

Accelerated NCDA Boot Camp Data ONTAP 7-Mode: CIFS Shares and Sessions

2011 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.

STEP ACTION

6.

At the storage system prompt, verify the user mapping by entering the following command:
system> options wafl.nt_admin_priv_map_to_root

What is the current value for this option? ____________________________


If wafl.nt_admin_priv_map_to_root is on, then the local administrators user mapping is
root.
7.

Verify the default UNIX user name by entering the following command:
system> options wafl.default_unix_user

What is the name of the default UNIX user?


__________________________________________
If wafl.default_unix_user is set to a user name (for example, pcuser), then this is the
default user mapping for any Windows user that is not explicitly mapped.
8.

Verify that the default UNIX user name is in the /etc/passwd file by entering the following
command:
system> rdfile /etc/passwd

Is the default UNIX user name in the /etc/passwd file? _______________

TASK 2: CREATE A NEW SHARE USING THE COMMAND-LINE INTERFACE

In this task, you will create a new share using the command-line interface.
STEP ACTION

1.

At your storage system prompt, create a qtree named wintree in NFSvol:


system> qtree create /vol/NFSvol/wintree

Normally, if you create a qtree in NFSvol, it will inherit the UNIX security style from its
containing volume.
NOTE: We will discuss security styles in the next module.
2.

Change the security style of wintree to New Technology File System (NTFS):
system> qtree security /vol/NFSvol/wintree ntfs

3.

Create a new share called winshare (for the qtree wintree):


system> cifs shares add winshare /vol/NFSvol/wintree

If you are asked whether you want to use this share name, answer yes.
4.

View the winshare share by entering the following command at the storage system prompt:
system> cifs shares winshare

Which group has access to this share?


_______________________________________________
What are the share permissions?
____________________________________________________

E7-2

Accelerated NCDA Boot Camp Data ONTAP 7-Mode: CIFS Shares and Sessions

2011 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.

TASK 3: VERIFY SHARE ACCESS AND DISPLAY SESSION INFORMATION

In this task, you access the new share that you created previously and check the session information.
STEP ACTION

1.

On the Windows Server, open Windows Explorer.

2.

As the administrator, map a network drive to winshare.


NOTE: Depending on the environment, you may want to create a share using the storage
systems IP address instead of the host name.

3.

Right-click the winshare share mapping and select Properties.

4.

Click the Security tab and view the NTFS file permissions.

5.

On the Windows workstation, navigate to Start > Programs > Accessories > WordPad.

6.

Open WordPad and create a text document.

7.

Save the text file to the winshare share.

8.

On the Windows workstation, right-click the text file and select Properties.

9.

Click the Security tab and view the NTFS file permissions for the text file.
Which group has access to this file? ______________________________________
What are the file access permissions for the text file? _________________________

10.

Close all of the open windows.

END OF EXERCISE

E7-3

Accelerated NCDA Boot Camp Data ONTAP 7-Mode: CIFS Shares and Sessions

2011 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.

Potrebbero piacerti anche