Add kccsrv_add_repsFrom() possibility of NULL res argument
authorDave Craft <wimberosa@gmail.com>
Wed, 6 Jul 2011 02:34:32 +0000 (21:34 -0500)
committerAndrew Tridgell <tridge@samba.org>
Wed, 13 Jul 2011 21:05:10 +0000 (07:05 +1000)
commitc8413b3420d7401fe3b9588a7832d1e30e76a501
tree452dc416a338e8de99f91196733aeed698d9cf7c
parent4b19415f5b5f5e6df5ca03ffa5fb0f8b212726ec
Add kccsrv_add_repsFrom() possibility of NULL res argument

We need the ability to utilize this function in a different
manner.  KCC intra-site topology has already vetted the
replica as being appropriate to produce a repsFrom from.
We do not want kccsrv_add_repsFrom() to produce further
checking as was the case for simple topology.   Thus if
we pass a NULL (res) parameter this extra check will
be skipped.

Signed-off-by: Andrew Tridgell <tridge@samba.org>
source4/dsdb/kcc/kcc_periodic.c