From 02c61f520cfd5bea83ab18a4877c978f448fa4d3 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 11 Mar 2010 11:27:16 +0100 Subject: s4:libnet/libnet_samsync.c: make use of dcerpc_binding_handle stubs metze --- source4/libnet/libnet_samsync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/libnet') diff --git a/source4/libnet/libnet_samsync.c b/source4/libnet/libnet_samsync.c index 706d9bb569..eb4c8269c2 100644 --- a/source4/libnet/libnet_samsync.c +++ b/source4/libnet/libnet_samsync.c @@ -215,7 +215,7 @@ NTSTATUS libnet_SamSync_netlogon(struct libnet_context *ctx, TALLOC_CTX *mem_ctx dbsync.in.credential = &credential; - dbsync_nt_status = dcerpc_netr_DatabaseSync(p, loop_ctx, &dbsync); + dbsync_nt_status = dcerpc_netr_DatabaseSync_r(p->binding_handle, loop_ctx, &dbsync); if (!NT_STATUS_IS_OK(dbsync_nt_status) && !NT_STATUS_EQUAL(dbsync_nt_status, STATUS_MORE_ENTRIES)) { r->out.error_string = talloc_asprintf(mem_ctx, "DatabaseSync failed - %s", nt_errstr(nt_status)); -- cgit