summaryrefslogtreecommitdiffstats
path: root/source4/kdc/kpasswdd.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-04-17 01:03:18 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-04-17 01:03:18 +0200
commit1efbd5fbf6b0f606ed29a763e2adfa6f99c6beac (patch)
tree81a52c7c14fb91332ae12d7d664bc143aad664aa /source4/kdc/kpasswdd.c
parent4b9c7df9b7465a360e7a528a116ed3740447b7be (diff)
downloadsamba-1efbd5fbf6b0f606ed29a763e2adfa6f99c6beac.tar.gz
samba-1efbd5fbf6b0f606ed29a763e2adfa6f99c6beac.tar.xz
samba-1efbd5fbf6b0f606ed29a763e2adfa6f99c6beac.zip
Remove event context tracking from the credentials struct.
(This used to be commit 4d7fc946b2ec50e774689c9036423b6feef99b8e)
Diffstat (limited to 'source4/kdc/kpasswdd.c')
-rw-r--r--source4/kdc/kpasswdd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/kdc/kpasswdd.c b/source4/kdc/kpasswdd.c
index f468fea6c44..3635676d177 100644
--- a/source4/kdc/kpasswdd.c
+++ b/source4/kdc/kpasswdd.c
@@ -474,7 +474,7 @@ bool kpasswdd_process(struct kdc_server *kdc,
* we already have, rather than a new context */
cli_credentials_set_krb5_context(server_credentials, kdc->smb_krb5_context);
cli_credentials_set_conf(server_credentials, kdc->task->lp_ctx);
- nt_status = cli_credentials_set_stored_principal(server_credentials, kdc->task->lp_ctx, "kadmin/changepw");
+ nt_status = cli_credentials_set_stored_principal(server_credentials, kdc->task->event_ctx, kdc->task->lp_ctx, "kadmin/changepw");
if (!NT_STATUS_IS_OK(nt_status)) {
ret = kpasswdd_make_unauth_error_reply(kdc, mem_ctx,
KRB5_KPASSWD_HARDERROR,