diff options
author | Andrew Bartlett <abartlet@samba.org> | 2006-09-22 19:39:27 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:19:14 -0500 |
commit | 390ece7f3daa6e0d3501fb9549213582386ec02b (patch) | |
tree | 989740eee7d3dfbcf0f8dd11ea045d4edb59c2cd /source4/kdc | |
parent | 83558e822b9b1ea64ae89b77b2d815d19211d996 (diff) | |
download | samba-390ece7f3daa6e0d3501fb9549213582386ec02b.tar.gz samba-390ece7f3daa6e0d3501fb9549213582386ec02b.tar.xz samba-390ece7f3daa6e0d3501fb9549213582386ec02b.zip |
r18827: I forgot to commit this:
Make kpasswdd use the new prototype for
_krb5_principalname2krb5_principal()
Andrew Bartlett
(This used to be commit 989f40ea027328cdaa31dc89ce52b2243b4aad76)
Diffstat (limited to 'source4/kdc')
-rw-r--r-- | source4/kdc/kpasswdd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/kdc/kpasswdd.c b/source4/kdc/kpasswdd.c index dc8d5c73108..b98304c12d0 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, |