@anodosThank you so much for creating this guide. From my relatively inexperienced point of view, there's a lot of concession that has to be made in order for POSIX to support Windows, and your guide helps bring all that together in the context of TrueNas+ZFS+Samba. Dataset and share permissions were a subject that, while I enjoy learning, I was somewhat wanting to avoid, until I found this guide.
I have been studying TrueNAS for the past month and preparing a migration of my data from a roll-your-own Ubuntu file server (NFS shares, LVM on LUKS on MDADM (RAID 1)). I just LOVE ZFS, and the Free|TrueNAS community is simply amazing (along with a healthy serving of articles by Jim Salter).
I can say that reading over the responses in this thread there have been some who are understandably frustrated. It's unfortunate to think that some may never come back, but if they did, wow, the features in TrueNAS today are so very attractive. I find myself incredibly fortunate to make this transition, at this time.
I think on one hand, TrueNAS community is geared towards the lifelong learner, who enjoys tinkering, and understands the payoff will be worth it when learning open systems. On the other hand, for those who don't have time/desire to learn, or need a business solution, there's definitely iXsystems Commercial Support available. The Case Studies are simply fascinating reading. I would love to have been even a spectator for some of the clients, such as the solution for UCSD IGPP.
Again, THANK YOU!
PS - In my personal opinion, a perfect future would be a world absent of all SMB/CIFS. NFS, as the primary replacement, would add simple user authentication. Sure Kerberos is great, but PKI comes to mind, and perhaps other PAM extensions would be great; however, I am by no means an expert of NFS or its roadmap. Anyways, if that were possible, it will be a long time before Windows...I mean SMB/CIFS

...is effectively eradicated--it's a pretty nasty infection at this point, and I digress...