1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

s4-kdc/db_glue: use smb_krb5_principal_set_type().

Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Günther Deschner 2015-02-10 13:14:21 +01:00
parent 212a9e06c6
commit e2eef86431

View File

@ -714,7 +714,7 @@ static krb5_error_code samba_kdc_message2entry(krb5_context context,
krb5_clear_error_message(context);
goto out;
}
krb5_principal_set_type(context, entry_ex->entry.principal, KRB5_NT_SRV_INST);
smb_krb5_principal_set_type(context, entry_ex->entry.principal, KRB5_NT_SRV_INST);
} else {
ret = krb5_copy_principal(context, principal, &entry_ex->entry.principal);
if (ret) {