From 463b1eb2b55ae85cfc9539c936375a989cde1076 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 30 Oct 2009 02:15:45 +0100 Subject: s3-passdb: cleanup some callers of pdb_get_trusteddom_pw(). Guenther --- source3/winbindd/winbindd_ads.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source3/winbindd') 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; } -- cgit