summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-01-16 21:27:57 +0000
committerJeremy Allison <jra@samba.org>2002-01-16 21:27:57 +0000
commit04ec469c72c6a220108312cdec3d30081cfe938a (patch)
tree18e07e97f75c619012b77db2b2679112a9808f78 /source3/include/smb.h
parent1cd8c9c41f05402f3da5c36d8a8333db0078198e (diff)
downloadsamba-04ec469c72c6a220108312cdec3d30081cfe938a.tar.gz
samba-04ec469c72c6a220108312cdec3d30081cfe938a.tar.bz2
samba-04ec469c72c6a220108312cdec3d30081cfe938a.zip
Fixup error mapping so we have only one table containing errno -> dos error -> NT STATUS
maps. Fixes problem with disk full returning incorrect error. Jeremy. (This used to be commit 16fcbf3c1ccf1d704765653f68395dd596c0d841)
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r--source3/include/smb.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index cfb5d5f5e1..bbc2d597ac 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -1631,6 +1631,13 @@ typedef struct user_struct
} user_struct;
+struct unix_error_map {
+ int unix_error;
+ int dos_class;
+ int dos_code;
+ NTSTATUS nt_error;
+};
+
#include "ntdomain.h"
#include "client.h"