From 7d032a99927d3d4ddfc5561e8a96d0315a28ed35 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 18 Aug 2004 13:43:53 +0000 Subject: r1883: I don't know why this was broken... tridge: can you please check if this is correct, I have only compiled it, but haven'T run it. metze (This used to be commit d3123c2e7357d8db4dce9e0253ac405318d05c48) --- source4/libcli/raw/rawacl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source4/libcli/raw/rawacl.c') diff --git a/source4/libcli/raw/rawacl.c b/source4/libcli/raw/rawacl.c index 77374ae8b9..dde6b673a0 100644 --- a/source4/libcli/raw/rawacl.c +++ b/source4/libcli/raw/rawacl.c @@ -84,7 +84,7 @@ NTSTATUS smb_raw_query_secdesc_recv(struct smbcli_request *req, } status = ndr_pull_security_descriptor(ndr, NDR_SCALARS|NDR_BUFFERS, query->out.sd); - return NT_STATUS_OK; + return status; } @@ -130,12 +130,12 @@ struct smbcli_request *smb_raw_set_secdesc_send(struct smbcli_tree *tree, ndr = ndr_push_init(); if (!ndr) return NULL; -// status = ndr_push_security_descriptor(ndr, set->in.sd); + status = ndr_push_security_descriptor(ndr, NDR_SCALARS|NDR_BUFFERS, set->in.sd); if (!NT_STATUS_IS_OK(status)) { ndr_push_free(ndr); return NULL; } - + nt.in.data = ndr_push_blob(ndr); req = smb_raw_nttrans_send(tree, &nt); -- cgit