diff options
author | Günther Deschner <gd@samba.org> | 2006-03-20 19:05:44 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:15:38 -0500 |
commit | afc519530f94b420b305fc28f83c16db671d0d7f (patch) | |
tree | acd3068a668742ba16b880579c91fcc243f3c3db /source/nsswitch/winbindd_cred_cache.c | |
parent | 1829d22720612b0e61cec7e66d7cba46c04160b9 (diff) | |
download | samba-afc519530f94b420b305fc28f83c16db671d0d7f.tar.gz samba-afc519530f94b420b305fc28f83c16db671d0d7f.tar.xz samba-afc519530f94b420b305fc28f83c16db671d0d7f.zip |
r14585: Tighten argument list of kerberos_kinit_password again,
kerberos_kinit_password_ext provides access to more options.
Guenther
Diffstat (limited to 'source/nsswitch/winbindd_cred_cache.c')
-rw-r--r-- | source/nsswitch/winbindd_cred_cache.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source/nsswitch/winbindd_cred_cache.c b/source/nsswitch/winbindd_cred_cache.c index 6835840a1de..4c539b9b23a 100644 --- a/source/nsswitch/winbindd_cred_cache.c +++ b/source/nsswitch/winbindd_cred_cache.c @@ -106,14 +106,14 @@ static void krb5_ticket_refresh_handler(struct timed_event *te, seteuid(entry->uid); - ret = kerberos_kinit_password(entry->principal_name, - entry->pass, - 0, /* hm, can we do time correction here ? */ - &entry->refresh_time, - &entry->renew_until, - entry->ccname, - False, /* no PAC required anymore */ - WINBINDD_PAM_AUTH_KRB5_RENEW_TIME); + ret = kerberos_kinit_password_ext(entry->principal_name, + entry->pass, + 0, /* hm, can we do time correction here ? */ + &entry->refresh_time, + &entry->renew_until, + entry->ccname, + False, /* no PAC required anymore */ + WINBINDD_PAM_AUTH_KRB5_RENEW_TIME); seteuid(0); if (ret) { |