+--------------------------------------------------------------------------------+
+                                  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 = 3771020
    syslog only = yes
    syslog = 1
    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
    acl allow execute always = true
    acl check permissions = true
    dos filemode = yes
    multicast dns register = yes
    domain logons = yes
    idmap config *: backend = tdb
    idmap config *: range = 90000001-100000000
    server role = member server
    netbios name = FREENAS1
    workgroup = DEPASSE
    realm = DEPASSE.NET
    security = ADS
    client use spnego = yes
    cache directory = /var/tmp/.cache/.samba
    local master = no
    domain master = no
    preferred master = no
    winbind cache time = 7200
    winbind offline logon = yes
    winbind enum users = yes
    winbind enum groups = yes
    winbind nested groups = yes
    winbind use default domain = no
    winbind refresh tickets = yes
    idmap config DEPASSE: backend = rid
    idmap config DEPASSE: range = 10000-90000000
    allow trusted domains = no
    client ldap sasl wrapping = plain
    template shell = /bin/sh
    template homedir = /home/%D/%U
    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
    

[Stuff]
    path = /mnt/tank/stuff
    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
    

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

[homes]
    valid users = %D\%U
    path = /mnt/tank/home/%D/%U
    comment = Home Directories
    printable = no
    veto files = /.snapshot/.windows/.mac/.zfs/
    writeable = yes
    browseable = no
    recycle:repository = .recycle/%U
    recycle:keeptree = yes
    recycle:versions = yes
    recycle:touch = yes
    recycle:directory_mode = 0777
    recycle:subdir_mode = 0700
    vfs objects = zfsacl
    hide dot files = yes
    guest ok = no
    nfs4:mode = special
    nfs4:acedup = merge
    nfs4:chown = true
    zfsacl:acesort = dontcare
    

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


+--------------------------------------------------------------------------------+
+                           CIFS Shares & Permissions                            +
+--------------------------------------------------------------------------------+
+--------------------------------------------------------------------------------+
+                             Stuff:/mnt/tank/stuff                              +
+--------------------------------------------------------------------------------+
drwxrwxr-x+ 2 root  DEPASSE\domain admins  3 Jun  2 14:58 /mnt/tank/stuff

# file: /mnt/tank/stuff
# owner: root
# group: DEPASSE\domain admins
            owner@:rwxpDdaARWcCos:fd----:allow
            group@:rwxpDdaARWcCos:fd----:allow
         everyone@:r-x---a-R-c---:fd----:allow

+--------------------------------------------------------------------------------+
+                              home:/mnt/tank/home                               +
+--------------------------------------------------------------------------------+
drwxrwxr-x+ 3 root  wheel  4 Dec 26 20:50 /mnt/tank/home

# file: /mnt/tank/home
# owner: root
# group: wheel
            owner@:rwxpDdaARWcCos:fd----:allow
            group@:rwxpDdaARWcCos:fd----:allow
         everyone@:r-x---a-R-c---:fd----:allow

+--------------------------------------------------------------------------------+
+                             media:/mnt/tank/media                              +
+--------------------------------------------------------------------------------+
drwxrwxr-x+ 20 99  media  26 Jun  2 11:31 /mnt/tank/media

# file: /mnt/tank/media
# owner: 99
# group: media
            owner@:rwxpDdaARWcCos:fd----:allow
            group@:rwxpDdaARWcCos:fd----:allow
         everyone@:r-x---a-R-c---:fd----:allow

+--------------------------------------------------------------------------------+
+                            backup:/mnt/tank/backup                             +
+--------------------------------------------------------------------------------+
drwxr-xr-x  7 98  98  7 Jun  7 21:30 /mnt/tank/backup

# file: /mnt/tank/backup
# owner: 98
# group: 98
            owner@:rwxp--aARWcCos:------:allow
            group@:r-x---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 FREENAS1 is: S-1-5-21-3220732126-133646975-2939937735


+--------------------------------------------------------------------------------+
+                                net getdomainsid                                +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
SID for local machine FREENAS1 is: S-1-5-21-3220732126-133646975-2939937735
SID for domain DEPASSE is: S-1-5-21-4000065454-2491860124-3439188521


