Andrew Walker
2014-Sep-03 13:53 UTC
[Samba] Effect of setting "store dos attributes = no" in Samba 4.1.11
Thanks for your help and replies. Yes, I meant "store dos attributes". It's pretty clear now that I need to keep the parameter 'store dos attributes=no' since 1) the server is an AD member server and 2) the map* parameters don't do the right thing under ZFS / NFSV4 ACLs. I've read that the steps Klaus Hartnegg listed resolves the issue on ZFS on Linux; however, I don't believe that SA based xattrs have been implemented in ZFS on FreeBSD (the OpenZFS website has "??" next to FreeBSD). Atime is already disabled on the zpool. At this point I'll have to wait until I get a proper testing environment set up to do proper experimentation / troubleshooting. -----Original Message----- From: Klaus Hartnegg [mailto:hartnegg at uni-freiburg.de] Sent: Tuesday, September 02, 2014 1:44 PM To: samba at lists.samba.org Subject: Re: [Samba] Effect of setting "store dos attributes = no" in Samba 4.1.11 Let's assume that the original poster meant "store dos attributes" and wants to use Windows-ACLs. Try zfs set xattr=sa $pool zfs set atime=off $pool And if you have ZFS version 0.6.3 try zfs set acltype=posixacl $pool
John Hixson
2014-Sep-03 14:01 UTC
[Samba] Effect of setting "store dos attributes = no" in Samba 4.1.11
On Wed, Sep 03, 2014 at 08:53:03AM -0500, Andrew Walker wrote:> Thanks for your help and replies. Yes, I meant "store dos attributes". > > It's pretty clear now that I need to keep the parameter 'store dos > attributes=no' since > > 1) the server is an AD member server and > > 2) the map* parameters don't do the right thing under ZFS / NFSV4 ACLs.The reason that "store dos attributes" is set to yes so that the map* attributes *are* ignored. I think you have it backwards, you want it set to yes (on FreeNAS). - John> > I've read that the steps Klaus Hartnegg listed resolves the issue on ZFS on > Linux; however, I don't believe that SA based xattrs have been implemented > in ZFS on FreeBSD (the OpenZFS website has "??" next to FreeBSD). Atime is > already disabled on the zpool. > > At this point I'll have to wait until I get a proper testing environment > set up to do proper experimentation / troubleshooting. > > > -----Original Message----- > From: Klaus Hartnegg [mailto:hartnegg at uni-freiburg.de] > Sent: Tuesday, September 02, 2014 1:44 PM > To: samba at lists.samba.org > Subject: Re: [Samba] Effect of setting "store dos attributes = no" in Samba > 4.1.11 > > Let's assume that the original poster meant "store dos attributes" and > wants to use Windows-ACLs. > > Try > > zfs set xattr=sa $pool > > zfs set atime=off $pool > > And if you have ZFS version 0.6.3 try > > zfs set acltype=posixacl $pool > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba