From 948cd70bad6600a4e4e1493469efc0ccd9399c18 Mon Sep 17 00:00:00 2001 From: Kamen Mazdrashki Date: Fri, 18 Sep 2009 00:00:21 +0300 Subject: w32err: WERR_USER_EXISTS replace with WERR_USEREXISTS name In Win32 we have NERR_UserExists which maps to WERR_USER_EXISTS currently and there is ERROR_USER_EXISTS which maps to WERR_USER_ALREADY_EXISTS Signed-off-by: Anatoliy Atanasov --- libcli/util/doserr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libcli/util/doserr.c') diff --git a/libcli/util/doserr.c b/libcli/util/doserr.c index 2d33935d8f..1c1a39f7f9 100644 --- a/libcli/util/doserr.c +++ b/libcli/util/doserr.c @@ -76,7 +76,7 @@ static const struct werror_code_struct dos_errs[] = { "WERR_SETUP_DOMAIN_CONTROLLER", WERR_SETUP_DOMAIN_CONTROLLER }, { "WERR_DEVICE_NOT_AVAILABLE", WERR_DEVICE_NOT_AVAILABLE }, { "WERR_DEFAULT_JOIN_REQUIRED", WERR_DEFAULT_JOIN_REQUIRED }, - { "WERR_USER_EXISTS", WERR_USER_EXISTS }, + { "WERR_USEREXISTS", WERR_USEREXISTS }, { "WERR_REVISION_MISMATCH", WERR_REVISION_MISMATCH }, { "WERR_NO_LOGON_SERVERS", WERR_NO_LOGON_SERVERS }, { "WERR_NO_SUCH_LOGON_SESSION", WERR_NO_SUCH_LOGON_SESSION }, @@ -265,7 +265,7 @@ const struct werror_str_struct dos_err_strs[] = { { WERR_SETUP_ALREADY_JOINED, "Machine is already joined" }, { WERR_SETUP_DOMAIN_CONTROLLER, "Machine is a Domain Controller" }, { WERR_LOGON_FAILURE, "Invalid logon credentials" }, - { WERR_USER_EXISTS, "User account already exists" }, + { WERR_USEREXISTS, "The user account already exists." }, { WERR_PASSWORD_MUST_CHANGE, "The password must be changed" }, { WERR_ACCOUNT_LOCKED_OUT, "Account locked out" }, { WERR_TIME_SKEW, "Time difference between client and server" }, -- cgit