summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-08-15 19:45:29 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-08-15 19:45:29 +0200
commit1fc3676974b254fd5fd402e7fa600b9020748734 (patch)
tree0bdf721646685d1de1084d71cd1ccf4c20f19fcc /source4/dsdb
parentaf3c6a42426241704580f4440b09a8c155d212df (diff)
downloadsamba-1fc3676974b254fd5fd402e7fa600b9020748734.tar.gz
samba-1fc3676974b254fd5fd402e7fa600b9020748734.tar.bz2
samba-1fc3676974b254fd5fd402e7fa600b9020748734.zip
s4:samdb_set_password - fix formatting
(Sorry, I've overseen this)
Diffstat (limited to 'source4/dsdb')
-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 */