Network Appliance(TM)

Manual Pages


Table of Contents

NAME

cifs setup - setup CIFS service

SYNOPSIS

cifs setup

DESCRIPTION

The cifs setup command performs the initial configuration of the filer for CIFS. You must have installed the CIFS license before you enter this command. You must run the cifs setup command from the console or from a telnet connection; you can't run it over rsh.

EXAMPLE

The following shows the setup dialog:

  Enable CIFS access to the filer by a Windows(tm) PC

The first prompt depends on the current settings. If you haven't configured a WINS server (as would be the case the very first time you run cifs setup, the prompt will be:

  Your filer is only visible to PCs on the same net.
  Do you want to make the filer visible via WINS? [no]:

If you have previously configured one or more WINS servers, the prompt is:

  Your filer is visible to all systems using WINS.
  The WINS name servers configured are:
   xxx.xxx.xxx.xxx
   xxx.xxx.xxx.xxx
  Do you want to modify this list? [no]:

If you answer ``yes'', you will be prompted for the address of a WINS server:

  Please enter next WINS IP address (or return to end list):

In response to each prompt, type the IP address of the next WINS server to use, or a blank line to end the list.

Next, you're prompted for the name of the host. The default is a CIFS-ized version of the filer's host name, but the

CIFS name has restrictions that don't apply to the host name.

  The name of this filer will be 'HOSTNAME'.
    Do you want to modify this name? [no]:

You probably won't want to change this name. If you say ``yes'', you will be prompted:

  Enter the CIFS name for the filer:

Next, you provide the name of the workgroup or domain to which the host should belong. Normally, this should match an existing workgroup or domain in your network. If the filer will be using a domain controller to authenticate users, the name you provide must match the domain controller's domain name.

  This filer will be a member of the workgroup or domain 'WORKGROUP'.
    Do you want to modify this name? [no]:

You will probably want to change this name. If you say ``yes', you will be asked:

  Enter the workgroup or domain name for the filer:

WORKGROUP is the default workgroup or domain name (following Microsoft convention). If a different name has been set in a previous use of cifs setup, then you'll see the name previously selected rather than WORKGROUP.

Next, if a password file is not present on the filer, the program creates one; you'll be asked to set the password for the super-user account:

  CIFS requires local /etc/passwd and /etc/group files.
  Default files will be created containing 'root'
  Enter the password for root:
  Retype the password:

Next, you'll be asked whether CIFS should authenticate users with an automatically-chosen domain controller, a specific domain controller, or a local /etc/passwd file:

  The filer can authenticate users by using a domain controller chosen
  automatically, or by using a specific machine as a domain controller, or
  by using the "/etc/passwd" file.

  Do you want to use a domain controller chosen automatically? [yes]:

If you answer ``no'', you will be asked for the name of a domain controller or / alone to indicate that it should use /etc/passwd.

  Enter either the name of a domain controller, or / to force use of
    "/etc/passwd":

Finally, you'll be asked which access control model you want to use:

  By default CIFS accesses use PC style semantics.
    Do you want to enforce UNIX semantics instead? [no]:

(See also the descriptions of cifs access and cifs rights).

In addition, the cifs setup command will create two shares. The C$ share will be at the root of the file system. The HOME share will be in the /home directory. Each will be created with full root access and no Everyone rights. This is sufficient to allow you to complete the set up of the filer without having to rely on an NFS connection.

FILES

The cifs setup command writes the file /etc/.cifsconfig.dat. This file must not be changed because it contains information that the filer needs to communicate with the domain controller.

SEE ALSO

na_cifs_access(1), na_cifs_rights(1), na_group(5), na_passwd(5).


Table of Contents