+--------------------------------------------------------------------------------+
+                                  CIFS Status                                   +
+--------------------------------------------------------------------------------+
CIFS is ENABLED


+--------------------------------------------------------------------------------+
+                            /usr/local/etc/smb4.conf                            +
+--------------------------------------------------------------------------------+
[global]
    server max protocol = SMB3
    interfaces = 127.0.0.1 10.7.10.99
    bind interfaces only = yes
    encrypt passwords = yes
    dns proxy = no
    strict locking = no
    oplocks = yes
    deadtime = 15
    max log size = 51200
    max open files = 3773144
    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
    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 = member server
    netbios name = FREENAS
    workgroup = NEWTYPE
    realm = NEWTYPE.US
    security = ADS
    client use spnego = yes
    cache directory = /var/tmp/.cache/.samba
    local master = no
    domain master = no
    preferred master = no
    ads dns update = yes
    winbind cache time = 7200
    winbind offline logon = yes
    winbind enum users = yes
    winbind enum groups = yes
    winbind nested groups = yes
    winbind use default domain = yes
    winbind refresh tickets = yes
    idmap config NEWTYPE: backend = rid
    idmap config NEWTYPE: range = 20000-90000000
    allow trusted domains = no
    client ldap sasl wrapping = plain
    template shell = /bin/sh
    template homedir = /home/%U
    pid directory = /var/run/samba
    create mask = 0755
    directory mask = 0755
    client ntlmv2 auth = yes
    dos charset = CP437
    unix charset = UTF-8
    log level = 1
    socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=131072 SO_SNDBUF=131072
    min receivefile size = 131072
    write cache size = 131072
    

[ISO]
    path = /mnt/volume0/ISO
    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 = yes
    nfs4:mode = special
    nfs4:acedup = merge
    nfs4:chown = true
    zfsacl:acesort = dontcare
    

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

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

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

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

[Torrent]
    path = /mnt/volume0/Torrent
    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                            +
+--------------------------------------------------------------------------------+
+--------------------------------------------------------------------------------+
+                             Sync:/mnt/volume0/Sync                             +
+--------------------------------------------------------------------------------+
drwxrwxr-x  4 817  domain users  4 Oct 28 14:42 /mnt/volume0/Sync

# file: /mnt/volume0/Sync
# owner: 817
# group: domain users
            owner@:rwxp--aARWcCos:------:allow
            group@:rwxp--a-R-c--s:------:allow
         everyone@:r-x---a-R-c--s:------:allow

+--------------------------------------------------------------------------------+
+                         Incoming:/mnt/volume0/Incoming                         +
+--------------------------------------------------------------------------------+
ls: /mnt/volume0/Incoming: No such file or directory

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

+--------------------------------------------------------------------------------+
+                            Media:/mnt/volume0/Media                            +
+--------------------------------------------------------------------------------+
drwxrwxr-x+ 6 root  domain users  7 Aug 10 16:09 /mnt/volume0/Media

# file: /mnt/volume0/Media
# owner: root
# group: domain users
            owner@:rwxpDdaARWcCos:fd----:allow
            group@:rwxpDdaARWcCos:fd----:allow
         everyone@:r-x---a-R-c---:fd----:allow

+--------------------------------------------------------------------------------+
+                          Private:/mnt/volume0/Private                          +
+--------------------------------------------------------------------------------+
drwxrwxr-x+ 168 root  domain users  243 Dec  6 01:14 /mnt/volume0/Private

# file: /mnt/volume0/Private
# owner: root
# group: domain users
            owner@:rwxpDdaARWcCos:fd----:allow
            group@:rwxpDdaARWcCos:fd----:allow
         everyone@:r-x---a-R-c---:fd----:allow

+--------------------------------------------------------------------------------+
+                          Torrent:/mnt/volume0/Torrent                          +
+--------------------------------------------------------------------------------+
drwxrwxr-x+ 41 root  domain users  103 Dec 12 05:57 /mnt/volume0/Torrent

# file: /mnt/volume0/Torrent
# owner: root
# group: domain users
            owner@:rwxpDdaARWcCos:fd----:allow
            group@:rwxpDdaARWcCos:fd----:allow
         everyone@:r-x---a-R-c---:fd----:allow

+--------------------------------------------------------------------------------+
+                              ISO:/mnt/volume0/ISO                              +
+--------------------------------------------------------------------------------+
drwxrwxrwx  3 root  wheel  23 Dec 10 16:13 /mnt/volume0/ISO

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

+--------------------------------------------------------------------------------+
+                            Share:/mnt/volume0/Share                            +
+--------------------------------------------------------------------------------+
drwxrwxr-x  5 root  domain users  12 Dec  8 01:17 /mnt/volume0/Share

# file: /mnt/volume0/Share
# owner: root
# group: domain users
            owner@:rwxp--aARWcCos:------:allow
            group@:rwxp--a-R-c--s:------:allow
         everyone@:r-x---a-R-c--s:------:allow



