diff --git a/source/lib/smbldap.c b/source/lib/smbldap.c index 5b9ec1d55bb..cffc9389d7d 100644 --- a/source/lib/smbldap.c +++ b/source/lib/smbldap.c @@ -1579,7 +1579,7 @@ static void smbldap_idle_fn(struct event_context *event_ctx, state->idle_event = event_add_timed( event_ctx, NULL, - timeval_current_ofs(SMBLDAP_IDLE_TIME, 0), + timeval_add(now, SMBLDAP_IDLE_TIME, 0), "smbldap_idle_fn", smbldap_idle_fn, private_data); return;