summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd.h2
-rw-r--r--source3/nsswitch/winbindd_dual.c16
2 files changed, 9 insertions, 9 deletions
diff --git a/source3/nsswitch/winbindd.h b/source3/nsswitch/winbindd.h
index 6a220438a9..e5f1c9699c 100644
--- a/source3/nsswitch/winbindd.h
+++ b/source3/nsswitch/winbindd.h
@@ -149,7 +149,7 @@ struct winbindd_child {
TALLOC_CTX *mem_ctx;
struct fd_event event;
- struct timed_event *timed_event;
+ struct timed_event *lockout_policy_event;
struct winbindd_async_request *requests;
};
diff --git a/source3/nsswitch/winbindd_dual.c b/source3/nsswitch/winbindd_dual.c
index f70b2539d3..a049bf7b7a 100644
--- a/source3/nsswitch/winbindd_dual.c
+++ b/source3/nsswitch/winbindd_dual.c
@@ -508,8 +508,8 @@ static void account_lockout_policy_handler(struct timed_event *te,
DEBUG(10,("account_lockout_policy_handler called\n"));
- if (child->timed_event) {
- TALLOC_FREE(child->timed_event);
+ if (child->lockout_policy_event) {
+ TALLOC_FREE(child->lockout_policy_event);
}
methods = child->domain->methods;
@@ -520,11 +520,11 @@ static void account_lockout_policy_handler(struct timed_event *te,
return;
}
- child->timed_event = add_timed_event(child->mem_ctx,
- timeval_current_ofs(3600, 0),
- "account_lockout_policy_handler",
- account_lockout_policy_handler,
- child);
+ child->lockout_policy_event = add_timed_event(child->mem_ctx,
+ timeval_current_ofs(3600, 0),
+ "account_lockout_policy_handler",
+ account_lockout_policy_handler,
+ child);
}
/* Deal with a request to go offline. */
@@ -657,7 +657,7 @@ static BOOL fork_domain_child(struct winbindd_child *child)
if (child->domain != NULL) {
/* We might be in the idmap child...*/
- child->timed_event = add_timed_event(
+ child->lockout_policy_event = add_timed_event(
child->mem_ctx, timeval_zero(),
"account_lockout_policy_handler",
account_lockout_policy_handler,