diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-01-04 13:51:34 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-01-04 21:28:59 +0100 |
commit | c6aedc9750aff42a6d201addf0d4ed745743b9a2 (patch) | |
tree | 7c95c649f01dfca500b4ea6b164ed4e49f066e25 | |
parent | 62aa019a1b5b0ec17e0b4494de44e80ffc793fdd (diff) | |
download | samba-c6aedc9750aff42a6d201addf0d4ed745743b9a2.tar.gz samba-c6aedc9750aff42a6d201addf0d4ed745743b9a2.tar.bz2 samba-c6aedc9750aff42a6d201addf0d4ed745743b9a2.zip |
s3:rpcclient: use dcerpc_binding_handle based client stubs in cmd_dssetup.c
metze
-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); |