summaryrefslogtreecommitdiff
path: root/source4/heimdal
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2015-03-10 15:36:01 +0100
committerGünther Deschner <gd@samba.org>2015-03-12 17:13:42 +0100
commitb7cc8c1187ff967e44587cd0d09185330378f366 (patch)
tree62a59cab1a3fc1476ff82bc4917e1ef0724b3df7 /source4/heimdal
parenta1b4a5d977862bda48819d3f0b33eccbd10ca4fd (diff)
downloadsamba-b7cc8c1187ff967e44587cd0d09185330378f366.tar.gz
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>
Diffstat (limited to 'source4/heimdal')
-rw-r--r--source4/heimdal/lib/krb5/pac.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/heimdal/lib/krb5/pac.c b/source4/heimdal/lib/krb5/pac.c
index 91f68d5e00e..a28dc82e897 100644
--- a/source4/heimdal/lib/krb5/pac.c
+++ b/source4/heimdal/lib/krb5/pac.c
@@ -677,7 +677,9 @@ verify_logonname(krb5_context context,
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);
if (ret)
return ret;