svn commit: samba r14505 - branches/SAMBA_3_0/source/nsswitch
trunk/source/nsswitch
gd at samba.org
gd at samba.org
Fri Mar 17 10:14:34 GMT 2006
Author: gd
Date: 2006-03-17 10:14:33 +0000 (Fri, 17 Mar 2006)
New Revision: 14505
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14505
Log:
Rename the timed_event to lockout_policy_event.
Guenther
Modified:
branches/SAMBA_3_0/source/nsswitch/winbindd.h
branches/SAMBA_3_0/source/nsswitch/winbindd_dual.c
trunk/source/nsswitch/winbindd.h
trunk/source/nsswitch/winbindd_dual.c
Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbindd.h
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd.h 2006-03-17 09:42:04 UTC (rev 14504)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd.h 2006-03-17 10:14:33 UTC (rev 14505)
@@ -149,7 +149,7 @@
TALLOC_CTX *mem_ctx;
struct fd_event event;
- struct timed_event *timed_event;
+ struct timed_event *lockout_policy_event;
struct winbindd_async_request *requests;
};
Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_dual.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd_dual.c 2006-03-17 09:42:04 UTC (rev 14504)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_dual.c 2006-03-17 10:14:33 UTC (rev 14505)
@@ -508,8 +508,8 @@
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 @@
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 @@
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,
Modified: trunk/source/nsswitch/winbindd.h
===================================================================
--- trunk/source/nsswitch/winbindd.h 2006-03-17 09:42:04 UTC (rev 14504)
+++ trunk/source/nsswitch/winbindd.h 2006-03-17 10:14:33 UTC (rev 14505)
@@ -149,7 +149,7 @@
TALLOC_CTX *mem_ctx;
struct fd_event event;
- struct timed_event *timed_event;
+ struct timed_event *lockout_policy_event;
struct winbindd_async_request *requests;
};
Modified: trunk/source/nsswitch/winbindd_dual.c
===================================================================
--- trunk/source/nsswitch/winbindd_dual.c 2006-03-17 09:42:04 UTC (rev 14504)
+++ trunk/source/nsswitch/winbindd_dual.c 2006-03-17 10:14:33 UTC (rev 14505)
@@ -508,8 +508,8 @@
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 @@
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 @@
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,
More information about the samba-cvs
mailing list