summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-10-29 13:52:23 +0100
committerGünther Deschner <gd@samba.org>2008-10-31 02:44:30 +0100
commitf61ce2fe41eebef20d3bba471e625d835555d5d8 (patch)
treed3f809308b93d01e5da8319ca3bbbdefd71eb340 /source4
parent95e438d9b350b97b950d2b47f927c6892b583e1e (diff)
downloadsamba-f61ce2fe41eebef20d3bba471e625d835555d5d8.tar.gz
samba-f61ce2fe41eebef20d3bba471e625d835555d5d8.tar.bz2
samba-f61ce2fe41eebef20d3bba471e625d835555d5d8.zip
s4-srvsvc: merge srvsvc_NetSetFileSecurity from s3 idl.
Guenther
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/idl/srvsvc.idl2
-rw-r--r--source4/rpc_server/srvsvc/dcesrv_srvsvc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/librpc/idl/srvsvc.idl b/source4/librpc/idl/srvsvc.idl
index 22c709b8b1..2afc6f9ec6 100644
--- a/source4/librpc/idl/srvsvc.idl
+++ b/source4/librpc/idl/srvsvc.idl
@@ -1440,7 +1440,7 @@ import "security.idl", "svcctl.idl";
[in,unique] [string,charset(UTF16)] uint16 *share,
[in] [string,charset(UTF16)] uint16 file[],
[in] security_secinfo securityinformation,
- [out,unique] sec_desc_buf *sd_buf
+ [out,ref] sec_desc_buf **sd_buf
);
/******************/
diff --git a/source4/rpc_server/srvsvc/dcesrv_srvsvc.c b/source4/rpc_server/srvsvc/dcesrv_srvsvc.c
index fb42d7952b..90fba297e3 100644
--- a/source4/rpc_server/srvsvc/dcesrv_srvsvc.c
+++ b/source4/rpc_server/srvsvc/dcesrv_srvsvc.c
@@ -2112,7 +2112,7 @@ static WERROR dcesrv_srvsvc_NetGetFileSecurity(struct dcesrv_call_state *dce_cal
sd_buf->sd = io->query_secdesc.out.sd;
- r->out.sd_buf = sd_buf;
+ *r->out.sd_buf = sd_buf;
return WERR_OK;
}