diff options
author | Michael Adam <obnox@samba.org> | 2007-12-12 13:37:46 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-12-12 09:47:28 -0800 |
commit | b0469d0b6949525479ecd980d9d5991a8908ba26 (patch) | |
tree | 83f2ea1e1baf44204784974b65a46ec8b51bdd77 | |
parent | e3e16928c057b35b66bc814a507fc79b9e02084c (diff) | |
download | samba-b0469d0b6949525479ecd980d9d5991a8908ba26.tar.gz samba-b0469d0b6949525479ecd980d9d5991a8908ba26.tar.bz2 samba-b0469d0b6949525479ecd980d9d5991a8908ba26.zip |
Fix secrets_store_trusted_domain_password() after pstring removal.
Jeremy, this small "&" sign has given me a headache... :-)
Michael
(This used to be commit 7590b12a994cc3c5f299ce7f3299c76adad1c599)
-rw-r--r-- | source3/passdb/secrets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/secrets.c b/source3/passdb/secrets.c index eee8aaed2d..32335eec89 100644 --- a/source3/passdb/secrets.c +++ b/source3/passdb/secrets.c @@ -622,7 +622,7 @@ bool secrets_store_trusted_domain_password(const char* domain, const char* pwd, return false; } pass_len = tdb_trusted_dom_pass_pack(pass_buf, pass_len, &pass); - ret = secrets_store(trustdom_keystr(domain), (void *)&pass_buf, + ret = secrets_store(trustdom_keystr(domain), (void *)pass_buf, pass_len); SAFE_FREE(pass_buf); return ret; |