s4-libnet: use updated dsdb commit function
authorAndrew Tridgell <tridge@samba.org>
Tue, 15 Sep 2009 21:42:26 +0000 (14:42 -0700)
committerAndrew Tridgell <tridge@samba.org>
Tue, 15 Sep 2009 21:42:26 +0000 (14:42 -0700)
source4/libnet/libnet_vampire.c

index 5e516afaee4157213f79ef86305fd9bbc98f7376..327a64daea3bf0932a7728b82fced206dcc88f74 100644 (file)
@@ -168,6 +168,7 @@ static NTSTATUS vampire_apply_schema(struct vampire_state *s,
        uint32_t i;
        int ret;
        bool ok;
+       uint64_t seq_num;
 
        DEBUG(0,("Analyze and apply schema objects\n"));
 
@@ -301,7 +302,7 @@ static NTSTATUS vampire_apply_schema(struct vampire_state *s,
                                                         s_dsa,
                                                         uptodateness_vector,
                                                         c->gensec_skey,
-                                                        s, &objs);
+                                                        s, &objs, &seq_num);
        if (!W_ERROR_IS_OK(status)) {
                DEBUG(0,("Failed to commit objects: %s\n", win_errstr(status)));
                return werror_to_ntstatus(status);
@@ -465,6 +466,7 @@ static NTSTATUS vampire_store_chunk(void *private_data,
        struct repsFromTo1 *s_dsa;
        char *tmp_dns_name;
        uint32_t i;
+       uint64_t seq_num;
 
        s_dsa                   = talloc_zero(s, struct repsFromTo1);
        NT_STATUS_HAVE_NO_MEMORY(s_dsa);
@@ -541,7 +543,7 @@ static NTSTATUS vampire_store_chunk(void *private_data,
                                                         s_dsa,
                                                         uptodateness_vector,
                                                         c->gensec_skey,
-                                                        s, &objs);
+                                                        s, &objs, &seq_num);
        if (!W_ERROR_IS_OK(status)) {
                DEBUG(0,("Failed to commit objects: %s\n", win_errstr(status)));
                return werror_to_ntstatus(status);