summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/common/util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/dsdb/common/util.c b/source4/dsdb/common/util.c
index 3ce0b2c050..a69ae80915 100644
--- a/source4/dsdb/common/util.c
+++ b/source4/dsdb/common/util.c
@@ -2154,7 +2154,8 @@ NTSTATUS samdb_set_password(struct ldb_context *ldb, TALLOC_CTX *mem_ctx,
status = NT_STATUS_WRONG_PASSWORD;
}
if (W_ERROR_EQUAL(werr, WERR_PASSWORD_RESTRICTION)) {
- status = NT_STATUS_PASSWORD_RESTRICTION; }
+ status = NT_STATUS_PASSWORD_RESTRICTION;
+ }
}
} else if (ret == LDB_ERR_NO_SUCH_OBJECT) {
/* don't let the caller know if an account doesn't exist */