From 390ece7f3daa6e0d3501fb9549213582386ec02b Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 22 Sep 2006 19:39:27 +0000 Subject: r18827: I forgot to commit this: Make kpasswdd use the new prototype for _krb5_principalname2krb5_principal() Andrew Bartlett (This used to be commit 989f40ea027328cdaa31dc89ce52b2243b4aad76) --- source4/kdc/kpasswdd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source4/kdc/kpasswdd.c b/source4/kdc/kpasswdd.c index dc8d5c7310..b98304c12d 100644 --- a/source4/kdc/kpasswdd.c +++ b/source4/kdc/kpasswdd.c @@ -280,7 +280,8 @@ static BOOL kpasswd_process_request(struct kdc_server *kdc, reply); } if (chpw.targname && chpw.targrealm) { - if (_krb5_principalname2krb5_principal(&principal, *chpw.targname, + if (_krb5_principalname2krb5_principal(kdc->smb_krb5_context->krb5_context, + &principal, *chpw.targname, *chpw.targrealm) != 0) { free_ChangePasswdDataMS(&chpw); return kpasswdd_make_error_reply(kdc, mem_ctx, -- cgit