Skip to content

Commit

Permalink
Revert "Add winbind:online check timeout parameter"
Browse files Browse the repository at this point in the history
This reverts commit 9920473.
(This used to be commit 34a32db)
  • Loading branch information
vlendec committed Aug 14, 2008
1 parent 8d03db9 commit e90dc23
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions source3/winbindd/winbindd_cm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e90dc23

Please sign in to comment.