r18239: THIS IS GUENTHER'S WORK !!! He's allowing me to merge
authorJeremy Allison <jra@samba.org>
Fri, 8 Sep 2006 00:19:32 +0000 (00:19 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:51:17 +0000 (11:51 -0500)
commit01285feba19b2e29ea7c36c24837e4f634bbcf72
treec8fc7021156a86e5b828ba41dfd1da0f944e8d9f
parentc1e0e75dc812685ad4895963bcc4fd15c10624c5
r18239: THIS IS GUENTHER'S WORK !!! He's allowing me to merge
this at the moment as I'm working on this area. Thanks
a lot Guenther.
Add the capability to get krb5 tickets even if we
log on in the offline state and have to cache
the credentials. Once we go online we should
start getting krb5 tickets again. Currently
this code waits until lp_winbind_cache_time()
seconds (5 minutes by default) before getting
tickets. This is correct in the DC down case,
but not in the global offline -> online case.
I'll later add a trigger to force an immediate refresh
on the offline -> online state transition.
Jeremy.
(This used to be commit 04fe034f4a222c83a8d788040f7edc370afe9fa6)
source3/nsswitch/winbindd_cred_cache.c
source3/nsswitch/winbindd_nss.h
source3/nsswitch/winbindd_pam.c