Tuesday, 7 January 2014

Netapp "cifs setup" command

=>First I'm checking whether cifs running or not,

fas01> cifs status
CIFS not running.  Use "cifs restart" to restart
                   Use "cifs prefdc" to set preferred DCs
                   Use "cifs testdc" to test WINS and DCs
                   Use "cifs setup" to configure

=>Run the command "cifs setup"

fas01> cifs setup
This process will enable CIFS access to the filer from a Windows(R) system.
Use "?" for help at any prompt and Ctrl-C to exit without committing changes.

        Your filer does not have WINS configured and is visible only to
        clients on the same subnet.
Do you want to make the system visible via WINS? [n]: n
        A filer can be configured for multiprotocol access, or as an NTFS-only
        filer. Since multiple protocols are currently licensed on this filer,
        we recommend that you configure this filer as a multiprotocol filer

(1) Multiprotocol filer
(2) NTFS-only filer

Selection (1-2)? [1]: 1

=>in above it asked whether want to configure as multiprotocol or NTFS only, i selected first option

Selection (1-2)? [1]: 1
        CIFS requires local /etc/passwd and /etc/group files and default files
        will be created.  The default passwd file contains entries for 'root',
        'pcuser', and 'nobody'.
Enter the password for the root user []:
Retype the password:
        The default name for this CIFS server is 'FAS01'.
Would you like to change this name? [n]: n
        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

Selection (1-4)? [1]:

=>in above,it asked for root user password.So, i entered password for root and i mentioned cifs server name same as filer name(FAS01), 
    then, select the cifs user authentication method, i will select first option(AD)


Selection (1-4)? [1]: 1
What is the name of the Active Directory domain? [DNS.com]: DNS.com
        In Active Directory-based domains, it is essential that the filer's
        time match the domain's internal time so that the Kerberos-based
        authentication system works correctly. If the time difference between
        the filer and the domain controllers is more than 5 minutes,
        authentication will fail. Time services are currently not configured
        on this filer.
Would you like to configure time services? [y]: n
        In order to create an Active Directory machine account for the filer,
        you must supply the name and password of a Windows account with
        sufficient privileges to add computers to the DNS.COM domain.
Enter the name of the Windows user [Administrator@DNS.COM]: Administrator
Password for Administrator:
CIFS - Logged in as Administrator@DNS.COM.
        The user that you specified has permission to create the filer's
        machine account in several (3) containers. Please choose where you
        would like this account to be created.

(1) CN=computers
(2) OU=Domain Controllers
(3) OU=Microsoft Exchange Security Groups
(4) None of the above

Selection (1-4)? [1]: 1
Tue Jan  7 18:54:45 GMT [fas01:snmp.agent.msg.access.denied:warning]: Permission denied for SNMPv3 requests from this user. Reason: Password is too short (SNMPv3 requires at least 8 characters).
Tue Jan  7 18:54:45 GMT [fas01:snmp.agent.msg.access.denied:warning]: Permission denied for SNMPv3 requests from root. Reason: Password is too short (SNMPv3 requires at least 8 characters).
Tue Jan  7 18:54:45 GMT [fas01:passwd.changed:info]: passwd for user 'root' changed.
CIFS - Starting SMB protocol...
        It is highly recommended that you create the local administrator
        account (FAS01\administrator) for this filer. This account allows
        access to CIFS from Windows when domain controllers are not

        accessible.

=>am creating cifs local administrative account,

Do you want to create the FAS01\administrator account? [y]: 
Enter the new password for FAS01\administrator:
Retype the password:
Welcome to the DNS.COM Active Directory(R) domain.

CIFS local server is running.

=> That's it now CIFS is running.












No comments:

Post a Comment