return ENOMEM;
}
- if (krb5_principal_get_type(context, principal) == KRB5_NT_ENTERPRISE_PRINCIPAL) {
+ if (smb_krb5_principal_get_type(context, principal) == KRB5_NT_ENTERPRISE_PRINCIPAL) {
char *principal_string = NULL;
krb5_principal enterprise_principal = NULL;
char *enterprise_realm = NULL;
return ENOMEM;
}
- ret = krb5_principal_set_realm(context,
- entry_ex->entry.principal,
- upper);
+ ret = smb_krb5_principal_set_realm(context,
+ entry_ex->entry.principal,
+ upper);
if (ret) {
TALLOC_FREE(frame);
return ret;