summaryrefslogtreecommitdiff
path: root/source4/rpc_server/samr
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-10-27 22:57:51 +0100
committerGünther Deschner <gd@samba.org>2008-11-10 21:46:27 +0100
commit5ce30d0f4db94e61ae469155b863b124587495a4 (patch)
tree8944cd59a771362a71295d83d19550c76c3eb89f /source4/rpc_server/samr
parent93c6129c991dfb94496c0f7a9177a89fb275866d (diff)
downloadsamba-5ce30d0f4db94e61ae469155b863b124587495a4.tar.gz
samba-5ce30d0f4db94e61ae469155b863b124587495a4.tar.bz2
samba-5ce30d0f4db94e61ae469155b863b124587495a4.zip
s4-samr: merge samr_QuerySecurity from s3 idl. (fixme: python)
Guenther
Diffstat (limited to 'source4/rpc_server/samr')
-rw-r--r--source4/rpc_server/samr/dcesrv_samr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/rpc_server/samr/dcesrv_samr.c b/source4/rpc_server/samr/dcesrv_samr.c
index 9a45616a8b..e8d800e23d 100644
--- a/source4/rpc_server/samr/dcesrv_samr.c
+++ b/source4/rpc_server/samr/dcesrv_samr.c
@@ -229,7 +229,7 @@ static NTSTATUS dcesrv_samr_QuerySecurity(struct dcesrv_call_state *dce_call, TA
struct dcesrv_handle *h;
struct sec_desc_buf *sd;
- r->out.sdbuf = NULL;
+ *r->out.sdbuf = NULL;
DCESRV_PULL_HANDLE(h, r->in.handle, DCESRV_HANDLE_ANY);
@@ -240,7 +240,7 @@ static NTSTATUS dcesrv_samr_QuerySecurity(struct dcesrv_call_state *dce_call, TA
sd->sd = samdb_default_security_descriptor(mem_ctx);
- r->out.sdbuf = sd;
+ *r->out.sdbuf = sd;
return NT_STATUS_OK;
}