s4-srvsvc: merge srvsvc_NetSetFileSecurity from s3 idl.
authorGünther Deschner <gd@samba.org>
Wed, 29 Oct 2008 12:52:23 +0000 (13:52 +0100)
committerGünther Deschner <gd@samba.org>
Fri, 31 Oct 2008 01:44:30 +0000 (02:44 +0100)
Guenther

source4/librpc/idl/srvsvc.idl
source4/rpc_server/srvsvc/dcesrv_srvsvc.c

index 22c709b8b1014a28099e11016e7b4cbbf8403fb1..2afc6f9ec65a60058588d908f51764e2223eed65 100644 (file)
@@ -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
                );
 
        /******************/
index fb42d7952be732c3910940e770e0042633ea2bc5..90fba297e348b87d0375e7a9826e905b16ba6adb 100644 (file)
@@ -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;
 }