From 44b728958ae9a48bb56591532e5db9867311c1b9 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 23 Oct 2008 15:35:21 +0200 Subject: Use common error definitions. --- source3/libsmb/doserr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/libsmb/doserr.c') diff --git a/source3/libsmb/doserr.c b/source3/libsmb/doserr.c index 2716e04d91..d14733a534 100644 --- a/source3/libsmb/doserr.c +++ b/source3/libsmb/doserr.c @@ -81,7 +81,7 @@ werror_code_struct dos_errs[] = { "WERR_DFS_NO_SUCH_SERVER", WERR_DFS_NO_SUCH_SERVER }, { "WERR_DFS_INTERNAL_ERROR", WERR_DFS_INTERNAL_ERROR }, { "WERR_DFS_CANT_CREATE_JUNCT", WERR_DFS_CANT_CREATE_JUNCT }, - { "WERR_INVALID_COMPUTER_NAME", WERR_INVALID_COMPUTER_NAME }, + { "WERR_INVALID_COMPUTERNAME", WERR_INVALID_COMPUTERNAME }, { "WERR_INVALID_DOMAINNAME", WERR_INVALID_DOMAINNAME }, { "WERR_MACHINE_LOCKED", WERR_MACHINE_LOCKED }, { "WERR_DC_NOT_FOUND", WERR_DC_NOT_FOUND }, -- cgit From f9fb9436ae7a6556d3636f732889bae136a81390 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 23 Oct 2008 15:37:39 +0200 Subject: Use WERR_FILE_EXISTS which is the equivalent of WERR_ALREADY_EXISTS previously present in Samba 3. --- source3/libsmb/doserr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/libsmb/doserr.c') diff --git a/source3/libsmb/doserr.c b/source3/libsmb/doserr.c index d14733a534..0cccae1e6a 100644 --- a/source3/libsmb/doserr.c +++ b/source3/libsmb/doserr.c @@ -42,7 +42,7 @@ werror_code_struct dos_errs[] = { "WERR_INSUFFICIENT_BUFFER", WERR_INSUFFICIENT_BUFFER }, { "WERR_SEM_TIMEOUT", WERR_SEM_TIMEOUT }, { "WERR_NO_SUCH_SHARE", WERR_NO_SUCH_SHARE }, - { "WERR_ALREADY_EXISTS", WERR_ALREADY_EXISTS }, + { "WERR_FILE_EXISTS", WERR_FILE_EXISTS }, { "WERR_INVALID_PARAM", WERR_INVALID_PARAM }, { "WERR_NOT_SUPPORTED", WERR_NOT_SUPPORTED }, { "WERR_BAD_PASSWORD", WERR_BAD_PASSWORD }, -- cgit