summaryrefslogtreecommitdiff
path: root/source4/libcli/util
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2010-03-10 20:58:16 +0100
committerBjörn Jacke <bj@sernet.de>2010-03-10 21:00:47 +0100
commit61bf804e8f8d7b43ff7b31b119fb988b30a7e54a (patch)
tree6f9c6c3b3374627159183cd9016a78686fd6f696 /source4/libcli/util
parentec6843402cdaecf8fa96f7b9c037f175dd128639 (diff)
downloadsamba-61bf804e8f8d7b43ff7b31b119fb988b30a7e54a.tar.gz
samba-61bf804e8f8d7b43ff7b31b119fb988b30a7e54a.tar.bz2
samba-61bf804e8f8d7b43ff7b31b119fb988b30a7e54a.zip
ѕ4: EDQUOT needs to be mapped to NT_STATUS_DISK_FULL
Diffstat (limited to 'source4/libcli/util')
-rw-r--r--source4/libcli/util/errormap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/util/errormap.c b/source4/libcli/util/errormap.c
index 930e45b214..c31419569c 100644
--- 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
- { 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 },