summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-01 17:30:42 +0100
committerGünther Deschner <gd@samba.org>2008-02-02 13:37:19 +0100
commit5fd0b0f944a1faa8eea7e9b0d2d63f11fab1d8fa (patch)
tree62d799873b4ca9b6fc7153919e706ba93cfb777e /source3
parente8f1edb9cd0d2014c05cdb2aba4f4deef48efedf (diff)
downloadsamba-5fd0b0f944a1faa8eea7e9b0d2d63f11fab1d8fa.tar.gz
samba-5fd0b0f944a1faa8eea7e9b0d2d63f11fab1d8fa.tar.bz2
samba-5fd0b0f944a1faa8eea7e9b0d2d63f11fab1d8fa.zip
Use rpccli_samr_QuerySecurity() for rpcclient.
Guenther (This used to be commit 845d9ea9f641ff58a9b16395697c72a3963bae52)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpcclient/cmd_samr.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c
index 976bc86d9b..2799e46438 100644
--- a/source3/rpcclient/cmd_samr.c
+++ b/source3/rpcclient/cmd_samr.c
@@ -2080,8 +2080,10 @@ static NTSTATUS cmd_samr_query_sec_obj(struct rpc_pipe_client *cli,
/* Query SAM security object */
- result = rpccli_samr_query_sec_obj(cli, mem_ctx, pol, sec_info, ctx,
- &sec_desc_buf);
+ result = rpccli_samr_QuerySecurity(cli, mem_ctx,
+ pol,
+ sec_info,
+ &sec_desc_buf);
if (!NT_STATUS_IS_OK(result))
goto done;