ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • vserver cifs share access-control show

    Display access control lists on CIFS shares

    Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

    Description

    The vserver cifs share access-control show command displays the ACLs of CIFS shares.

    Parameters

    { [-fields <fieldname>,…​]

    If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

    | [-instance ] }

    If you specify the -instance parameter, the command displays detailed information about all fields.

    [-vserver <vserver name>] - Vserver

    This optional parameter specifies the name of the Vserver containing the share for which you want to display the access control list.

    [-share <Share>] - Share Name

    This optional parameter specifies the name of the CIFS share for which you want to display the access control list.

    [-user-or-group <TextNoCase>] - User/Group Name

    If you specify this optional parameter, the command displays only access control lists for the CIFS shares that have ACLs matching the specified user or group.

    [-user-group-type {windows|unix-user|unix-group}] - User or Group Type

    If you specify this optional parameter, the command displays only access control lists for the CIFS shares that have ACLs matching the specified user-group-type. The user-group-type can be one of the following:

    • windows

    • unix-user

    • unix-group

    [-permission <access rights>] - Access Type

    If you specify this optional parameter, the command displays only access control lists for the CIFS shares that have ACLs matching the specified permission. The permissions can be one of the following:

    • No_access

    • Read

    • Change

    • Full_Control

    [-winsid <windows sid>] - Windows SID

    If you specify this optional parameter, the command displays only access control lists for the CIFS shares that have ACLs matching the specified Windows SID.

    [-access-mask <Hex Integer>] - Access mask

    If you specify this optional parameter, the command displays only access control lists for the CIFS shares that have ACLs matching the specified access rights.

    Examples

    The following example displays all the ACLs for shares in Vserver vs1.

    vs1::> vserver cifs share access-control show
                   Share       User/Group                  User/Group  Access
    Vserver        Name        Name                        Type        Permission
    -------------- ----------- --------------------------- ----------- -----------
    vs1            vol3        CIFSQA\administrator        windows     Read
    vs1            vol3        Everyone                    windows     Full_Control
    vs1            vol3        pcuser                      unix-user   Read
    vs1            vol3        daemon                      unix-group  Read
    Top of Page