Add error map of STATUS_INVALID_EA_NAME -> ERRDOS, ERRbadfile
authorJeremy Allison <jra@samba.org>
Wed, 10 Jul 2013 19:18:36 +0000 (12:18 -0700)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 19 Jul 2013 07:52:41 +0000 (17:52 +1000)
(from Windows2012 tests).

Bug 9992 - Windows error 0x800700FE when copying files with xattr names containing ":"

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
libcli/util/errormap.c

index 714e62c0d79ce2260c848811411620fde5cc8d23..38706195a0ca521eafaeaa14817a52759ab1fb1d 100644 (file)
@@ -54,6 +54,7 @@ static const struct {
  */
        {ERRDOS,        ERRmoredata,    STATUS_BUFFER_OVERFLOW},
        {ERRDOS,        ERRnofiles,     STATUS_NO_MORE_FILES},
+       {ERRDOS,        ERRbadfile,     STATUS_INVALID_EA_NAME},
        {ERRDOS,        ERRnofiles,     NT_STATUS_NO_MORE_ENTRIES},
        {ERRDOS,        ERRgeneral,     NT_STATUS_UNSUCCESSFUL},
        {ERRDOS,        ERRbadfunc,     NT_STATUS_NOT_IMPLEMENTED},