summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_dual.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-03-17 10:14:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:34 -0500
commit0dd9afad767d4f47f0ffdb5a19d9badd0d53bdfa (patch)
tree81e0c7b418846a63ba43904f03e2c3b035f2e19b /source3/nsswitch/winbindd_dual.c
parent9fb55b5cb8e916505d3b823c6761c2eff8a5f6ed (diff)
downloadsamba-0dd9afad767d4f47f0ffdb5a19d9badd0d53bdfa.tar.gz
samba-0dd9afad767d4f47f0ffdb5a19d9badd0d53bdfa.tar.bz2
samba-0dd9afad767d4f47f0ffdb5a19d9badd0d53bdfa.zip
r14505: Rename the timed_event to lockout_policy_event.
Guenther (This used to be commit 3e607aa69ae2d43fb6ec170d03221a6b22d3f35d)
Diffstat (limited to 'source3/nsswitch/winbindd_dual.c')
-rw-r--r--source3/nsswitch/winbindd_dual.c16
1 files changed, 8 insertions, 8 deletions
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,