kdc: Correctly return the krbtgt/realm@REALM principal from our KDC
commitc1819f5fd1eb690326a1fc547422544f5c834558
authorAndrew Bartlett <abartlet@samba.org>
Fri, 23 Jan 2015 03:41:50 +0000 (23 16:41 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 23 Jan 2015 04:42:08 +0000 (23 05:42 +0100)
tree0105be9f7e219018d11ed6b7e0641b5f4bf7b62c
parent157539c5ad9b819e43dceee6bb47d2027de1d982
kdc: Correctly return the krbtgt/realm@REALM principal from our KDC

This needs to vary depending on if the client requested the canonicalize flag

This was found by our new krb5.kdc test

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Pair-programmed-with: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source4/kdc/db-glue.c