From 0f56237bc0e0da61c958eb964b6a02958e0d5cda Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 28 Sep 2006 18:08:03 +0000 Subject: r18980: Be a little more intelligent about "startup_time", move into the domain struct. Allow message to go online to set this state and cope with removing it. Jeremy. (This used to be commit 51f0e60cc3a652b0ff1658d4c07bfc9493fbc51a) --- source3/nsswitch/winbindd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/nsswitch/winbindd.h') diff --git a/source3/nsswitch/winbindd.h b/source3/nsswitch/winbindd.h index 1437343965..c18848ac52 100644 --- a/source3/nsswitch/winbindd.h +++ b/source3/nsswitch/winbindd.h @@ -169,7 +169,8 @@ struct winbindd_domain { BOOL primary; /* is this our primary domain ? */ BOOL internal; /* BUILTIN and member SAM */ BOOL online; /* is this domain available ? */ - BOOL startup; /* are we in the first 30 seconds after fork ? */ + time_t startup_time; /* When we set "startup" true. */ + BOOL startup; /* are we in the first 30 seconds after startup_time ? */ /* Lookup methods for this domain (LDAP or RPC) */ struct winbindd_methods *methods; -- cgit