git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ec68434
)
ѕ4: EDQUOT needs to be mapped to NT_STATUS_DISK_FULL
author
Björn Jacke
<bj@sernet.de>
Wed, 10 Mar 2010 19:58:16 +0000
(20:58 +0100)
committer
Björn Jacke
<bj@sernet.de>
Wed, 10 Mar 2010 20:00:47 +0000
(21:00 +0100)
source4/libcli/util/errormap.c
patch
|
blob
|
history
diff --git
a/source4/libcli/util/errormap.c
b/source4/libcli/util/errormap.c
index 930e45b214e270043bc7224be705571f60d1eef9..c31419569c169449a538f0fef4bb2309c74d5261 100644
(file)
--- a/
source4/libcli/util/errormap.c
+++ b/
source4/libcli/util/errormap.c
@@
-1321,7
+1321,7
@@
const struct unix_error_map unix_nt_errmap[] = {
{ ENODATA, NT_STATUS_NOT_FOUND },
#endif
#ifdef EDQUOT
{ ENODATA, NT_STATUS_NOT_FOUND },
#endif
#ifdef EDQUOT
- { EDQUOT, NT_STATUS_
QUOTA_EXCEEDED },
+ { EDQUOT, NT_STATUS_
DISK_FULL }, /* Windows does NOT return NT_STATUS_QUOTA_EXCEEDED */
#endif
#ifdef ENOTEMPTY
{ ENOTEMPTY, NT_STATUS_DIRECTORY_NOT_EMPTY },
#endif
#ifdef ENOTEMPTY
{ ENOTEMPTY, NT_STATUS_DIRECTORY_NOT_EMPTY },