summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/winbindd_cm.c4
-rw-r--r--source3/winbindd/winbindd_cred_cache.c14
-rw-r--r--source3/winbindd/winbindd_dual.c8
3 files changed, 13 insertions, 13 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c
index b2f8cc481a..055c023cb5 100644
--- a/source3/winbindd/winbindd_cm.c
+++ b/source3/winbindd/winbindd_cm.c
@@ -380,7 +380,7 @@ void set_domain_offline(struct winbindd_domain *domain)
calc_new_online_timeout_check(domain);
- domain->check_online_event = event_add_timed(winbind_event_context(),
+ domain->check_online_event = tevent_add_timer(winbind_event_context(),
NULL,
timeval_current_ofs(domain->check_online_timeout,0),
check_domain_online_handler,
@@ -536,7 +536,7 @@ void set_domain_online_request(struct winbindd_domain *domain)
TALLOC_FREE(domain->check_online_event);
- domain->check_online_event = event_add_timed(winbind_event_context(),
+ domain->check_online_event = tevent_add_timer(winbind_event_context(),
NULL,
tev,
check_domain_online_handler,
diff --git a/source3/winbindd/winbindd_cred_cache.c b/source3/winbindd/winbindd_cred_cache.c
index 293a821a23..3ca45d76a8 100644
--- a/source3/winbindd/winbindd_cred_cache.c
+++ b/source3/winbindd/winbindd_cred_cache.c
@@ -285,7 +285,7 @@ done:
if (entry->refresh_time == 0) {
entry->refresh_time = new_start;
}
- entry->event = event_add_timed(winbind_event_context(), entry,
+ entry->event = tevent_add_timer(winbind_event_context(), entry,
timeval_set(new_start, 0),
krb5_ticket_refresh_handler,
entry);
@@ -385,7 +385,7 @@ static void krb5_ticket_gain_handler(struct tevent_context *event_ctx,
if (entry->refresh_time == 0) {
entry->refresh_time = t.tv_sec;
}
- entry->event = event_add_timed(winbind_event_context(),
+ entry->event = tevent_add_timer(winbind_event_context(),
entry,
t,
krb5_ticket_refresh_handler,
@@ -404,7 +404,7 @@ static void add_krb5_ticket_gain_handler_event(struct WINBINDD_CCACHE_ENTRY *ent
struct timeval t)
{
entry->refresh_time = 0;
- entry->event = event_add_timed(winbind_event_context(),
+ entry->event = tevent_add_timer(winbind_event_context(),
entry,
t,
krb5_ticket_gain_handler,
@@ -424,13 +424,13 @@ void ccache_regain_all_now(void)
* the event has the krb5_ticket_gain_handler
*/
if (cur->refresh_time == 0) {
- new_event = event_add_timed(winbind_event_context(),
+ new_event = tevent_add_timer(winbind_event_context(),
cur,
t,
krb5_ticket_gain_handler,
cur);
} else {
- new_event = event_add_timed(winbind_event_context(),
+ new_event = tevent_add_timer(winbind_event_context(),
cur,
t,
krb5_ticket_refresh_handler,
@@ -571,7 +571,7 @@ NTSTATUS add_ccache_to_list(const char *princ_name,
if (!entry->refresh_time) {
entry->refresh_time = t.tv_sec;
}
- entry->event = event_add_timed(winbind_event_context(),
+ entry->event = tevent_add_timer(winbind_event_context(),
entry,
t,
krb5_ticket_refresh_handler,
@@ -669,7 +669,7 @@ NTSTATUS add_ccache_to_list(const char *princ_name,
if (entry->refresh_time == 0) {
entry->refresh_time = t.tv_sec;
}
- entry->event = event_add_timed(winbind_event_context(),
+ entry->event = tevent_add_timer(winbind_event_context(),
entry,
t,
krb5_ticket_refresh_handler,
diff --git a/source3/winbindd/winbindd_dual.c b/source3/winbindd/winbindd_dual.c
index b4ef0bd79e..08f3dda5f7 100644
--- a/source3/winbindd/winbindd_dual.c
+++ b/source3/winbindd/winbindd_dual.c
@@ -898,7 +898,7 @@ static void account_lockout_policy_handler(struct tevent_context *ctx,
nt_errstr(result)));
}
- child->lockout_policy_event = event_add_timed(winbind_event_context(), NULL,
+ child->lockout_policy_event = tevent_add_timer(winbind_event_context(), NULL,
timeval_current_ofs(3600, 0),
account_lockout_policy_handler,
child);
@@ -1060,7 +1060,7 @@ static void machine_password_change_handler(struct tevent_context *ctx,
}
done:
- child->machine_password_change_event = event_add_timed(winbind_event_context(), NULL,
+ child->machine_password_change_event = tevent_add_timer(winbind_event_context(), NULL,
next_change,
machine_password_change_handler,
child);
@@ -1497,7 +1497,7 @@ static bool fork_domain_child(struct winbindd_child *child)
set_domain_online_request(primary_domain);
}
- child->lockout_policy_event = event_add_timed(
+ child->lockout_policy_event = tevent_add_timer(
winbind_event_context(), NULL, timeval_zero(),
account_lockout_policy_handler,
child);
@@ -1511,7 +1511,7 @@ static bool fork_domain_child(struct winbindd_child *child)
if (calculate_next_machine_pwd_change(child->domain->name,
&next_change)) {
- child->machine_password_change_event = event_add_timed(
+ child->machine_password_change_event = tevent_add_timer(
winbind_event_context(), NULL, next_change,
machine_password_change_handler,
child);