+--------------------------------------------------------------------------------+
+                                  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 = 467390
    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
    acl allow execute always = true
    acl check permissions = true
    dos filemode = yes
    multicast dns register = yes
    domain logons = no
    idmap config *: backend = tdb
    idmap config *: range = 90000001-100000000
    server role = standalone
    netbios name = FREENAS
    workgroup = MANORROAD
    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
    

[Peter]
    path = /mnt/Zpool1/Peter
    printable = no
    veto files = /.snapshot/.windows/.mac/.zfs/
    writeable = yes
    browseable = yes
    recycle:repository = .recycle/%U
    recycle:keeptree = yes
    recycle:versions = yes
    recycle:touch = yes
    recycle:directory_mode = 0777
    recycle:subdir_mode = 0700
    vfs objects = zfsacl aio_pthread streams_xattr
    hide dot files = yes
    guest ok = no
    nfs4:mode = special
    nfs4:acedup = merge
    nfs4:chown = true
    zfsacl:acesort = dontcare
    

[Public]
    path = /mnt/Zpool1/Public
    printable = no
    veto files = /.snapshot/.windows/.mac/.zfs/
    writeable = yes
    browseable = yes
    recycle:repository = .recycle/%U
    recycle:keeptree = yes
    recycle:versions = yes
    recycle:touch = yes
    recycle:directory_mode = 0777
    recycle:subdir_mode = 0700
    vfs objects = recycle zfsacl aio_pthread streams_xattr
    hide dot files = yes
    guest ok = yes
    nfs4:mode = special
    nfs4:acedup = merge
    nfs4:chown = true
    zfsacl:acesort = dontcare


+--------------------------------------------------------------------------------+
+                           CIFS Shares & Permissions                            +
+--------------------------------------------------------------------------------+
+--------------------------------------------------------------------------------+
+                            Peter:/mnt/Zpool1/Peter                             +
+--------------------------------------------------------------------------------+
drwxrwxr-x+ 4 Peter  peterg  6 Dec 27 17:41 /mnt/Zpool1/Peter

# file: /mnt/Zpool1/Peter
# owner: Peter
# group: peterg
            owner@:rwxpDdaARWcCos:fd----:allow
            group@:rwxpDdaARWcCos:fd----:allow
         everyone@:r-x---a-R-c---:fd----:allow

+--------------------------------------------------------------------------------+
+                           Public:/mnt/Zpool1/Public                            +
+--------------------------------------------------------------------------------+
drwxrwxr-x+ 28 nobody  nobody  36 Jan 16 12:23 /mnt/Zpool1/Public

# file: /mnt/Zpool1/Public
# owner: nobody
# group: nobody
            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 FREENAS is: S-1-5-21-3725783215-773400264-3768765690


+--------------------------------------------------------------------------------+
+                                net getdomainsid                                +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
Could not fetch domain SID
SID for local machine FREENAS is: S-1-5-21-3725783215-773400264-3768765690


+--------------------------------------------------------------------------------+
+                                net usersidlist                                 +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
FREENAS\claire
 S-1-5-21-3725783215-773400264-3768765690-3010
 S-1-1-0
 S-1-5-2
 S-1-5-11
FREENAS\family_admin
 S-1-5-21-3725783215-773400264-3768765690-3012
 S-1-1-0
 S-1-5-2
 S-1-5-11
FREENAS\root
 S-1-5-21-3725783215-773400264-3768765690-1000
 S-1-1-0
 S-1-5-2
 S-1-5-11
FREENAS\peter
 S-1-5-21-3725783215-773400264-3768765690-3004
 S-1-1-0
 S-1-5-2
 S-1-5-11
FREENAS\sam
 S-1-5-21-3725783215-773400264-3768765690-3006
 S-1-1-0
 S-1-5-2
 S-1-5-11
FREENAS\rosie
 S-1-5-21-3725783215-773400264-3768765690-3008
 S-1-1-0
 S-1-5-2
 S-1-5-11


+--------------------------------------------------------------------------------+
+                              net status sessions                               +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
PID     Username      Group         Machine                        
-------------------------------------------------------------------
   6245   nobody        nobody        192.168.1.230 (ipv4:192.168.1.230:51591)


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

Service      pid     machine       Connected at
-------------------------------------------------------
Public       6245   192.168.1.230  Sat Jan 16 11:55:25 2016
IPC$         6245   192.168.1.230  Sat Jan 16 11:55:26 2016


+--------------------------------------------------------------------------------+
+                                Users and Groups                                +
+--------------------------------------------------------------------------------+
+--------------------------------------------------------------------------------+
+                                     Users                                      +
+--------------------------------------------------------------------------------+
FREENAS\claire
FREENAS\family_admin
FREENAS\root
FREENAS\peter
FREENAS\sam
FREENAS\rosie
+--------------------------------------------------------------------------------+
+                                     Groups                                     +
+--------------------------------------------------------------------------------+


