[PATCH RFC] s3: smbd: Consistently map EAs to user namespace

Jeremy Allison jra at samba.org
Tue Sep 27 21:45:07 UTC 2022

On Wed, Sep 28, 2022 at 10:37:41AM +1300, Andrew Bartlett via samba-technical wrote:
>I honestly can't think of a way out of this that doesn't break

What would it break ?

>Mapping the EAs from multiple namespaces by stripping the prefix really
>seems to be a bad idea - if only because information is lost.

See below. I don't think incoming EA's from SMB3 clients have
a namespace - just make the always user.

>Also, I just don't see what business a windows client would have in
>reading the non-user EAs, and if a client should read them they should
>be read in their own namespace.

As EA's from Windows clients don't have a namespace prefix
by default, they are always (or should be) mapped to the
user. namespace on UNIX.

What am I missing ? Under what circumstances would an
SMB3 client get or set a non-user namespace EA ?

More information about the samba-technical mailing list