[PATCH] SMB2 AAPL create context (was: Mac OS Mavericks über slow)

Ralph Böhme rb at sernet.de
Mon Oct 6 09:08:39 MDT 2014

Hi all,

On Thu, Oct 02, 2014 at 08:39:35PM -0500, Steve French wrote:
> I am ok with the MS NFS ACL stuff to be SMB3 (or SMB2/SMB3) only - but
> would prefer that we can enable that and the SFM style remapping of
> the 7 characters outside of AAPL (I am ok with another create context
> but ... don't want to force parsing a create context for these if not
> needed)

my take, which seems to align with what Brad says is:

* you need to support AAPL for MS NFS stuff _with OS X SMB server_

* with my patch you'd need it with Samba too, but we could also enable
  this via a smb.conf option

* you don't need AAPL for SFM character mapping

> On Thu, Oct 2, 2014 at 5:56 AM, Ralph Böhme <rb at sernet.de> wrote:
> > attached is an updated AAPL patchset [1]. Summary of changes:
> >
> > * fixes for issues found by Volker and metze
> >
> > * added a torture test
> >
> > * move MS NFS style uid, gid, mode mapping from vfs_fruit to the core
> >   POSIX ACL functions
> >
> > With minor changes, the MS NFS stuff could be used by the Linux smb
> > client. Atm I'm only enabling this functionality via smb2/create AAPL
> > context capability negotation, but that can be modified easily.
> >
> > Comments welcome! :)
> >
> > If the change to include MS NFS stuff in the core POSIX ACL routines
> > is accepted, I'll post and updated squashed patchset.

as pointed out by Volker off-list, this needs to be further refined in
order to support VFS modules that don't stack (eg gpfs, zfs). Working
on it...


SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen

More information about the samba-technical mailing list