summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-10-30 02:15:45 +0100
committerGünther Deschner <gd@samba.org>2009-11-03 22:10:31 +0100
commit463b1eb2b55ae85cfc9539c936375a989cde1076 (patch)
tree7668bfd060eaa9d37cfb80639b24ae44c5aaace5 /source3/winbindd
parent31ce8eeb44d5060cfe85f42dc6ef092121b84a68 (diff)
downloadsamba-463b1eb2b55ae85cfc9539c936375a989cde1076.tar.gz
samba-463b1eb2b55ae85cfc9539c936375a989cde1076.tar.bz2
samba-463b1eb2b55ae85cfc9539c936375a989cde1076.zip
s3-passdb: cleanup some callers of pdb_get_trusteddom_pw().
Guenther
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd_ads.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/winbindd/winbindd_ads.c b/source3/winbindd/winbindd_ads.c
index 119e81d3e2..b271671665 100644
--- a/source3/winbindd/winbindd_ads.c
+++ b/source3/winbindd/winbindd_ads.c
@@ -84,10 +84,8 @@ static ADS_STRUCT *ads_cached_connection(struct winbindd_domain *domain)
SAFE_FREE(ads->auth.realm);
if ( IS_DC ) {
- DOM_SID sid;
- time_t last_set_time;
- if ( !pdb_get_trusteddom_pw( domain->name, &ads->auth.password, &sid, &last_set_time ) ) {
+ if ( !pdb_get_trusteddom_pw( domain->name, &ads->auth.password, NULL, NULL ) ) {
ads_destroy( &ads );
return NULL;
}