diff options
author | Günther Deschner <gd@samba.org> | 2006-05-04 12:37:13 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:16:43 -0500 |
commit | a0ff50efa79f08f538f0c341744572929ac5a298 (patch) | |
tree | 607c451d8cacff98a67b9b10c93b89db9483f702 /source3/nsswitch/winbindd_cache.c | |
parent | d2418fbf276121eae08f05cbf3d6b3c84eb09887 (diff) | |
download | samba-a0ff50efa79f08f538f0c341744572929ac5a298.tar.gz samba-a0ff50efa79f08f538f0c341744572929ac5a298.tar.bz2 samba-a0ff50efa79f08f538f0c341744572929ac5a298.zip |
r15428: Add "smbcontrol winbind onlinestatus" for debugging purpose.
Guenther
(This used to be commit 9e15b1659c105b0be846e8f71c27b20eab961bd2)
Diffstat (limited to 'source3/nsswitch/winbindd_cache.c')
-rw-r--r-- | source3/nsswitch/winbindd_cache.c | 5 |
1 files changed, 5 insertions, 0 deletions
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, |