Samba4 w/zfs Share Setup

We need to update the samba4 master config located at /usr/local/etc/smb4.conf
I have added the following lines to the "Global" config which seems to work:

        # add the uid to the log
        debug uid = yes
        # add microsecond resolution to timestamp
        debug hires timestamp = yes
        ea support =  yes
        acl check permissions = yes
        inherit acls = yes
        csc policy = disable
        store dos attributes = yes
        dos filemode = no
        map read only = no
        # added to allow asynchronous I/O (make sure to load the kernel module aio)
        aio read size = 16384
        aio write size = 16384
        # added to enhance the network performance of samba
        socket options = TCP_NODELAY SO_SNDBUF=131072 SO_RCVBUF=131072

We need to create a zfs file system to point the share too. In this example I have a zpool called gls, others have called their pools "tank":

zfs create gls/Erie

 Here I have created a section for the Erie share and I put this section into the smb4.conf file:

        path = /gls/Erie
        read only = no
        browseable = yes
        guest ok = no
        delete readonly = yes
        vfs objects = zfsacl shadow_copy2
        shadow: snapdir = .zfs/snapshot
        shadow: sort = desc
        shadow: format = %Y-%m-%d-%H%M
        nfs4:mode = special
        nfs4:acedup = merge
        nfs4:chown = yes

That's it.   Now test!!!