summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-03-23 16:47:26 +0100
committerGünther Deschner <gd@samba.org>2011-03-23 20:12:38 +0100
commitd2d3ac66eccbd5d1141f90b791704acf26f0227e (patch)
treec4c77468c74ae62e01611f9fb2ea7b3f10b728c0 /source3
parent48c604a3b72caa79069d3d32b47e0a03090e3687 (diff)
downloadsamba-d2d3ac66eccbd5d1141f90b791704acf26f0227e.tar.gz
samba-d2d3ac66eccbd5d1141f90b791704acf26f0227e.tar.bz2
samba-d2d3ac66eccbd5d1141f90b791704acf26f0227e.zip
s3-rpc_client: actually call lsa_open_policy2() in rpccli_lsa_open_policy2().
Found by Sumit Bose <sbose@redhat.com>, thanks! Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Mar 23 20:12:38 CET 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_client/cli_lsarpc.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/source3/rpc_client/cli_lsarpc.c b/source3/rpc_client/cli_lsarpc.c
index 0e87d92731..88534e6eee 100644
--- a/source3/rpc_client/cli_lsarpc.c
+++ b/source3/rpc_client/cli_lsarpc.c
@@ -144,12 +144,13 @@ NTSTATUS rpccli_lsa_open_policy2(struct rpc_pipe_client *cli,
NTSTATUS status;
NTSTATUS result = NT_STATUS_UNSUCCESSFUL;
- status = dcerpc_lsa_open_policy(cli->binding_handle,
- mem_ctx,
- sec_qos,
- des_access,
- pol,
- &result);
+ status = dcerpc_lsa_open_policy2(cli->binding_handle,
+ cli->srv_name_slash,
+ mem_ctx,
+ sec_qos,
+ des_access,
+ pol,
+ &result);
if (!NT_STATUS_IS_OK(status)) {
return status;
}