summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-03-21 11:14:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:39 -0500
commite4dc7454346da21d5bc7df7028057d47d7d4d0a5 (patch)
treea10814cd00eb2227df9f1fbf3c90c489d012a2be /source3/nsswitch
parent5067cca077ab8dde110f79ea9e60611dc25ddf64 (diff)
downloadsamba-e4dc7454346da21d5bc7df7028057d47d7d4d0a5.tar.gz
samba-e4dc7454346da21d5bc7df7028057d47d7d4d0a5.tar.bz2
samba-e4dc7454346da21d5bc7df7028057d47d7d4d0a5.zip
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)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_ads.c2
1 files changed, 1 insertions, 1 deletions
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) {