heimdal: handle referrals for 3 part DRSUAPI SPNs
authorAndrew Tridgell <tridge@samba.org>
Wed, 28 Sep 2011 04:18:14 +0000 (14:18 +1000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 4 Oct 2011 04:08:57 +0000 (15:08 +1100)
commit6b69ecd0293d827b7429cfd75cf4a13ab4e40ce5
treeeb1b0806cfefe9d12c42f83448635c31a9d7a6b3
parentb930b1e1fc52b999141918cf0d06d66bfbbf1fa4
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>
source4/heimdal/kdc/krb5tgs.c