mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
r18827: I forgot to commit this:
Make kpasswdd use the new prototype for _krb5_principalname2krb5_principal() Andrew Bartlett (This used to be commit 989f40ea027328cdaa31dc89ce52b2243b4aad76)
This commit is contained in:
parent
83558e822b
commit
390ece7f3d
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user