+--------------------------------------------------------------------------------+
+                                net usersidlist                                 +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
DEPASSE\guest
 S-1-5-21-4000065454-2491860124-3439188521-501
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-4000065454-2491860124-3439188521-514
DEPASSE\krbtgt
 S-1-5-21-4000065454-2491860124-3439188521-502
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-4000065454-2491860124-3439188521-513
 S-1-5-21-4000065454-2491860124-3439188521-572
 S-1-5-32-545
DEPASSE\administrator
 S-1-5-21-4000065454-2491860124-3439188521-500
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-4000065454-2491860124-3439188521-513
 S-1-5-21-4000065454-2491860124-3439188521-572
 S-1-5-21-4000065454-2491860124-3439188521-519
 S-1-5-21-4000065454-2491860124-3439188521-518
 S-1-5-21-4000065454-2491860124-3439188521-520
 S-1-5-21-4000065454-2491860124-3439188521-512
 S-1-5-21-4000065454-2491860124-3439188521-1112
 S-1-5-32-545
 S-1-5-32-544
DEPASSE\ldapbind
 S-1-5-21-4000065454-2491860124-3439188521-1106
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-4000065454-2491860124-3439188521-513
 S-1-5-21-4000065454-2491860124-3439188521-572
 S-1-5-21-4000065454-2491860124-3439188521-512
 S-1-5-32-545
 S-1-5-32-544
DEPASSE\splunkservice
 S-1-5-21-4000065454-2491860124-3439188521-1105
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-4000065454-2491860124-3439188521-513
 S-1-5-32-545
DEPASSE\vmwareadmin
 S-1-5-21-4000065454-2491860124-3439188521-1113
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-4000065454-2491860124-3439188521-513
 S-1-5-21-4000065454-2491860124-3439188521-1112
 S-1-5-32-545
DEPASSE\viewcompadmin
 S-1-5-21-4000065454-2491860124-3439188521-1114
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-4000065454-2491860124-3439188521-513
 S-1-5-32-545
DEPASSE\greg
 S-1-5-21-4000065454-2491860124-3439188521-1178
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-4000065454-2491860124-3439188521-519
 S-1-5-21-4000065454-2491860124-3439188521-572
 S-1-5-21-4000065454-2491860124-3439188521-512
 S-1-5-21-4000065454-2491860124-3439188521-513
 S-1-5-32-544
 S-1-5-32-545
DEPASSE\pete
 S-1-5-21-4000065454-2491860124-3439188521-1220
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-4000065454-2491860124-3439188521-513
 S-1-5-32-545
DEPASSE\renee
 S-1-5-21-4000065454-2491860124-3439188521-1225
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-4000065454-2491860124-3439188521-513
 S-1-5-32-545
DEPASSE\debbie
 S-1-5-21-4000065454-2491860124-3439188521-1229
 S-1-1-0
 S-1-5-2
 S-1-5-11
 S-1-5-21-4000065454-2491860124-3439188521-513
 S-1-5-32-545


+--------------------------------------------------------------------------------+
+                              net status sessions                               +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
PID     Username      Group         Machine                        
-------------------------------------------------------------------


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

Service      pid     machine       Connected at
-------------------------------------------------------


+--------------------------------------------------------------------------------+
+                                Users and Groups                                +
+--------------------------------------------------------------------------------+
+--------------------------------------------------------------------------------+
+                                     Users                                      +
+--------------------------------------------------------------------------------+
DEPASSE\guest
DEPASSE\krbtgt
DEPASSE\administrator
DEPASSE\ldapbind
DEPASSE\splunkservice
DEPASSE\vmwareadmin
DEPASSE\viewcompadmin
DEPASSE\greg
DEPASSE\pete
DEPASSE\renee
DEPASSE\debbie
+--------------------------------------------------------------------------------+
+                                     Groups                                     +
+--------------------------------------------------------------------------------+
DEPASSE\domain computers
DEPASSE\cert publishers
DEPASSE\domain users
DEPASSE\domain guests
DEPASSE\ras and ias servers
DEPASSE\domain admins
DEPASSE\schema admins
DEPASSE\enterprise admins
DEPASSE\group policy creator owners
DEPASSE\allowed rodc password replication group
DEPASSE\denied rodc password replication group
DEPASSE\enterprise read-only domain controllers
DEPASSE\read-only domain controllers
DEPASSE\domain controllers
DEPASSE\dnsadmins
DEPASSE\dnsupdateproxy
DEPASSE\vmware view desktops
DEPASSE\vmware view users
DEPASSE\vmware view admins


