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


+--------------------------------------------------------------------------------+
+                      /usr/local/etc/smb4.conf @1498892020                      +
+--------------------------------------------------------------------------------+
[global]
    server max protocol = SMB3
    encrypt passwords = yes
    dns proxy = no
    strict locking = no
    oplocks = yes
    deadtime = 15
    max log size = 51200
    max open files = 231788
    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 = FREENAS
    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
    

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

[TestEnv0]
    path = /mnt/ServerFile/Test
    printable = no
    veto files = /.snapshot/.windows/.mac/.zfs/
    writeable = yes
    browseable = yes
    vfs objects = zfs_space zfsacl streams_xattr aio_pthread
    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 @1498892020                      +
+--------------------------------------------------------------------------------+
+--------------------------------------------------------------------------------+
+                   TestEnv0:/mnt/ServerFile/Test @1498892020                    +
+--------------------------------------------------------------------------------+
drwxrwxr-x+ 2 AFT-Store  Administrator  3 Jun 13 15:04 /mnt/ServerFile/Test

# file: /mnt/ServerFile/Test
# owner: AFT-Store
# group: Administrator
            owner@:rwxpDdaARWcCos:fd-----:allow
            group@:rwxpDdaARWcCos:fd-----:allow
         everyone@:r-x---a-R-c---:fd-----:allow

+--------------------------------------------------------------------------------+
+                ProdEnv0:/mnt/ServerFile/Production @1498892020                 +
+--------------------------------------------------------------------------------+
drwxrwxr-x+ 8 AFT-Store  Administrator  9 Jun 22 12:04 /mnt/ServerFile/Production

# file: /mnt/ServerFile/Production
# owner: AFT-Store
# group: Administrator
            owner@:rwxpDdaARWcCos:fd-----:allow
            group@:rwxpDdaARWcCos:fd-----:allow
         everyone@:r-x---a-R-c---:fd-----:allow

debug finished in 0 seconds for CIFS Shares & Permissions


+--------------------------------------------------------------------------------+
+                          net getlocalsid @1498892020                           +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
SID for domain FREENAS is: S-1-5-21-3538462664-1474705773-3080298641
debug finished in 0 seconds for net getlocalsid


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


+--------------------------------------------------------------------------------+
+                          net usersidlist @1498892020                           +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
FREENAS\abdul
 S-1-5-21-3538462664-1474705773-3080298641-1013
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-3538462664-1474705773-3080298641-1003
FREENAS\javed
 S-1-5-21-3538462664-1474705773-3080298641-1015
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-3538462664-1474705773-3080298641-1003
FREENAS\rafeekh
 S-1-5-21-3538462664-1474705773-3080298641-1014
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-3538462664-1474705773-3080298641-1003
FREENAS\eissa
 S-1-5-21-3538462664-1474705773-3080298641-1016
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-3538462664-1474705773-3080298641-1003
FREENAS\frida
 S-1-5-21-3538462664-1474705773-3080298641-1018
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-3538462664-1474705773-3080298641-1003
FREENAS\md
 S-1-5-21-3538462664-1474705773-3080298641-1004
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-3538462664-1474705773-3080298641-1003
FREENAS\aft-store
 S-1-5-21-3538462664-1474705773-3080298641-1001
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-3538462664-1474705773-3080298641-1000
FREENAS\root
 S-1-5-21-3538462664-1474705773-3080298641-1020
 S-1-1-0
 S-1-5-2
 S-1-5-11
FREENAS\nawaz
 S-1-5-21-3538462664-1474705773-3080298641-1017
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-3538462664-1474705773-3080298641-1003
FREENAS\annie
 S-1-5-21-3538462664-1474705773-3080298641-1019
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-3538462664-1474705773-3080298641-1003
FREENAS\nabil
 S-1-5-21-3538462664-1474705773-3080298641-1005
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-3538462664-1474705773-3080298641-1003
FREENAS\mazin
 S-1-5-21-3538462664-1474705773-3080298641-1006
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-3538462664-1474705773-3080298641-1003
FREENAS\shaker
 S-1-5-21-3538462664-1474705773-3080298641-1007
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-3538462664-1474705773-3080298641-1003
FREENAS\moid
 S-1-5-21-3538462664-1474705773-3080298641-1008
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-3538462664-1474705773-3080298641-1003
FREENAS\waleed
 S-1-5-21-3538462664-1474705773-3080298641-1009
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-3538462664-1474705773-3080298641-1003
FREENAS\ajeesh
 S-1-5-21-3538462664-1474705773-3080298641-1010
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-3538462664-1474705773-3080298641-1003
FREENAS\ahmad
 S-1-5-21-3538462664-1474705773-3080298641-1011
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-3538462664-1474705773-3080298641-1003
FREENAS\jerry
 S-1-5-21-3538462664-1474705773-3080298641-1012
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-3538462664-1474705773-3080298641-1003
debug finished in 0 seconds for net usersidlist


+--------------------------------------------------------------------------------+
+                         net groupmap list @1498892020                          +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
Administrator (S-1-5-21-3538462664-1474705773-3080298641-1000) -> Administrator
Users (S-1-5-21-3538462664-1474705773-3080298641-1003) -> Users
debug finished in 1 seconds for net groupmap list


+--------------------------------------------------------------------------------+
+                        net status sessions @1498892021                         +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
PID     Username      Group         Machine                        
-------------------------------------------------------------------
   5862   nabil         Users         192.168.1.146 (ipv4:192.168.1.146:49469)
debug finished in 0 seconds for net status sessions


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

Service      pid     machine       Connected at
-------------------------------------------------------
ProdEnv0     5862   192.168.1.146  Sat Jul  1 10:49:48 2017
debug finished in 0 seconds for net status shares


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


