[PATCH] Patch for bug 11347

Stefan Metzmacher metze at samba.org
Tue Dec 22 09:57:48 UTC 2015


Hi Ralph,

> Attached is a somewhat largish patchset for bug 11347.
> 
> The first 13 patches are mostly cleanup for the torture test and
> making sure the test not only works against Samba running on the same
> host but also against any remote server including the OS X SMB server.
> 
> Then comes a patch that adds a mapping EOVERFLOW to
> NT_STATUS_ALLOTTED_SPACE_EXCEEDED to errmap_unix. I need this because
> some SMB layer ftruncate requests have to be rejected with this NT
> error code.

Please remove the mapping again, when the switch to NTSTATUS is done,
otherwise we'll never get rid of it again as nobody will remember what
we might break if we remove it or change it to something more intuitive
like NT_STATUS_INTEGER_OVERFLOW in future.

It's already a problem to merge map_nt_error_from_unix_common()
and map_nt_error_from_unix() because we may break something.

Thanks
metze

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


More information about the samba-technical mailing list