ѕ4: EDQUOT needs to be mapped to NT_STATUS_DISK_FULL
[ira/wip.git] / source4 / libcli / util / errormap.c
index 930e45b214e270043bc7224be705571f60d1eef9..c31419569c169449a538f0fef4bb2309c74d5261 100644 (file)
@@ -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 },