summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-03-11 11:27:16 +0100
committerStefan Metzmacher <metze@samba.org>2010-03-12 15:25:51 +0100
commit02c61f520cfd5bea83ab18a4877c978f448fa4d3 (patch)
treeaf5863d8a33ca57fabdc7d7c023d8192aa8e4e30 /source4/libnet
parent19d229a11b959f4dd841b1a4e851f39271121e10 (diff)
downloadsamba-02c61f520cfd5bea83ab18a4877c978f448fa4d3.tar.gz
samba-02c61f520cfd5bea83ab18a4877c978f448fa4d3.tar.bz2
samba-02c61f520cfd5bea83ab18a4877c978f448fa4d3.zip
s4:libnet/libnet_samsync.c: make use of dcerpc_binding_handle stubs
metze
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/libnet_samsync.c2
1 files changed, 1 insertions, 1 deletions
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));