diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-01-05 19:03:43 -0600 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-01-05 13:06:03 -0600 |
commit | df408d056ec03f2abe08ce0ea487e1875b90e7bf (patch) | |
tree | 68cb7b83f12d50d8536acef9c1fed74d22ad9f54 /source4/kdc | |
parent | 01c79091924602bb5c3f1c0c823b2577c4708f6a (diff) | |
download | samba-df408d056ec03f2abe08ce0ea487e1875b90e7bf.tar.gz samba-df408d056ec03f2abe08ce0ea487e1875b90e7bf.tar.xz samba-df408d056ec03f2abe08ce0ea487e1875b90e7bf.zip |
r26672: Janitorial: Remove uses of global_loadparm.
(This used to be commit 18cd08623eaad7d2cd63b82ea5275d4dfd21cf00)
Diffstat (limited to 'source4/kdc')
-rw-r--r-- | source4/kdc/kdc.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/source4/kdc/kdc.c b/source4/kdc/kdc.c index 5c8b2afe0f..04e7ddd2ff 100644 --- a/source4/kdc/kdc.c +++ b/source4/kdc/kdc.c @@ -489,7 +489,9 @@ static NTSTATUS kdc_add_socket(struct kdc_server *kdc, const char *address, return NT_STATUS_INTERNAL_ERROR; } - status = stream_setup_socket(kdc->task->event_ctx, model_ops, + status = stream_setup_socket(kdc->task->event_ctx, + kdc->task->lp_ctx, + model_ops, &kdc_tcp_stream_ops, "ip", address, &kdc_port, lp_socket_options(kdc->task->lp_ctx), @@ -501,7 +503,9 @@ static NTSTATUS kdc_add_socket(struct kdc_server *kdc, const char *address, return status; } - status = stream_setup_socket(kdc->task->event_ctx, model_ops, + status = stream_setup_socket(kdc->task->event_ctx, + kdc->task->lp_ctx, + model_ops, &kpasswdd_tcp_stream_ops, "ip", address, &kpasswd_port, lp_socket_options(kdc->task->lp_ctx), @@ -663,7 +667,7 @@ static NTSTATUS kdc_init(struct event_context *event_ctx, struct loadparm_context *lp_ctx, const struct model_ops *model_ops) { - return task_server_startup(event_ctx, model_ops, kdc_task_init); + return task_server_startup(event_ctx, lp_ctx, model_ops, kdc_task_init); } /* called at smbd startup - register ourselves as a server service */ |