s4-drs: Uses dsdb_load_partition_usn() with urgent_uSN in s4 code
authorFernando J V da Silva <fernandojvsilva@yahoo.com.br>
Wed, 13 Jan 2010 16:08:56 +0000 (14:08 -0200)
committerAndrew Tridgell <tridge@samba.org>
Thu, 14 Jan 2010 04:37:59 +0000 (15:37 +1100)
Signed-off-by: Andrew Tridgell <tridge@samba.org>
source4/dsdb/repl/drepl_partitions.c

index 9a24fe541a17d63128c8278d3637838ff3ab57c8..7fdd5fa2053b1bc2cba79676974c0061e8697a02 100644 (file)
@@ -224,7 +224,7 @@ static WERROR add_local_udv(struct dreplsrv_service *s,
        uint64_t highest_usn;
        int i;
 
-       ret = dsdb_load_partition_usn(s->samdb, p->dn, &highest_usn);
+       ret = dsdb_load_partition_usn(s->samdb, p->dn, &highest_usn, NULL);
        if (ret != LDB_SUCCESS) {
                /* nothing to add */
                return WERR_OK;