s4-drs: Fixes bugs regarding Urgent Replication on wrong situations
authorFernando J V da Silva <fernandojvsilva@yahoo.com.br>
Thu, 4 Feb 2010 18:46:52 +0000 (16:46 -0200)
committerAndrew Tridgell <tridge@samba.org>
Mon, 15 Feb 2010 10:57:07 +0000 (21:57 +1100)
commit5aa42f8010d0895b5bc5018567c431f79c40f8f6
tree252d2f7623babf534215c60daa0e1ae361220b4a
parentddbda92f87aeedb1a1a976a43a1e5ada3897646e
s4-drs: Fixes bugs regarding Urgent Replication on wrong situations

It fixes the bug which causes an urgent replication to be enabled
incorrectly when an object is modified, but it should happen only
when it was created. This patch also fixes the bug that enable an
urgent replication when an object is deleted, but it should happen
only when it was modified and fixes the bug that does not enable
an urgent replication when an object is deleted and it should happen
only when it is deleted (not when it is modified).

Signed-off-by: Andrew Tridgell <tridge@samba.org>
source4/dsdb/samdb/ldb_modules/repl_meta_data.c