Table of ContentsView in Frames

Setting up CIFS

If you have a valid CIFS license installed, the cifs setup command starts running automatically after the setup command is complete. You respond to a series of prompts to set up CIFS.

Before you begin

A valid CIFS license is required to set up CIFS. You also must have filled out the appropriate CIFS-related information in the configuration worksheet so that you can enter the values when prompted.

About this task

You can use the default root password when setting up CIFS.

Note: Another way to set up CIFS is to use the CIFS Setup wizard in OnCommand System Manager instead of using the cifs setup command. If you want to include your system in an organizational unit (OU) other than the default "Computers," you must use the cifs setup command.

Steps

  1. If you want to configure Windows Internet Naming Service (WINS), enter y at the following prompt: Do you want to make the system visible via WINS?
    WINS translates between IP addresses and symbolic names for network nodes and resources.

    If you answer y, respond to the following prompts:

    You can enter up to 4 IPv4 WINS addresses.
    IPv4 address(es) of your WINS name server(s):
    Would you like to specify additional WINS name servers [n]?
  2. Specify whether you want to configure the storage system for multiple protocols or for NTFS only:
    (1) NTFS-only filer
    (2) Multiprotocol filer
    If... Then...
    You are using NTFS only for your storage system. Enter 1 at the prompt.
    You have purchased multiprotocol licenses for your storage system. Enter 2 at the prompt.
  3. Specify whether you want to change the name of the CIFS server at the following prompt: Would you like to change this name? [n]
    CIFS requires local /etc/passwd and /etc/group files. An /etc/groups file is already  
    present, but a default /etc/passwd file does not exist and should be created. The default 
    passwd file contains entries for 'root', 'pcuser', and 'nobody'.
    
    The default name for this CIFS server is server_name.
    Would you like to change this name?
    

    If you answer y, enter the new CIFS server name at the following prompt: Enter the CIFS server name for the filer [n]

  4. Select the style of user authentication appropriate to your environment:
    If you select... Then...
    1 Go to the next step.
    2, 3, or 4 Go to Step 10 and then see CIFS protocol information and the Data ONTAP File Access and Protocols Management Guide for 7-Mode for more information about CIFS setup for these authentication options.
    Example
    Data ONTAP CIFS services support four styles of user authentication.
    Choose the one from the list below that best suits your situation.
    
    (1) Active Directory domain authentication (Active Directory domains only)
    (2) Windows NT 4 domain authentication (Windows NT or Active Directory domains)
    (3) Windows Workgroup authentication using the filer's local user accounts
    (4) /etc/passwd and/or NIS/LDAP authentication
  5. Enter the fully qualified domain name when you see the following prompt: What is the name of the Active Directory domain?
    Attention: Joining a CIFS domain can take a long time. Do not press the Enter key until the command prompt returns.
  6. If you want to configure time services, enter y when you see the following prompt: Would you like to configure time services?
    If you answer y, respond to the following prompts:
    Example
    Enter the time server host(s) and/or addresses? 
    Would you like to specify additional time servers?
  7. Enter the name and password of a Windows account with sufficient privileges to add computers to the Active Directory domain:
    Enter the name of the Windows user.
    Password for Windows_user_name:
    If you enter a Windows user name and password, you are prompted to supply Active Directory container names. The user that you specify has permission to create machine accounts for the storage system in several containers.
  8. Enter y at the prompt to create a local administrator account: Do you want to create the (name of filer) administrator account?
    If you answer y, enter the new password:
    Enter the new password for (administrator account).
    Retype the password.
    Note: The password is required. The following are the password rules:
    • The password must be at least eight characters long.
    • The password must contain at least one number.
    • The password must contain at least two alphabetic characters.
    • The password must not contain the Ctrl-C or Ctrl-D key combination, or the two-character string ^C or ^D.
  9. If you would like to specify a user or group that can administer CIFS, enter y at the prompt:Would you like to specify a user or group that can administer CIFS?
    If you answer y, respond to the following prompt: Enter the name of a user or group that will administer CIFS on the filer.

Result

After you complete this procedure, CIFS is configured and the name registrations are complete. You should see the following message:CIFS local server is running.