diff options
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_rpc.c | 2 | ||||
-rw-r--r-- | source3/utils/net_rpc_printer.c | 2 | ||||
-rw-r--r-- | source3/utils/smbcacls.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index 1ec34c210c..947ae96c88 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -4864,7 +4864,7 @@ static void show_userlist(struct rpc_pipe_client *pipe_hnd, if (!NT_STATUS_IS_OK(cli_ntcreate(cli, "\\", 0, READ_CONTROL_ACCESS, 0, FILE_SHARE_READ|FILE_SHARE_WRITE, FILE_OPEN, 0x0, 0x0, &fnum))) { - root_sd = cli_query_secdesc(cli, fnum, mem_ctx); + root_sd = cli_query_secdesc_old(cli, fnum, mem_ctx); } for (i=0; i<num_tokens; i++) { diff --git a/source3/utils/net_rpc_printer.c b/source3/utils/net_rpc_printer.c index 76509c2bc6..f5019af346 100644 --- a/source3/utils/net_rpc_printer.c +++ b/source3/utils/net_rpc_printer.c @@ -185,7 +185,7 @@ NTSTATUS net_copy_fileattr(struct net_context *c, if (copy_acls) { /* get the security descriptor */ - sd = cli_query_secdesc(cli_share_src, fnum_src, mem_ctx); + sd = cli_query_secdesc_old(cli_share_src, fnum_src, mem_ctx); if (!sd) { DEBUG(0,("failed to get security descriptor: %s\n", cli_errstr(cli_share_src))); diff --git a/source3/utils/smbcacls.c b/source3/utils/smbcacls.c index 4a7c6a6f13..6183146762 100644 --- a/source3/utils/smbcacls.c +++ b/source3/utils/smbcacls.c @@ -722,7 +722,7 @@ static struct security_descriptor *get_secdesc(struct cli_state *cli, const char return NULL; } - sd = cli_query_secdesc(cli, fnum, talloc_tos()); + sd = cli_query_secdesc_old(cli, fnum, talloc_tos()); cli_close(cli, fnum); |