diff options
Diffstat (limited to 'source3/rpcclient')
-rw-r--r-- | source3/rpcclient/cmd_dssetup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpcclient/cmd_dssetup.c b/source3/rpcclient/cmd_dssetup.c index 88f541bb51..198c010ecd 100644 --- a/source3/rpcclient/cmd_dssetup.c +++ b/source3/rpcclient/cmd_dssetup.c @@ -29,11 +29,12 @@ static WERROR cmd_ds_dsrole_getprimarydominfo(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, int argc, const char **argv) { + struct dcerpc_binding_handle *b = cli->binding_handle; NTSTATUS status; WERROR werr; union dssetup_DsRoleInfo info; - status = rpccli_dssetup_DsRoleGetPrimaryDomainInformation(cli, mem_ctx, + status = dcerpc_dssetup_DsRoleGetPrimaryDomainInformation(b, mem_ctx, DS_ROLE_BASIC_INFORMATION, &info, &werr); |