diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-12-29 09:37:02 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-12-29 09:46:38 +0100 |
commit | f271469931f83c7b3cf81a9911ff15f761925ad1 (patch) | |
tree | ad36ec1c52525cf7a3b5a93a1fe355b8d24e16be /source4/kdc/kdc.c | |
parent | 37b6950961064ef443a91e8bc415a5c582a2d0a6 (diff) | |
download | samba-f271469931f83c7b3cf81a9911ff15f761925ad1.tar.gz samba-f271469931f83c7b3cf81a9911ff15f761925ad1.tar.xz samba-f271469931f83c7b3cf81a9911ff15f761925ad1.zip |
s4:kdc: pass down event_context explicit
metze
Diffstat (limited to 'source4/kdc/kdc.c')
-rw-r--r-- | source4/kdc/kdc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/kdc/kdc.c b/source4/kdc/kdc.c index 45fa803d049..81ac94c482d 100644 --- a/source4/kdc/kdc.c +++ b/source4/kdc/kdc.c @@ -44,6 +44,7 @@ /* Disgusting hack to get a mem_ctx and lp_ctx into the hdb plugin, when * used as a keytab */ TALLOC_CTX *kdc_mem_ctx; +struct event_context *kdc_ev_ctx; struct loadparm_context *kdc_lp_ctx; /* hold all the info needed to send a reply */ @@ -765,6 +766,7 @@ static void kdc_task_init(struct task_server *task) krb5_kdc_windc_init(kdc->smb_krb5_context->krb5_context); kdc_mem_ctx = kdc->smb_krb5_context; + kdc_ev_ctx = task->event_ctx; kdc_lp_ctx = task->lp_ctx; /* start listening on the configured network interfaces */ |