s4-repl: Check if GC SPN exists before using it for replication
authorAmitay Isaacs <amitay@gmail.com>
Sun, 27 Nov 2011 23:33:53 +0000 (10:33 +1100)
committerAmitay Isaacs <amitay@gmail.com>
Tue, 29 Nov 2011 05:00:36 +0000 (16:00 +1100)
commit2e4bf8bfcdf7dea3beb754125c45e337a4afb228
treecf77a2391325156146d69c4d6ed82baf5b4cf5ee
parent1e935d1bdc095187b68cd93ff8a1ee9498f8ad11
s4-repl: Check if GC SPN exists before using it for replication

Sometimes windows DC will set up dNSHostname before setting up
GC SPN and that causes replication errors since samba tries to
use GC SPN, which does not yet exist locally.

Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
source4/dsdb/repl/drepl_partitions.c