dsdb-repl: When looking for a partition from a NC check that all non null parameters...
authorMatthieu Patou <mat@matws.net>
Tue, 23 Oct 2012 05:39:17 +0000 (22:39 -0700)
committerMatthieu Patou <mat@matws.net>
Sun, 18 May 2014 04:51:15 +0000 (21:51 -0700)
commit9b4c522f8e85f286ca54b4e44ab59fb7f8246f9d
tree4138e510f86293a1633088bb8ed4228bc9b940ea
parent38f97c98a61c3a51c6248a3f727adc05858040bd
dsdb-repl: When looking for a partition from a NC check that all non null parameters are coherent

It means that we check that on the found partition (p)
 * nc->dn != NULL && nc->dn == p->dn
 * nc->guid != NULL && nc->guid == p->guid
 * nc->sid != NULL && nc->sid == p->sid

Signed-off-by: Matthieu Patou <mat@matws.net>
source4/dsdb/repl/drepl_partitions.c