From e4dc7454346da21d5bc7df7028057d47d7d4d0a5 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 21 Mar 2006 11:14:29 +0000 Subject: r14611: Fix init_creds_opts issue jerry discovered when using MIT krb5 1.3: We were using a far too short renewable_time in the request; newer MIT releases take care interally that the renewable time is never shorter then the default ticket lifetime. Guenther (This used to be commit bde4a4018e26bc9aab4b928ec9811c05b21574f3) --- source3/nsswitch/winbindd_ads.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/nsswitch/winbindd_ads.c') diff --git a/source3/nsswitch/winbindd_ads.c b/source3/nsswitch/winbindd_ads.c index 179659f86f..5e0d4cfe8e 100644 --- a/source3/nsswitch/winbindd_ads.c +++ b/source3/nsswitch/winbindd_ads.c @@ -102,7 +102,7 @@ static ADS_STRUCT *ads_cached_connection(struct winbindd_domain *domain) ads->auth.realm = SMB_STRDUP( lp_realm() ); } - ads->auth.renewable = 1; + ads->auth.renewable = WINBINDD_PAM_AUTH_KRB5_RENEW_TIME; status = ads_connect(ads); if (!ADS_ERR_OK(status) || !ads->config.realm) { -- cgit