logo
Manual Pages
Table of Contents

NAME

na_cifs_lookup - translate name into SID or vice versa

SYNOPSIS

cifs lookup name cifs lookup domain\name cifs lookup textual_sid_S-x-y-z

DESCRIPTION

The cifs lookup command translates a Windows NT user or group name into its corresponding textual Windows NT SID (Security ID), or a textual NT SID into its corresponding Windows NT user or group name. domain\name is the name of an account in a specified Windows domain. If the domain is omitted, then the name is looked up in the domain in which the Filer is a member server. Conversely, given a Windows Security ID (SID), cifs lookup will return the corresponding account name.

EXAMPLES

  toaster> cifs lookup mday
  SID = S-1-5-21-39724982-1647982808-1376457959-1221

  toaster> cifs lookup NT-DOMAIN\mday
  SID = S-1-5-21-39724982-1647982808-1376457959-1221

  toaster> cifs lookup BUILTIN\Administrators
  SID = S-1-5-32-544

  toaster> cifs lookup S-1-5-32-544
  name = BUILTIN\Administrators

  toaster> cifs lookup nonexistentuser
  lookup failed

Table of Contents