summaryrefslogtreecommitdiff
path: root/source4/dsdb/common
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-08-19 08:59:58 +0200
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-09-06 12:16:49 +0200
commit43cfa69945c121b6929512a2ea607b2c3bfe0a74 (patch)
tree11ac6f66cf25482ce1739ec41669afc5a136aa2f /source4/dsdb/common
parente6cb98e53a25af5fba2dc579ff6a51653183eb70 (diff)
downloadsamba-43cfa69945c121b6929512a2ea607b2c3bfe0a74.tar.gz
samba-43cfa69945c121b6929512a2ea607b2c3bfe0a74.tar.bz2
samba-43cfa69945c121b6929512a2ea607b2c3bfe0a74.zip
s4:dsdb/common/util - Indentation fixes
Diffstat (limited to 'source4/dsdb/common')
-rw-r--r--source4/dsdb/common/util.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/source4/dsdb/common/util.c b/source4/dsdb/common/util.c
index 5834282fbd..189cb4ec82 100644
--- a/source4/dsdb/common/util.c
+++ b/source4/dsdb/common/util.c
@@ -1700,10 +1700,11 @@ NTSTATUS samdb_set_password(struct ldb_context *ctx, TALLOC_CTX *mem_ctx,
ntNewHash = &local_ntNewHash;
/* Only check complexity if we can convert it at all. Assuming unconvertable passwords are 'strong' */
- if (convert_string_talloc_convenience(mem_ctx, lp_iconv_convenience(ldb_get_opaque(ctx, "loadparm")),
- CH_UTF16, CH_UNIX,
- new_password->data, new_password->length,
- (void **)&new_pass, NULL, false)) {
+ if (convert_string_talloc_convenience(mem_ctx,
+ lp_iconv_convenience(ldb_get_opaque(ctx, "loadparm")),
+ CH_UTF16, CH_UNIX,
+ new_password->data, new_password->length,
+ (void **)&new_pass, NULL, false)) {
/* possibly check password complexity */
if (restrictions && (pwdProperties & DOMAIN_PASSWORD_COMPLEX) &&