summaryrefslogtreecommitdiff
path: root/source4/dsdb/common/util.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2015-12-03 15:24:21 +0100
committerJeremy Allison <jra@samba.org>2016-09-28 00:04:21 +0200
commit89cc81ab0ec08354d208e25451c9d7106fa64182 (patch)
tree2c8da41828106462bbe7fa33e3d63540601e742f /source4/dsdb/common/util.c
parenta74ccb154de95bc4dee09d4b6cdf0615361de9d4 (diff)
downloadsamba-89cc81ab0ec08354d208e25451c9d7106fa64182.tar.gz
werror: replace WERR_GENERAL_FAILURE with WERR_GEN_FAILURE in source4/dsdb/common/util.c
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/dsdb/common/util.c')
-rw-r--r--source4/dsdb/common/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/common/util.c b/source4/dsdb/common/util.c
index d1777b3634e..d1396e4fd5c 100644
--- a/source4/dsdb/common/util.c
+++ b/source4/dsdb/common/util.c
@@ -2318,7 +2318,7 @@ static NTSTATUS samdb_set_password_internal(struct ldb_context *ldb, TALLOC_CTX
if (ret == LDB_ERR_CONSTRAINT_VIOLATION) {
const char *errmsg = ldb_errstring(ldb);
char *endptr = NULL;
- WERROR werr = WERR_GENERAL_FAILURE;
+ WERROR werr = WERR_GEN_FAILURE;
status = NT_STATUS_UNSUCCESSFUL;
if (errmsg != NULL) {
werr = W_ERROR(strtol(errmsg, &endptr, 16));