[Linux-cifsd-devel] [PATCH] cifsd: make xattr format of ksmbd compatible with samba's one

Stefan Metzmacher metze at samba.org
Tue Jan 26 14:36:04 UTC 2021


Hi Namjae,

> Samba team request that ksmbd should make xattr format of ksmbd compatible
> with samba's one. When user replace samba with ksmbd or replace ksmbd
> with samba, The written attribute and ACLs of xattr in file should be used
> on both server. This patch work the following ones.
>  1. make xattr prefix compaible.
>     - rename creation.time and file.attribute to DOSATTRIB.
>     - rename stream. to DosStream.
>     - rename sd. to NTACL.
>  2. use same dos attribute and ntacl structure compaible with samba.
>  3. create read/write encoding of ndr functions in ndr.c to store ndr
>     encoded metadata to xattr.

Thanks a lot!

Do you also have this a git commit in some repository?

I played with ksmbd a bit in the last days.

I can also test this commit and check if the resulting
data is compatible with samba.

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20210126/6d595434/signature.sig>


More information about the samba-technical mailing list