s3:lib/errmap_unix: map EOVERFLOW to NT_STATUS_ALLOTTED_SPACE_EXCEEDED
commite150a702fe5261fce2731c24966e64241960ba0a
authorRalph Boehme <slow@samba.org>
Thu, 17 Dec 2015 18:16:43 +0000 (17 19:16 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 6 Jan 2016 09:06:28 +0000 (6 10:06 +0100)
treecbca3162e4751d62fdeb55d15cef43b1b93f66e9
parenta9d4091c89c2b8d65c0e61154b32d430fb907ca8
s3:lib/errmap_unix: map EOVERFLOW to NT_STATUS_ALLOTTED_SPACE_EXCEEDED

vfs_fruit returns the correct error NT_STATUS_ALLOTTED_SPACE_EXCEEDED
when an attempt is made to extend the AFP_AfpInfo stream beyond 60
bytes.

This will be used in a subsequent commit in vfs_fruit.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=11347

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 1650e793edb42b07501d7467aa64c80eacf33eb6)
source3/lib/errmap_unix.c