heimdal: handle referrals for 3 part DRSUAPI SPNs
commit6f0cafa6cf5957ee549e46e899e8bc83eeca52c2
authorAndrew Tridgell <tridge@samba.org>
Wed, 28 Sep 2011 04:18:14 +0000 (28 14:18 +1000)
committerNicolas Williams <nico@cryptonector.com>
Tue, 25 Mar 2014 04:07:49 +0000 (24 23:07 -0500)
tree2250637a302f04b75abe714ac3afca58b0150fe2
parentcc495fd78d136f77f706e84181d1ddebbc30585e
heimdal: handle referrals for 3 part DRSUAPI SPNs

This handles referrals for SPNs of the form
E3514235-4B06-11D1-AB04-00C04FC2DCD2/NTDSGUID/REALM, which are
used during DRS replication when we don't know the dnsHostName of the
target DC (which we don't know until the first replication from that
DC completes).

We use the 3rd part of the SPN directly as the realm name in the
referral.

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
kdc/krb5tgs.c