[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-3932-g0644255

Günther Deschner gd at samba.org
Mon Sep 1 22:47:42 GMT 2008


The branch, v3-3-test has been updated
       via  06442555c2a99c5efd70326337d991e5bd410734 (commit)
      from  5f082003bdd0bb06b391cb0dd0cf6287ba3b99c8 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -----------------------------------------------------------------
commit 06442555c2a99c5efd70326337d991e5bd410734
Author: Günther Deschner <gd at samba.org>
Date:   Mon Sep 1 17:07:33 2008 +0200

    doserr: add WERR_WRONG_PASSWORD.
    
    Guenther
    (cherry picked from commit 977fec76b77639403ba9ab7bb00c57601e23493d)

-----------------------------------------------------------------------

Summary of changes:
 source/include/doserr.h |    1 +
 source/libsmb/doserr.c  |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/include/doserr.h b/source/include/doserr.h
index 9dd20e8..c901df2 100644
--- a/source/include/doserr.h
+++ b/source/include/doserr.h
@@ -214,6 +214,7 @@
 #define WERR_GROUP_EXISTS W_ERROR(1318)
 #define WERR_MEMBER_IN_GROUP W_ERROR(1320)
 #define WERR_USER_NOT_IN_GROUP W_ERROR(1321)
+#define WERR_WRONG_PASSWORD W_ERROR(1323)
 #define WERR_PASSWORD_RESTRICTION W_ERROR(1325)
 #define WERR_LOGON_FAILURE W_ERROR(1326)
 #define WERR_NO_SUCH_DOMAIN W_ERROR(1355)
diff --git a/source/libsmb/doserr.c b/source/libsmb/doserr.c
index 50b5b22..c62918e 100644
--- a/source/libsmb/doserr.c
+++ b/source/libsmb/doserr.c
@@ -91,6 +91,7 @@ werror_code_struct dos_errs[] =
 	{ "WERR_DEFAULT_JOIN_REQUIRED", WERR_DEFAULT_JOIN_REQUIRED },
 	{ "WERR_DEVICE_NOT_AVAILABLE", WERR_DEVICE_NOT_AVAILABLE },
 	{ "WERR_LOGON_FAILURE", WERR_LOGON_FAILURE },
+	{ "WERR_WRONG_PASSWORD", WERR_WRONG_PASSWORD },
 	{ "WERR_PASSWORD_RESTRICTION", WERR_PASSWORD_RESTRICTION },
 	{ "WERR_NO_SUCH_DOMAIN", WERR_NO_SUCH_DOMAIN },
 	{ "WERR_NONE_MAPPED", WERR_NONE_MAPPED },
@@ -150,6 +151,7 @@ werror_str_struct dos_err_strs[] = {
 	{ WERR_GROUP_EXISTS, "Group already exists" },
 	{ WERR_DS_DRA_BAD_DN, "An invalid distinguished name was specified for this replication" },
 	{ WERR_DS_DRA_BAD_NC, "An invalid naming context was specified for this replication operation" },
+	{ WERR_WRONG_PASSWORD, "The current password is incorrect" }
 };
 
 /*****************************************************************************


-- 
Samba Shared Repository


More information about the samba-cvs mailing list