+--------------------------------------------------------------------------------+
+                                  CIFS Status                                   +
+--------------------------------------------------------------------------------+
CIFS is ENABLED


+--------------------------------------------------------------------------------+
+                            /usr/local/etc/smb4.conf                            +
+--------------------------------------------------------------------------------+
[global]
    server max protocol = SMB2
    encrypt passwords = yes
    dns proxy = no
    strict locking = no
    oplocks = yes
    deadtime = 15
    max log size = 51200
    max open files = 942689
    load printers = no
    printing = bsd
    printcap name = /dev/null
    disable spoolss = yes
    getwd cache = yes
    guest account = nobody
    map to guest = Bad User
    obey pam restrictions = yes
    directory name cache size = 0
    kernel change notify = no
    dfree command = /usr/local/libexec/samba/dfree
    panic action = /usr/local/libexec/samba/samba-backtrace
    nsupdate command = /usr/local/bin/samba-nsupdate -g
    server string = FreeNAS Server
    ea support = yes
    store dos attributes = yes
    lm announce = yes
    hostname lookups = yes
    time server = yes
    acl allow execute always = true
    acl check permissions = true
    dos filemode = yes
    multicast dns register = yes
    domain logons = no
    local master = yes
    idmap config *: backend = tdb
    idmap config *: range = 90000001-100000000
    server role = standalone
    netbios name = NASTY
    workgroup = WORKGROUP
    security = user
    pid directory = /var/run/samba
    smb passwd file = /var/etc/private/smbpasswd
    private dir = /var/etc/private
    create mask = 0666
    directory mask = 0777
    client ntlmv2 auth = yes
    dos charset = CP437
    unix charset = UTF-8
    log level = 1


+--------------------------------------------------------------------------------+
+                           CIFS Shares & Permissions                            +
+--------------------------------------------------------------------------------+


+--------------------------------------------------------------------------------+
+                                net getlocalsid                                 +
+--------------------------------------------------------------------------------+
SID for domain NASTY is: S-1-5-21-1197300580-1279248294-3914654774


+--------------------------------------------------------------------------------+
+                                net getdomainsid                                +
+--------------------------------------------------------------------------------+
Could not fetch domain SID
SID for local machine NASTY is: S-1-5-21-1197300580-1279248294-3914654774


+--------------------------------------------------------------------------------+
+                                net usersidlist                                 +
+--------------------------------------------------------------------------------+
NASTY\7
 S-1-5-21-1197300580-1279248294-3914654774-3010
 S-1-1-0
 S-1-5-2
 S-1-5-11
NASTY\hddrepair
 S-1-5-21-1197300580-1279248294-3914654774-3012
 S-1-1-0
 S-1-5-2
 S-1-5-11
NASTY\i5bench
 S-1-5-21-1197300580-1279248294-3914654774-3014
 S-1-1-0
 S-1-5-2
 S-1-5-11
NASTY\dan
 S-1-5-21-1197300580-1279248294-3914654774-3002
 S-1-1-0
 S-1-5-2
 S-1-5-11
NASTY\8
 S-1-5-21-1197300580-1279248294-3914654774-3004
 S-1-1-0
 S-1-5-2
 S-1-5-11
NASTY\pos
 S-1-5-21-1197300580-1279248294-3914654774-3006
 S-1-1-0
 S-1-5-2
 S-1-5-11
NASTY\user
 S-1-5-21-1197300580-1279248294-3914654774-3008
 S-1-1-0
 S-1-5-2
 S-1-5-11


+--------------------------------------------------------------------------------+
+                              net status sessions                               +
+--------------------------------------------------------------------------------+
PID     Username      Group         Machine                        
-------------------------------------------------------------------


+--------------------------------------------------------------------------------+
+                               net status shares                                +
+--------------------------------------------------------------------------------+

Service      pid     machine       Connected at
-------------------------------------------------------


+--------------------------------------------------------------------------------+
+                                Users and Groups                                +
+--------------------------------------------------------------------------------+
+--------------------------------------------------------------------------------+
+                                     Users                                      +
+--------------------------------------------------------------------------------+
NASTY\7
NASTY\hddrepair
NASTY\i5bench
NASTY\dan
NASTY\8
NASTY\pos
NASTY\user
+--------------------------------------------------------------------------------+
+                                     Groups                                     +
+--------------------------------------------------------------------------------+


