From a0ff50efa79f08f538f0c341744572929ac5a298 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 4 May 2006 12:37:13 +0000 Subject: r15428: Add "smbcontrol winbind onlinestatus" for debugging purpose. Guenther (This used to be commit 9e15b1659c105b0be846e8f71c27b20eab961bd2) --- source3/nsswitch/winbindd_cache.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3/nsswitch/winbindd_cache.c') diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c index bf76c7f251..6541e10877 100644 --- a/source3/nsswitch/winbindd_cache.c +++ b/source3/nsswitch/winbindd_cache.c @@ -2357,6 +2357,11 @@ void set_global_winbindd_state_online(void) tdb_delete_bystring(wcache->tdb, "WINBINDD_OFFLINE"); } +BOOL get_global_winbindd_state_online(void) +{ + return global_winbindd_offline_state; +} + /* the cache backend methods are exposed via this structure */ struct winbindd_methods cache_methods = { True, -- cgit