diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-07-31 14:05:08 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:15:17 -0500 |
commit | 7a845bcb0141a895d5685afcef1ffe7f93428d0f (patch) | |
tree | 536241140ed531f2d1a8d066053cbca54b73153e /source4/kdc/kpasswdd.c | |
parent | 63aaa6b782bf6b8b2badabd41579fff2a235d526 (diff) | |
download | samba-7a845bcb0141a895d5685afcef1ffe7f93428d0f.tar.gz samba-7a845bcb0141a895d5685afcef1ffe7f93428d0f.tar.xz samba-7a845bcb0141a895d5685afcef1ffe7f93428d0f.zip |
r17341: pass a messaging context to auth_context_create()
and gensec_server_start().
calling them with NULL for event context or messaging context
is no longer allowed!
metze
(This used to be commit 679ac74e71b111344f1097ab389c0b83a9247710)
Diffstat (limited to 'source4/kdc/kpasswdd.c')
-rw-r--r-- | source4/kdc/kpasswdd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source4/kdc/kpasswdd.c b/source4/kdc/kpasswdd.c index 48955e2ca7f..65e7ac1c004 100644 --- a/source4/kdc/kpasswdd.c +++ b/source4/kdc/kpasswdd.c @@ -451,14 +451,13 @@ BOOL kpasswdd_process(struct kdc_server *kdc, ap_req = data_blob_const(&input->data[header_len], ap_req_len); krb_priv_req = data_blob_const(&input->data[header_len + ap_req_len], krb_priv_len); - nt_status = gensec_server_start(tmp_ctx, &gensec_security, kdc->task->event_ctx); + nt_status = gensec_server_start(tmp_ctx, kdc->task->event_ctx, kdc->task->msg_ctx, &gensec_security); if (!NT_STATUS_IS_OK(nt_status)) { talloc_free(tmp_ctx); return False; } - server_credentials - = cli_credentials_init(tmp_ctx); + server_credentials = cli_credentials_init(tmp_ctx); if (!server_credentials) { DEBUG(1, ("Failed to init server credentials\n")); return False; |