summaryrefslogtreecommitdiff
path: root/source3/libsmb/errormap.c
diff options
context:
space:
mode:
authorSteve French <sfrench@samba.org>2005-04-24 02:59:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:41 -0500
commitd7173b35e918292694b9cf27ecbcad3c9cc86da6 (patch)
tree788f7f28a34e69ad3e82e401fb5fdb066cb66810 /source3/libsmb/errormap.c
parent2e0cac8e3eb021aa8f5cad4ce8b72f98036af639 (diff)
downloadsamba-d7173b35e918292694b9cf27ecbcad3c9cc86da6.tar.gz
r6447: Add missing error mapping for EMLINK to NT_STATUS_TOO_MANY_LINKS (we have it the other direction
in clierror already). This fixes the return code when we try to hardlink from a client. (This used to be commit ccbdffb94e22c17b03b0a464071df027ebdc6264)
Diffstat (limited to 'source3/libsmb/errormap.c')
-rw-r--r--source3/libsmb/errormap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libsmb/errormap.c b/source3/libsmb/errormap.c
index 8ac1aed923b..c79561bda87 100644
--- a/source3/libsmb/errormap.c
+++ b/source3/libsmb/errormap.c
@@ -1505,6 +1505,7 @@ const struct unix_error_map unix_dos_nt_errmap[] = {
{ ENOSPC, ERRHRD, ERRdiskfull, NT_STATUS_DISK_FULL },
{ ENOMEM, ERRDOS, ERRnomem, NT_STATUS_NO_MEMORY },
{ EISDIR, ERRDOS, ERRnoaccess, NT_STATUS_FILE_IS_A_DIRECTORY},
+ { EMLINK, ERRDOS, ERRgeneral, NT_STATUS_TOO_MANY_LINKS },
#ifdef EDQUOT
{ EDQUOT, ERRHRD, ERRdiskfull, NT_STATUS_DISK_FULL },
#endif