+--------------------------------------------------------------------------------+
+                            CIFS Status @1467614444                             +
+--------------------------------------------------------------------------------+
CIFS is ENABLED
debug finished in 0 seconds for CIFS Status


+--------------------------------------------------------------------------------+
+                      /usr/local/etc/smb4.conf @1467614444                      +
+--------------------------------------------------------------------------------+
[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 = 234992
    logging = file
    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
    hostname lookups = yes
    time server = yes
    acl allow execute always = 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 = FOURNAS
    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 = 1
    

[Backup]
    path = /mnt/Backup
    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
    

[Network backup]
    path = /mnt/Backup/Network
    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
debug finished in 0 seconds for /usr/local/etc/smb4.conf


+--------------------------------------------------------------------------------+
+                     CIFS Shares & Permissions @1467614444                      +
+--------------------------------------------------------------------------------+
+--------------------------------------------------------------------------------+
+                 Network backup:/mnt/Backup/Network @1467614444                 +
+--------------------------------------------------------------------------------+
drwxrwxr-x+ 7 Pete  Users  8 Mar 22 00:09 /mnt/Backup/Network

# file: /mnt/Backup/Network
# owner: Pete
# group: Users
            owner@:rwxpDdaARWcCos:fd-----:allow
            group@:rwxpDdaARWcCos:fd-----:allow
         everyone@:r-x---a-R-c---:fd-----:allow

+--------------------------------------------------------------------------------+
+                         Backup:/mnt/Backup @1467614444                         +
+--------------------------------------------------------------------------------+
drwxrwxr-x  4 root  wheel  5 Jan 31 18:02 /mnt/Backup

# file: /mnt/Backup
# owner: root
# group: wheel
            owner@:rwxp--aARWcCos:-------:allow
            group@:rwxp--a-R-c--s:-------:allow
         everyone@:r-x---a-R-c--s:-------:allow

debug finished in 0 seconds for CIFS Shares & Permissions


+--------------------------------------------------------------------------------+
+                          net getlocalsid @1467614444                           +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
SID for domain FOURNAS is: S-1-5-21-4089614803-3424804291-4230878752
debug finished in 0 seconds for net getlocalsid


+--------------------------------------------------------------------------------+
+                          net getdomainsid @1467614444                          +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
Could not fetch domain SID
SID for local machine FOURNAS is: S-1-5-21-4089614803-3424804291-4230878752
debug finished in 0 seconds for net getdomainsid


+--------------------------------------------------------------------------------+
+                          net usersidlist @1467614444                           +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
FOURNAS\pete
 S-1-5-21-4089614803-3424804291-4230878752-3002
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-4089614803-3424804291-4230878752-1000
debug finished in 0 seconds for net usersidlist


+--------------------------------------------------------------------------------+
+                         net groupmap list @1467614444                          +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
Users (S-1-5-21-4089614803-3424804291-4230878752-1000) -> Users
debug finished in 0 seconds for net groupmap list


+--------------------------------------------------------------------------------+
+                        net status sessions @1467614444                         +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
PID     Username      Group         Machine                        
-------------------------------------------------------------------
  56530   Pete          Pete          192.168.1.31 (ipv4:192.168.1.31:63175)
debug finished in 0 seconds for net status sessions


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

Service      pid     machine       Connected at
-------------------------------------------------------
Backup       56530   192.168.1.31  Mon Jul  4 06:14:59 2016
debug finished in 0 seconds for net status shares


+--------------------------------------------------------------------------------+
+                          Users and Groups @1467614444                          +
+--------------------------------------------------------------------------------+
+--------------------------------------------------------------------------------+
+                               Users @1467614444                                +
+--------------------------------------------------------------------------------+
Error looking up domain users
+--------------------------------------------------------------------------------+
+                               Groups @1467614444                               +
+--------------------------------------------------------------------------------+
failed to call wbcListGroups: WBC_ERR_DOMAIN_NOT_FOUND
Error looking up domain groups
debug finished in 0 seconds for Groups


