From d7173b35e918292694b9cf27ecbcad3c9cc86da6 Mon Sep 17 00:00:00 2001 From: Steve French Date: Sun, 24 Apr 2005 02:59:40 +0000 Subject: 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) --- source3/libsmb/errormap.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/libsmb') diff --git a/source3/libsmb/errormap.c b/source3/libsmb/errormap.c index 8ac1aed923..c79561bda8 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 -- cgit