From 1fc3676974b254fd5fd402e7fa600b9020748734 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Sun, 15 Aug 2010 19:45:29 +0200 Subject: s4:samdb_set_password - fix formatting (Sorry, I've overseen this) --- source4/dsdb/common/util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4') 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 */ -- cgit