+--------------------------------------------------------------------------------+
+                                  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 = 470315
    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 2
    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 = no
    idmap config *: backend = tdb
    idmap config *: range = 90000001-100000000
    server role = standalone
    netbios name = HAUGUR2
    workgroup = WORKGROUP
    security = user
    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
    

[homes]
    valid users = %U
    path = /mnt/vol1/home/%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 aio_pthread streams_xattr
    hide dot files = yes
    guest ok = no
    nfs4:mode = special
    nfs4:acedup = merge
    nfs4:chown = true
    zfsacl:acesort = dontcare
    

[cbdp]
    path = /mnt/vol1/cbdp
    comment = Haugur 2 - cbdp
    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
    shadow:snapdir = .zfs/snapshot
    shadow:sort = desc
    shadow:localtime = yes
    shadow:format = auto-%Y%m%d.%H%M-1m
    shadow:snapdirseverywhere = yes
    vfs objects = shadow_copy2 zfsacl aio_pthread streams_xattr
    hide dot files = no
    hosts allow = 192.168.1.0/24
    guest ok = no
    nfs4:mode = special
    nfs4:acedup = merge
    nfs4:chown = true
    zfsacl:acesort = dontcare
    

[schmurd]
    path = /mnt/vol1/schmurd
    comment = Hurð ehf
    printable = no
    veto files = /.snapshot/.windows/.mac/.zfs/
    writeable = no
    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 = no
    hosts allow = 192.168.1.0/24
    guest ok = no
    nfs4:mode = special
    nfs4:acedup = merge
    nfs4:chown = true
    zfsacl:acesort = dontcare
    

[pakkhus]
    path = /mnt/vol1/pakkhus
    comment = Haugur 2 - Pakkhus
    printable = no
    veto files = /.snapshot/.windows/.mac/.zfs/
    writeable = no
    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 = no
    hosts allow = 192.168.1.0/24
    guest ok = no
    nfs4:mode = special
    nfs4:acedup = merge
    nfs4:chown = true
    zfsacl:acesort = dontcare
    

[webserver]
    path = /mnt/vol1/webserver
    comment = Haugur 2 - webserver
    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
    hosts allow = 192.168.1.0/24
    guest ok = no
    nfs4:mode = special
    nfs4:acedup = merge
    nfs4:chown = true
    zfsacl:acesort = dontcare
    

[zfsrep]
    path = /mnt/vol1/home/zfsrep
    comment = zfsrep home
    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
    hosts allow = 192.168.1.0/24
    guest ok = no
    nfs4:mode = special
    nfs4:acedup = merge
    nfs4:chown = true
    zfsacl:acesort = dontcare


+--------------------------------------------------------------------------------+
+                           CIFS Shares & Permissions                            +
+--------------------------------------------------------------------------------+
+--------------------------------------------------------------------------------+
+                                :/mnt/vol1/home                                 +
+--------------------------------------------------------------------------------+
drwxr-xr-x  4 root  wheel  4 Sep 28  2014 /mnt/vol1/home

# file: /mnt/vol1/home
# owner: root
# group: wheel
            owner@:rwxp--aARWcCos:------:allow
            group@:r-x---a-R-c--s:------:allow
         everyone@:r-x---a-R-c--s:------:allow

+--------------------------------------------------------------------------------+
+                          schmurd:/mnt/vol1/schmurd                           +
+--------------------------------------------------------------------------------+
drwxrwxr-x+ 14 schmurd  schmurd  15 May 11 10:20 /mnt/vol1/schmurd

# file: /mnt/vol1/schmurd
# owner: schmurd
# group: schmurd
            owner@:rwxpDdaARWcCos:fd----:allow
            group@:rwxpDdaARWcCos:fd----:allow
         everyone@:r-x---a-R-c---:fd----:allow

+--------------------------------------------------------------------------------+
+                         webserver:/mnt/vol1/webserver                          +
+--------------------------------------------------------------------------------+
drwxrwxr-x+ 5 www-data  www-data  14 May 10 02:16 /mnt/vol1/webserver

# file: /mnt/vol1/webserver
# owner: www-data
# group: www-data
            owner@:rwxpDdaARWcCos:fd----:allow
            group@:rwxpDdaARWcCos:fd----:allow
         everyone@:r-x---a-R-c---:fd----:allow

+--------------------------------------------------------------------------------+
+                           pakkhus:/mnt/vol1/pakkhus                            +
+--------------------------------------------------------------------------------+
drwxrwx---  7 pakk  pakk  8 May  8 09:01 /mnt/vol1/pakkhus

# file: /mnt/vol1/pakkhus
# owner: pakk
# group: pakk
            owner@:rwxp--aARWcCos:------:allow
            group@:rwxp--a-R-c--s:------:allow
         everyone@:------a-R-c--s:------:allow

+--------------------------------------------------------------------------------+
+                          zfsrep:/mnt/vol1/home/zfsrep                          +
+--------------------------------------------------------------------------------+
drwxr-xr-x  2 root  wheel  3 Sep 28  2014 /mnt/vol1/home/zfsrep

# file: /mnt/vol1/home/zfsrep
# owner: root
# group: wheel
            owner@:rwxp--aARWcCos:------:allow
            group@:r-x---a-R-c--s:------:allow
         everyone@:r-x---a-R-c--s:------:allow

+--------------------------------------------------------------------------------+
+                              cbdp:/mnt/vol1/cbdp                               +
+--------------------------------------------------------------------------------+
drwxrwx---  16 cbdp  wheel  28 May  8 09:01 /mnt/vol1/cbdp

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



+--------------------------------------------------------------------------------+
+                                net getlocalsid                                 +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
SID for domain HAUGUR2 is: S-1-5-21-1586230171-1436089536-3873385093


+--------------------------------------------------------------------------------+
+                                net getdomainsid                                +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
Could not fetch domain SID
SID for local machine HAUGUR2 is: S-1-5-21-1586230171-1436089536-3873385093


+--------------------------------------------------------------------------------+
+                                net usersidlist                                 +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
HAUGUR2\root
 S-1-5-21-1586230171-1436089536-3873385093-1000
 S-1-1-0
 S-1-5-2
 S-1-5-11
HAUGUR2\cbdp
 S-1-5-21-1586230171-1436089536-3873385093-3002
 S-1-1-0
 S-1-5-2
 S-1-5-11


+--------------------------------------------------------------------------------+
+                              net status sessions                               +
+--------------------------------------------------------------------------------+
Environment LOGNAME is not defined. Trying anonymous access.
PID     Username      Group         Machine                        
-------------------------------------------------------------------
   7212   cbdp          cbdp          192.168.1.102 (ipv4:192.168.1.102:60164)


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

Service      pid     machine       Connected at
-------------------------------------------------------
pakkhus      7212   192.168.1.102  Fri May  8 09:24:59 2015
cbdp         7212   192.168.1.102  Fri May  8 09:22:04 2015
schmurd     7212   192.168.1.102  Fri May  8 09:24:59 2015


+--------------------------------------------------------------------------------+
+                                Users and Groups                                +
+--------------------------------------------------------------------------------+
+--------------------------------------------------------------------------------+
+                                     Users                                      +
+--------------------------------------------------------------------------------+
HAUGUR2\root
HAUGUR2\cbdp
+--------------------------------------------------------------------------------+
+                                     Groups                                     +
+--------------------------------------------------------------------------------+


