diff options
author | Jeremy Allison <jra@samba.org> | 2004-02-28 01:53:19 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2004-02-28 01:53:19 +0000 |
commit | a51129c4740cc4795440c193a99cedf844531462 (patch) | |
tree | 39ea8e843b85c915e29cd2e9600c53863b3c2a1d /source3/libsmb | |
parent | cff0114f2b5965cfc49f39061305ff23fa4f3931 (diff) | |
download | samba-a51129c4740cc4795440c193a99cedf844531462.tar.gz samba-a51129c4740cc4795440c193a99cedf844531462.tar.bz2 samba-a51129c4740cc4795440c193a99cedf844531462.zip |
Can't set allocation size on directories, return correct error code on
fail if file exists and target is a directory. gentest.
Jeremy.
(This used to be commit 4b1262322995c8794cd73d84712f82d8c91abdc6)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/errormap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libsmb/errormap.c b/source3/libsmb/errormap.c index 116d2cefe1..aeb68b6596 100644 --- a/source3/libsmb/errormap.c +++ b/source3/libsmb/errormap.c @@ -1503,6 +1503,7 @@ const struct unix_error_map unix_dos_nt_errmap[] = { { EMFILE, ERRDOS, ERRnofids, NT_STATUS_TOO_MANY_OPENED_FILES }, { ENOSPC, ERRHRD, ERRdiskfull, NT_STATUS_DISK_FULL }, { ENOMEM, ERRDOS, ERRnomem, NT_STATUS_NO_MEMORY }, + { EISDIR, ERRDOS, ERRnoaccess, NT_STATUS_FILE_IS_A_DIRECTORY}, #ifdef EDQUOT { EDQUOT, ERRHRD, ERRdiskfull, NT_STATUS_DISK_FULL }, #endif |