summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-08-14 11:09:37 +0200
committerVolker Lendecke <vl@samba.org>2008-08-14 11:09:37 +0200
commite90dc23ff5d9853501df21331ce57ccb29601fa8 (patch)
tree57cd63c23bff1cef5161273e27f80d665aed0f4f /source3
parent8d03db99b8c0623929f9351940a7e80adbf45e73 (diff)
downloadsamba-e90dc23ff5d9853501df21331ce57ccb29601fa8.tar.gz
samba-e90dc23ff5d9853501df21331ce57ccb29601fa8.tar.bz2
samba-e90dc23ff5d9853501df21331ce57ccb29601fa8.zip
Revert "Add winbind:online check timeout parameter"
This reverts commit 9920473cc165e75ee9aa5cbb9e568eb5fb67e9e6. (This used to be commit 34a32db9060e7b60455774f923f61b7367ee3fcf)
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/winbindd_cm.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c
index c6dab6f2e6..47df4e4058 100644
--- a/source3/winbindd/winbindd_cm.c
+++ b/source3/winbindd/winbindd_cm.c
@@ -292,22 +292,6 @@ static void check_domain_online_handler(struct event_context *ctx,
static void calc_new_online_timeout_check(struct winbindd_domain *domain)
{
int wbc = lp_winbind_cache_time();
- int domain_online_check;
-
- /*
- * If "winbind:online check timeout" is set explicitly,
- * override the default of "winbind cache timeout"
- *
- * Add this as a parametric option and don't document it. The
- * whole offline abuse for non-reachable DCs needs
- * fixing. Till then, use this hackish parameter.
- */
-
- domain_online_check = lp_parm_int(-1, "winbind",
- "online check timeout", 0);
- if (domain_online_check != 0) {
- wbc = domain_online_check;
- }
if (domain->startup) {
domain->check_online_timeout = 10;