heimdal: Fix bug in KDC handling of enterprise principals
commitfe99c420b21933e0dc11a5c4193e9af4cbfc574e
authorNicolas Williams <nico@cryptonector.com>
Wed, 17 Dec 2014 03:55:34 +0000 (17 16:55 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 23 Jan 2015 04:42:07 +0000 (23 05:42 +0100)
tree73048b390c8bef26bdbc78ec0834c4c6052cc8ce
parenta07598db9cefcad4accd9e189c748a5bed630cf6
heimdal: Fix bug in KDC handling of enterprise principals

The useful change in Samba from this commit is that we gain
validation of the enterprise principal name.

(commit message by Andrew Bartlett)

Cherry-pick of Heimdal commit c76ec8ec6a507a6f34ca80c11e5297146acff83f

Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/heimdal/kdc/misc.c