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


+--------------------------------------------------------------------------------+
+                            /usr/local/etc/smb4.conf                            +
+--------------------------------------------------------------------------------+
[global]
    username map = /usr/local/etc/smbusers
    server max protocol = SMB2
    encrypt passwords = yes
    dns proxy = no
    strict locking = no
    oplocks = yes
    deadtime = 15
    max log size = 51200
    max open files = 223580
    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 = Warehouse NAS
    ea support = yes
    store dos attributes = yes
    lm announce = yes
    hostname lookups = yes
    time server = yes
    acl allow execute always = true
    acl check permissions = true
    dos filemode = yes
    multicast dns register = no
    domain logons = no
    local master = yes
    idmap config *: backend = tdb
    idmap config *: range = 90000001-100000000
    server role = standalone
    netbios name = WAREHOUSE
    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 = 10
    

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

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

[homes]
    valid users = %U
    path = /mnt/Main/%U
    comment = Home Directories
    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
    

[Main]
    path = /mnt/Main
    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                            +
+--------------------------------------------------------------------------------+
+--------------------------------------------------------------------------------+
+                                 Main:/mnt/Main                                 +
+--------------------------------------------------------------------------------+
drwxrwxr-x+ 20 Jan  User  21 Apr 13 18:24 /mnt/Main

# file: /mnt/Main
# owner: Jan
# group: User
            owner@:rwxpDdaARWcCos:fd----:allow
            group@:rwxpDdaARWcCos:fd----:allow
         everyone@:r-x---a-R-c---:fd----:allow

+--------------------------------------------------------------------------------+
+                                 Main:/mnt/Main                                 +
+--------------------------------------------------------------------------------+
drwxrwxr-x+ 20 Jan  User  21 Apr 13 18:24 /mnt/Main

# file: /mnt/Main
# owner: Jan
# group: User
            owner@:rwxpDdaARWcCos:fd----:allow
            group@:rwxpDdaARWcCos:fd----:allow
         everyone@:r-x---a-R-c---:fd----:allow

+--------------------------------------------------------------------------------+
+                               Archiv:/mnt/Archiv                               +
+--------------------------------------------------------------------------------+
drwxrwx---  4 root  User  4 Mar  2 15:54 /mnt/Archiv

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

+--------------------------------------------------------------------------------+
+                                 Main:/mnt/Main                                 +
+--------------------------------------------------------------------------------+
drwxrwxr-x+ 20 Jan  User  21 Apr 13 18:24 /mnt/Main

# file: /mnt/Main
# owner: Jan
# group: User
            owner@:rwxpDdaARWcCos:fd----:allow
            group@:rwxpDdaARWcCos:fd----:allow
         everyone@:r-x---a-R-c---:fd----:allow



+--------------------------------------------------------------------------------+
+                                net getlocalsid                                 +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
SID for domain WAREHOUSE is: S-1-5-21-2378987950-2199921479-3100697784


+--------------------------------------------------------------------------------+
+                                net getdomainsid                                +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
Could not fetch domain SID
SID for local machine WAREHOUSE is: S-1-5-21-2378987950-2199921479-3100697784


+--------------------------------------------------------------------------------+
+                                net usersidlist                                 +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
WAREHOUSE\hso
 S-1-5-21-2378987950-2199921479-3100697784-3010
 S-1-1-0
 S-1-5-2
 S-1-5-11
WAREHOUSE\root
 S-1-5-21-2378987950-2199921479-3100697784-1000
 S-1-1-0
 S-1-5-2
 S-1-5-11
WAREHOUSE\kodi
 S-1-5-21-2378987950-2199921479-3100697784-1002
 S-1-1-0
 S-1-5-2
 S-1-5-11
WAREHOUSE\miriam
 S-1-5-21-2378987950-2199921479-3100697784-3002
 S-1-1-0
 S-1-5-2
 S-1-5-11
WAREHOUSE\jan
 S-1-5-21-2378987950-2199921479-3100697784-3004
 S-1-1-0
 S-1-5-2
 S-1-5-11
WAREHOUSE\xbmc
 S-1-5-21-2378987950-2199921479-3100697784-3006
 S-1-1-0
 S-1-5-2
 S-1-5-11
WAREHOUSE\ipad
 S-1-5-21-2378987950-2199921479-3100697784-3008
 S-1-1-0
 S-1-5-2
 S-1-5-11


+--------------------------------------------------------------------------------+
+                               net groupmap list                                +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
User (S-1-5-21-2378987950-2199921479-3100697784-1001) -> User


+--------------------------------------------------------------------------------+
+                              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                                      +
+--------------------------------------------------------------------------------+
WAREHOUSE\hso
WAREHOUSE\root
WAREHOUSE\kodi
WAREHOUSE\miriam
WAREHOUSE\jan
WAREHOUSE\xbmc
WAREHOUSE\ipad
+--------------------------------------------------------------------------------+
+                                     Groups                                     +
+--------------------------------------------------------------------------------+


