diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-07 02:37:04 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:48:41 +0100 |
commit | 4c4323009fa83f00ed319de59a3aad48fcd65994 (patch) | |
tree | 4eb290c8e7881e1b9b9f77f8401531443aa81bf4 /source4/torture/rpc/samsync.c | |
parent | 485b24fc113fe64507e20b9079948832d63194a3 (diff) | |
download | samba-4c4323009fa83f00ed319de59a3aad48fcd65994.tar.gz samba-4c4323009fa83f00ed319de59a3aad48fcd65994.tar.bz2 samba-4c4323009fa83f00ed319de59a3aad48fcd65994.zip |
r26327: Explicit loadparm_context for RPC client functions.
(This used to be commit eeb2251d22b3d6e0379444a73af69d1014692b07)
Diffstat (limited to 'source4/torture/rpc/samsync.c')
-rw-r--r-- | source4/torture/rpc/samsync.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/samsync.c b/source4/torture/rpc/samsync.c index d1d95ce8fd..e94f228589 100644 --- a/source4/torture/rpc/samsync.c +++ b/source4/torture/rpc/samsync.c @@ -1558,7 +1558,7 @@ bool torture_rpc_samsync(struct torture_context *torture) status = dcerpc_pipe_connect_b(samsync_state, &samsync_state->p, b, &ndr_table_netlogon, - credentials, NULL); + credentials, NULL, torture->lp_ctx); if (!NT_STATUS_IS_OK(status)) { printf("Failed to connect to server as a BDC: %s\n", nt_errstr(status)); @@ -1596,7 +1596,7 @@ bool torture_rpc_samsync(struct torture_context *torture) &samsync_state->p_netlogon_wksta, b_netlogon_wksta, &ndr_table_netlogon, - credentials_wksta, NULL); + credentials_wksta, NULL, torture->lp_ctx); if (!NT_STATUS_IS_OK(status)) { printf("Failed to connect to server as a Workstation: %s\n", nt_errstr(status)); |