diff options
author | Björn Baumbach <bb@sernet.de> | 2011-07-22 15:02:23 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-07-23 09:18:56 +0200 |
commit | 768646c9a23c3b2d295af77826e82d3087076e36 (patch) | |
tree | fa715c5fe96b780e911ac5400ae5dcd5bfb9fcc6 /source3/utils | |
parent | 40e9d0c440fb436f48e854d8b44b31fef47aaee7 (diff) | |
download | samba-768646c9a23c3b2d295af77826e82d3087076e36.tar.gz samba-768646c9a23c3b2d295af77826e82d3087076e36.tar.bz2 samba-768646c9a23c3b2d295af77826e82d3087076e36.zip |
s3-libsmb: rename cli_query_secdesc() to cli_query_secdesc_old()
Will introduce new cli_query_secdesc() function
Signed-off-by: Stefan Metzmacher <metze@samba.org>
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); |