[Samba] error when trying to copy file from samba share to old Windows CE share

Dan Arena ddan39 at gmail.com
Thu Jun 20 14:09:08 UTC 2019


On Wed, Jun 19, 2019 at 3:41 PM Jeremy Allison <jra at samba.org> wrote:
> Weren't you getting a NT_STATUS_NOT_IMPLEMENTED level
> error return ?
>
> Look for the specific error return you see on the WinCE
> client in the trace.

Figured out the issue...

After comparing a good vs bad file copy in wireshark for a while, I
have found where it goes wrong. On the good copy I see an "NT Create
AndX Request" with a response that says it created the file. On the
bad copy it instead does a "NT Trans Request, NT CREATE" with an
additional "NT CREATE data" that has the SELinux context in it.
Comparing the old vs new smb.conf man page it looks like "ea support"
in the older samba version was default to no, while it is default to
yes in the newer samba version. Windows is some how storing those
extended attributes, and fails when trying to transfer a file with the
selinux extended attribute.

Setting "ea support = no" fixed the issue.

Thanks,
Dan



More information about the samba mailing list