diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-05-10 20:04:37 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-05-10 20:04:37 +0200 |
commit | 4f25baecc14f977711ea5e3ddc226113e387fba3 (patch) | |
tree | 961f802bee8c9493d4f61a8ed3ca08ea774c5e84 /source4/dsdb | |
parent | fa87027592f71179c22f132e375038217bc9d36a (diff) | |
download | samba-4f25baecc14f977711ea5e3ddc226113e387fba3.tar.gz samba-4f25baecc14f977711ea5e3ddc226113e387fba3.tar.bz2 samba-4f25baecc14f977711ea5e3ddc226113e387fba3.zip |
s4:password_hash LDB module - quiet a warning
Diffstat (limited to 'source4/dsdb')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/password_hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/password_hash.c b/source4/dsdb/samdb/ldb_modules/password_hash.c index 7717b03621..a1ffdc0e92 100644 --- a/source4/dsdb/samdb/ldb_modules/password_hash.c +++ b/source4/dsdb/samdb/ldb_modules/password_hash.c @@ -2690,7 +2690,7 @@ static int password_hash_mod_do_mod(struct ph_context *ac) /* Get the old password from the database */ status = samdb_result_passwords(io.ac, ldb_get_opaque(ldb, "loadparm"), - searched_msg, + discard_const_p(struct ldb_message, searched_msg), &io.o.lm_hash, &io.o.nt_hash); if (!NT_STATUS_IS_OK(status)) { return LDB_ERR_OPERATIONS_ERROR; |