summaryrefslogtreecommitdiffstats
path: root/source3/client
diff options
context:
space:
mode:
authorBjörn Baumbach <bb@sernet.de>2011-07-22 16:51:10 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-23 09:30:38 +0200
commit78f267df699a053a532a69cd4187917d6213deb1 (patch)
tree13e1e324cd7c1ba9920e91063c1a6f2cd500831a /source3/client
parent6911b046064b234c592fedee33c77e4c0b7762e8 (diff)
downloadsamba-78f267df699a053a532a69cd4187917d6213deb1.tar.gz
samba-78f267df699a053a532a69cd4187917d6213deb1.tar.xz
samba-78f267df699a053a532a69cd4187917d6213deb1.zip
s3-client/client.c: replace cli_query_secdesc_old()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/client.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 5c4d63a8c1..e6fffcbcfd 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -586,12 +586,12 @@ static NTSTATUS display_finfo(struct cli_state *cli_state, struct file_info *fin
afname, nt_errstr(status)));
} else {
struct security_descriptor *sd = NULL;
- sd = cli_query_secdesc_old(cli_state, fnum, ctx);
- if (!sd) {
- status = cli_nt_error(cli_state);
+ status = cli_query_secdesc(cli_state, fnum,
+ ctx, &sd);
+ if (!NT_STATUS_IS_OK(status)) {
DEBUG( 0, ("display_finfo() failed to "
- "get security descriptor: %s",
- nt_errstr(status)));
+ "get security descriptor: %s",
+ nt_errstr(status)));
} else {
display_sec_desc(sd);
}