diff options
author | Michael Adam <obnox@samba.org> | 2007-12-11 14:12:49 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2007-12-13 10:15:19 +0100 |
commit | ce76bcff29819056dc7a4aac0c3468022a7485f1 (patch) | |
tree | 1d2dd98da39a7bdabb893c08bc6db97a114a83f0 /source3 | |
parent | 31f221ed9316c8dc2f4911d7b8ddcdf8b74367db (diff) | |
download | samba-ce76bcff29819056dc7a4aac0c3468022a7485f1.tar.gz samba-ce76bcff29819056dc7a4aac0c3468022a7485f1.tar.bz2 samba-ce76bcff29819056dc7a4aac0c3468022a7485f1.zip |
Pass NULL instead of unneeded &sid: pdb_get_trusteddom_pw() checks.
Michael
(This used to be commit b2e12365b56f24586a7dfcb845f4de51f0b0e7d5)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/passdb/passdb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c index 11c5b68197..c4248bb48e 100644 --- a/source3/passdb/passdb.c +++ b/source3/passdb/passdb.c @@ -1537,7 +1537,6 @@ bool is_trusted_domain_situation(const char *domain_name) bool get_trust_pw_clear(const char *domain, char **ret_pwd, const char **account_name, uint32 *channel) { - DOM_SID sid; char *pwd; time_t last_set_time; @@ -1545,7 +1544,7 @@ bool get_trust_pw_clear(const char *domain, char **ret_pwd, * for the domain trust */ if (is_trusted_domain_situation(domain)) { - if (!pdb_get_trusteddom_pw(domain, ret_pwd, &sid, + if (!pdb_get_trusteddom_pw(domain, ret_pwd, NULL, &last_set_time)) { DEBUG(0, ("get_trust_pw: could not fetch trust " |