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


+--------------------------------------------------------------------------------+
+                      /usr/local/etc/smb4.conf @1461459604                      +
+--------------------------------------------------------------------------------+
[global]
    username map = /usr/local/etc/smbusers
    server max protocol = SMB3
    encrypt passwords = yes
    dns proxy = no
    strict locking = no
    oplocks = yes
    deadtime = 15
    max log size = 51200
    max open files = 232067
    logging = syslog:2
    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 = FREENAS
    workgroup = WORKGROUP
    security = user
    pid directory = /var/run/samba
    create mask = 0644
    directory mask = 0755
    client ntlmv2 auth = yes
    dos charset = CP437
    unix charset = UTF-8
    log level = 2
    syslog only = no
    max log size = 5000
    log file = /mnt/sys_logs_hdd/smbd.log
    log level = 2
    

[Win7BackUp]
    path = /mnt/main/Backups/Win7
    comment = Windows 7 Remote Back Up
    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
    

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

[tvshare]
    path = /mnt/main01
    comment = Plex TV Library
    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 @1461459604                      +
+--------------------------------------------------------------------------------+
+--------------------------------------------------------------------------------+
+                  shayashi:/mnt/main/home/shayashi @1461459604                  +
+--------------------------------------------------------------------------------+
ls: /mnt/main/home/shayashi: No such file or directory

getfacl: /mnt/main/home/shayashi: stat() failed: No such file or directory

+--------------------------------------------------------------------------------+
+                 Win7BackUp:/mnt/main/Backups/Win7 @1461459604                  +
+--------------------------------------------------------------------------------+
drwxrwxrwt  2 root  wheel  2 Apr 19 21:22 /mnt/main/Backups/Win7

# file: /mnt/main/Backups/Win7
# owner: root
# group: wheel
            owner@:rwxp--aARWcCos:-------:allow
            group@:rwxp--a-R-c--s:-------:allow
         everyone@:rwxp--a-R-c--s:-------:allow

+--------------------------------------------------------------------------------+
+                       movieshare:/mnt/main2 @1461459604                        +
+--------------------------------------------------------------------------------+
ls: /mnt/main2: No such file or directory

getfacl: /mnt/main2: stat() failed: No such file or directory

+--------------------------------------------------------------------------------+
+                        tvshare:/mnt/main01 @1461459604                         +
+--------------------------------------------------------------------------------+
drwxrwxrwx  2 root  wheel  2 Apr 19 21:32 /mnt/main01

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

+--------------------------------------------------------------------------------+
+                   mainshare:/mnt/main/mainshare @1461459604                    +
+--------------------------------------------------------------------------------+
drwxrwxrwt  2 root  wheel  2 Apr 19 21:31 /mnt/main/mainshare

# file: /mnt/main/mainshare
# owner: root
# group: wheel
            owner@:rwxp--aARWcCos:-------:allow
            group@:rwxp--a-R-c--s:-------:allow
         everyone@:rwxp--a-R-c--s:-------:allow

debug finished in 0 seconds for CIFS Shares & Permissions


+--------------------------------------------------------------------------------+
+                          net getlocalsid @1461459604                           +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
SID for domain FREENAS is: S-1-5-21-2276863171-4098783129-2539614901
debug finished in 0 seconds for net getlocalsid


+--------------------------------------------------------------------------------+
+                          net getdomainsid @1461459604                          +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
Could not fetch domain SID
SID for local machine FREENAS is: S-1-5-21-2276863171-4098783129-2539614901
debug finished in 0 seconds for net getdomainsid


+--------------------------------------------------------------------------------+
+                          net usersidlist @1461459604                           +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
FREENAS\shayashi
 S-1-5-21-2276863171-4098783129-2539614901-3002
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-2276863171-4098783129-2539614901-1000
FREENAS\rsteeves
 S-1-5-21-2276863171-4098783129-2539614901-3004
 S-1-1-0
 S-1-5-2
 S-1-5-11
debug finished in 0 seconds for net usersidlist


+--------------------------------------------------------------------------------+
+                         net groupmap list @1461459604                          +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
time-machine (S-1-5-21-2276863171-4098783129-2539614901-1000) -> time-machine
debug finished in 0 seconds for net groupmap list


+--------------------------------------------------------------------------------+
+                        net status sessions @1461459604                         +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
PID     Username      Group         Machine                        
-------------------------------------------------------------------
debug finished in 0 seconds for net status sessions


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

Service      pid     machine       Connected at
-------------------------------------------------------
debug finished in 0 seconds for net status shares


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


