diff options
author | Jeremy Allison <jra@samba.org> | 2006-09-06 21:43:31 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:43:57 -0500 |
commit | ccdd921e61c95e8e2d1764a74603c863ca2867ba (patch) | |
tree | 12b556fdfec9a44d1af939dd22603d113659012e /source3/nsswitch/winbindd.h | |
parent | 012c9e9cf9db9147cd95e1abb0f8db0548e0a9d9 (diff) | |
download | samba-ccdd921e61c95e8e2d1764a74603c863ca2867ba.tar.gz samba-ccdd921e61c95e8e2d1764a74603c863ca2867ba.tar.bz2 samba-ccdd921e61c95e8e2d1764a74603c863ca2867ba.zip |
r18191: Fix the online/offline state handling of winbindd.
Instead of trying to do this in the winbindd_cache
entries, add a timed even handler to probe every
5 mins when disconnected.
Fix events to run all pending events, rather than
only one.
Jeremy.
(This used to be commit 7bfbe1b4fb9a91c6678035f220bbf0b4f5afdcac)
Diffstat (limited to 'source3/nsswitch/winbindd.h')
-rw-r--r-- | source3/nsswitch/winbindd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd.h b/source3/nsswitch/winbindd.h index a16613258b..73aaff9a11 100644 --- a/source3/nsswitch/winbindd.h +++ b/source3/nsswitch/winbindd.h @@ -199,6 +199,10 @@ struct winbindd_domain { struct winbindd_child child; + /* Callback we use to try put us back online. */ + + struct timed_event *check_online_event; + /* Linked list info */ struct winbindd_domain *prev, *next; |