diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-09-18 10:06:03 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-09-24 09:25:41 +1000 |
commit | 7a1a0cde2e4b3f1ef43de9021dcc1e60da87089b (patch) | |
tree | c5dd089cd0e0040581b676d63e80abaaa079aada /source4/dsdb/samdb | |
parent | 9ca8214978246b07326973bc7534682bb27e7084 (diff) | |
download | samba-7a1a0cde2e4b3f1ef43de9021dcc1e60da87089b.tar.gz samba-7a1a0cde2e4b3f1ef43de9021dcc1e60da87089b.tar.bz2 samba-7a1a0cde2e4b3f1ef43de9021dcc1e60da87089b.zip |
s4:password_hash LDB module - don't assign "lp_ctx" twice
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/dsdb/samdb')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/password_hash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/password_hash.c b/source4/dsdb/samdb/ldb_modules/password_hash.c index 42ee65dc18..550f3c4e43 100644 --- a/source4/dsdb/samdb/ldb_modules/password_hash.c +++ b/source4/dsdb/samdb/ldb_modules/password_hash.c @@ -2687,8 +2687,8 @@ static int password_hash_mod_do_mod(struct ph_context *ac) { struct ldb_context *ldb = ldb_module_get_ctx(ac->module); struct loadparm_context *lp_ctx = - lp_ctx = talloc_get_type(ldb_get_opaque(ldb, "loadparm"), - struct loadparm_context); + talloc_get_type(ldb_get_opaque(ldb, "loadparm"), + struct loadparm_context); struct ldb_request *mod_req; struct ldb_message *msg; const struct ldb_message *orig_msg, *searched_msg; |