+--------------------------------------------------------------------------------+
+                                  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 = 469784
    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
    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
    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 = HOMENAS
    workgroup = WORKGROUP
    security = user
    pid directory = /var/run/samba
    create mask = 0666
    directory mask = 0777
    client ntlmv2 auth = yes
    dos charset = CP437
    unix charset = UTF-8
    log level = 2
    

[Media]
    path = /mnt/rz1
    printable = no
    veto files = /.snapshot/.windows/.mac/.zfs/
    writeable = yes
    browseable = yes
    vfs objects = zfs_space zfsacl aio_pthread streams_xattr
    hide dot files = yes
    guest ok = no
    nfs4:mode = special
    nfs4:acedup = merge
    nfs4:chown = true
    zfsacl:acesort = dontcare


+--------------------------------------------------------------------------------+
+                           CIFS Shares & Permissions                            +
+--------------------------------------------------------------------------------+
+--------------------------------------------------------------------------------+
+                                 Media:/mnt/rz1                                 +
+--------------------------------------------------------------------------------+
drwxrwxr-x+ 8 root  wheel  10 Nov 10 19:32 /mnt/rz1

# file: /mnt/rz1
# owner: root
# group: wheel
            owner@:rwxpDdaARWcCos:fd----:allow
            group@:rwxpDdaARWcCos:fd----:allow
         everyone@:r-x---a-R-c---:fd----:allow



+--------------------------------------------------------------------------------+
+                                net getlocalsid                                 +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
SID for domain HOMENAS is: S-1-5-21-3186755660-811536045-3020942868


+--------------------------------------------------------------------------------+
+                                net getdomainsid                                +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
Could not fetch domain SID
SID for local machine HOMENAS is: S-1-5-21-3186755660-811536045-3020942868


+--------------------------------------------------------------------------------+
+                                net usersidlist                                 +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
HOMENAS\sonny
 S-1-5-21-3186755660-811536045-3020942868-3002
 S-1-1-0
 S-1-5-2
 S-1-5-11


+--------------------------------------------------------------------------------+
+                               net groupmap list                                +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.


+--------------------------------------------------------------------------------+
+                              net status sessions                               +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
PID     Username      Group         Machine                        
-------------------------------------------------------------------
  15946   sonny         wheel         192.168.1.66 (ipv4:192.168.1.66:56559)
  16802   sonny         wheel         192.168.1.68 (ipv4:192.168.1.68:53561)


+--------------------------------------------------------------------------------+
+                               net status shares                                +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.

Service      pid     machine       Connected at
-------------------------------------------------------
Media        16802   192.168.1.68  Thu Nov 12 22:21:34 2015
Media        15946   192.168.1.66  Thu Nov 12 21:49:32 2015


+--------------------------------------------------------------------------------+
+                                Users and Groups                                +
+--------------------------------------------------------------------------------+
+--------------------------------------------------------------------------------+
+                                     Users                                      +
+--------------------------------------------------------------------------------+
HOMENAS\sonny
+--------------------------------------------------------------------------------+
+                                     Groups                                     +
+--------------------------------------------------------------------------------+


