summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/samba3rpc.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-10-29 15:11:27 +0100
committerGünther Deschner <gd@samba.org>2008-10-31 02:44:31 +0100
commit523732ed2d33f61d35774aa3f771a890cb663035 (patch)
tree936bb56d362eed105a52659a60409c30afcaba47 /source4/torture/rpc/samba3rpc.c
parent3206f3552791f1806eec3a6d4bdc55857da4b264 (diff)
downloadsamba-523732ed2d33f61d35774aa3f771a890cb663035.tar.gz
samba-523732ed2d33f61d35774aa3f771a890cb663035.tar.bz2
samba-523732ed2d33f61d35774aa3f771a890cb663035.zip
s4-srvsvc: merge srvsvc_NetShareSetInfo from s3 idl.
Guenther
Diffstat (limited to 'source4/torture/rpc/samba3rpc.c')
-rw-r--r--source4/torture/rpc/samba3rpc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/torture/rpc/samba3rpc.c b/source4/torture/rpc/samba3rpc.c
index 5aff213533..e04400ef05 100644
--- a/source4/torture/rpc/samba3rpc.c
+++ b/source4/torture/rpc/samba3rpc.c
@@ -2170,6 +2170,7 @@ static NTSTATUS set_sharesec(TALLOC_CTX *mem_ctx,
NTSTATUS status;
struct sec_desc_buf i;
struct srvsvc_NetShareSetInfo r;
+ union srvsvc_NetShareInfo info;
uint32_t error = 0;
if (!(tmp_ctx = talloc_new(mem_ctx))) {
@@ -2201,7 +2202,8 @@ static NTSTATUS set_sharesec(TALLOC_CTX *mem_ctx,
r.in.share_name = sharename;
r.in.level = 1501;
i.sd = sd;
- r.in.info.info1501 = &i;
+ info.info1501 = &i;
+ r.in.info = &info;
r.in.parm_error = &error;
status = dcerpc_srvsvc_NetShareSetInfo(p, tmp_ctx, &r);