+--------------------------------------------------------------------------------+
+                                net getlocalsid                                 +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
SID for domain FREENAS is: S-1-5-21-2585868395-3527985125-1840819102


+--------------------------------------------------------------------------------+
+                                net getdomainsid                                +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
SID for local machine FREENAS is: S-1-5-21-2585868395-3527985125-1840819102
SID for domain NEWTYPE is: S-1-5-21-2248898222-1491668805-4068053637


+--------------------------------------------------------------------------------+
+                                net usersidlist                                 +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
guest
 S-1-5-21-2248898222-1491668805-4068053637-501
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-2248898222-1491668805-4068053637-514
krbtgt
 S-1-5-21-2248898222-1491668805-4068053637-502
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-2248898222-1491668805-4068053637-513
 S-1-5-21-2248898222-1491668805-4068053637-572
 S-1-5-32-545
administrator
 S-1-5-21-2248898222-1491668805-4068053637-500
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-2248898222-1491668805-4068053637-513
 S-1-5-21-2248898222-1491668805-4068053637-572
 S-1-5-21-2248898222-1491668805-4068053637-518
 S-1-5-21-2248898222-1491668805-4068053637-519
 S-1-5-21-2248898222-1491668805-4068053637-512
 S-1-5-21-2248898222-1491668805-4068053637-520
 S-1-5-32-545
 S-1-5-32-544
jimmy
 S-1-5-21-2248898222-1491668805-4068053637-1104
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-2248898222-1491668805-4068053637-513
 S-1-5-21-2248898222-1491668805-4068053637-1108
 S-1-5-21-2248898222-1491668805-4068053637-1122
 S-1-5-21-2248898222-1491668805-4068053637-512
 S-1-5-21-2248898222-1491668805-4068053637-1113
 S-1-5-21-2248898222-1491668805-4068053637-1119
 S-1-5-21-2248898222-1491668805-4068053637-572
 S-1-5-32-545
 S-1-5-32-544
jenny
 S-1-5-21-2248898222-1491668805-4068053637-1604
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-2248898222-1491668805-4068053637-513
 S-1-5-32-545
thuan
 S-1-5-21-2248898222-1491668805-4068053637-1615
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-2248898222-1491668805-4068053637-513
 S-1-5-32-545
eric
 S-1-5-21-2248898222-1491668805-4068053637-1602
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-2248898222-1491668805-4068053637-513
 S-1-5-32-545
nagios
 S-1-5-21-2248898222-1491668805-4068053637-2106
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-2248898222-1491668805-4068053637-513
 S-1-5-32-545
henry
 S-1-5-21-2248898222-1491668805-4068053637-1603
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-2248898222-1491668805-4068053637-513
 S-1-5-32-545
ldapuser
 S-1-5-21-2248898222-1491668805-4068053637-1120
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-2248898222-1491668805-4068053637-513
 S-1-5-32-545
veeam
 S-1-5-21-2248898222-1491668805-4068053637-1107
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-2248898222-1491668805-4068053637-513
 S-1-5-21-2248898222-1491668805-4068053637-1122
 S-1-5-32-545
aika
 S-1-5-21-2248898222-1491668805-4068053637-1114
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-2248898222-1491668805-4068053637-513
 S-1-5-21-2248898222-1491668805-4068053637-1119
 S-1-5-32-545


+--------------------------------------------------------------------------------+
+                               net groupmap list                                +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
Administrators (S-1-5-32-544) -> BUILTIN\administrators
Users (S-1-5-32-545) -> BUILTIN\users


+--------------------------------------------------------------------------------+
+                              net status sessions                               +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
PID     Username      Group         Machine                        
-------------------------------------------------------------------
  15053   jimmy         domain users  10.8.10.110  (ipv4:10.8.10.110:49758)


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

Service      pid     machine       Connected at
-------------------------------------------------------
Share        15053   10.8.10.110   Sat Dec 12 12:41:11 2015


+--------------------------------------------------------------------------------+
+                                Users and Groups                                +
+--------------------------------------------------------------------------------+
+--------------------------------------------------------------------------------+
+                                     Users                                      +
+--------------------------------------------------------------------------------+
guest
krbtgt
administrator
jimmy
jenny
thuan
eric
nagios
henry
ldapuser
veeam
aika
+--------------------------------------------------------------------------------+
+                                     Groups                                     +
+--------------------------------------------------------------------------------+
domain computers
cert publishers
domain users
domain guests
ras and ias servers
domain admins
schema admins
enterprise admins
group policy creator owners
allowed rodc password replication group
denied rodc password replication group
enterprise read-only domain controllers
cloneable domain controllers
protected users
domain controllers
read-only domain controllers
esx admins
dnsadmins
dnsupdateproxy
network admins
oc users
backup users
winrmremotewmiusers__


