diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-09-23 17:35:48 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-10-04 15:08:56 +1100 |
commit | ac581b3374188b5d6171b5f90fb3d0a103201475 (patch) | |
tree | 9485d4a4a0688b28ec6db611aeb4cb00fdf3c66d | |
parent | 761fd4af2e6cc3017bc95cc0edd0080d03ddc7f3 (diff) | |
download | samba-ac581b3374188b5d6171b5f90fb3d0a103201475.tar.gz samba-ac581b3374188b5d6171b5f90fb3d0a103201475.tar.bz2 samba-ac581b3374188b5d6171b5f90fb3d0a103201475.zip |
s4-dsdb: update callers to dsdb_convert_object_ex()
-rw-r--r-- | source4/libnet/libnet_vampire.c | 3 | ||||
-rw-r--r-- | source4/torture/drs/rpc/dssync.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/source4/libnet/libnet_vampire.c b/source4/libnet/libnet_vampire.c index efbcd8af68..ef531a43d2 100644 --- a/source4/libnet/libnet_vampire.c +++ b/source4/libnet/libnet_vampire.c @@ -358,6 +358,7 @@ static NTSTATUS libnet_vampire_cb_apply_schema(struct libnet_vampire_cb_state *s status = dsdb_convert_object_ex(s->ldb, working_schema, pfm_remote, cur, c->gensec_skey, ignore_attids, + 0, tmp_ctx, &object); if (!W_ERROR_IS_OK(status)) { DEBUG(1,("Warning: Failed to convert schema object %s into ldb msg\n", @@ -438,6 +439,7 @@ static NTSTATUS libnet_vampire_cb_apply_schema(struct libnet_vampire_cb_state *s s_dsa, uptodateness_vector, c->gensec_skey, + 0, s, &schema_objs); if (!W_ERROR_IS_OK(status)) { DEBUG(0,("Failed to convert objects when trying to import over DRS (2nd pass, to store remote schema): %s\n", win_errstr(status))); @@ -743,6 +745,7 @@ NTSTATUS libnet_vampire_cb_store_chunk(void *private_data, s_dsa, uptodateness_vector, c->gensec_skey, + 0, s, &objs); if (!W_ERROR_IS_OK(status)) { DEBUG(0,("Failed to convert objects: %s\n", win_errstr(status))); diff --git a/source4/torture/drs/rpc/dssync.c b/source4/torture/drs/rpc/dssync.c index 7149da4a85..f6cc0f1026 100644 --- a/source4/torture/drs/rpc/dssync.c +++ b/source4/torture/drs/rpc/dssync.c @@ -347,6 +347,7 @@ static bool test_analyse_objects(struct torture_context *tctx, 0, NULL, NULL, NULL, gensec_skey, + 0, ctx, &objs); torture_assert_werr_ok(tctx, status, "dsdb_extended_replicated_objects_convert() failed!"); |