summaryrefslogtreecommitdiff
path: root/source4/libcli/raw/rawacl.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-08-18 13:43:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:08 -0500
commit7d032a99927d3d4ddfc5561e8a96d0315a28ed35 (patch)
tree54d9efafa0d2f4934bb7cd1837fdaccd9e56f0e6 /source4/libcli/raw/rawacl.c
parent46003a56a8508c0b15a763b5a723bb77eba32094 (diff)
downloadsamba-7d032a99927d3d4ddfc5561e8a96d0315a28ed35.tar.gz
samba-7d032a99927d3d4ddfc5561e8a96d0315a28ed35.tar.bz2
samba-7d032a99927d3d4ddfc5561e8a96d0315a28ed35.zip
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)
Diffstat (limited to 'source4/libcli/raw/rawacl.c')
-rw-r--r--source4/libcli/raw/rawacl.c6
1 files changed, 3 insertions, 3 deletions
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);