heimdal:lib/krb5: allow enterprise principals in verify_logonname()
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11142 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
This commit is contained in:

committed by
Nicolas Williams

parent
02616866e5
commit
2e6318f09a
@@ -683,7 +683,9 @@ verify_logonname(krb5_context context,
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ret = krb5_parse_name_flags(context, s, KRB5_PRINCIPAL_PARSE_NO_REALM, &p2);
|
ret = krb5_parse_name_flags(context, s,
|
||||||
|
KRB5_PRINCIPAL_PARSE_NO_REALM |
|
||||||
|
KRB5_PRINCIPAL_PARSE_ENTERPRISE, &p2);
|
||||||
free(s);
|
free(s);
|
||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
Reference in New Issue
Block a user