diff options
author | Günther Deschner <gd@samba.org> | 2008-10-28 00:03:28 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-11-10 21:46:27 +0100 |
commit | 94b7db1fb49e1811af002163f9818706e1ea7f7a (patch) | |
tree | f9a940ab7a920f7b53840eb56c21133febc3bb4b /source4/rpc_server/samr | |
parent | 5ce30d0f4db94e61ae469155b863b124587495a4 (diff) | |
download | samba-94b7db1fb49e1811af002163f9818706e1ea7f7a.tar.gz samba-94b7db1fb49e1811af002163f9818706e1ea7f7a.tar.bz2 samba-94b7db1fb49e1811af002163f9818706e1ea7f7a.zip |
s4-samr: merge samr_RidToSid from s3 idl. (fixme: python)
Guenther
Diffstat (limited to 'source4/rpc_server/samr')
-rw-r--r-- | source4/rpc_server/samr/dcesrv_samr.c | 4 |
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 e8d800e23d..37446f5aa2 100644 --- a/source4/rpc_server/samr/dcesrv_samr.c +++ b/source4/rpc_server/samr/dcesrv_samr.c @@ -4307,8 +4307,8 @@ static NTSTATUS dcesrv_samr_RidToSid(struct dcesrv_call_state *dce_call, TALLOC_ d_state = h->data; /* form the users SID */ - r->out.sid = dom_sid_add_rid(mem_ctx, d_state->domain_sid, r->in.rid); - if (!r->out.sid) { + *r->out.sid = dom_sid_add_rid(mem_ctx, d_state->domain_sid, r->in.rid); + if (!*r->out.sid) { return NT_STATUS_NO_MEMORY; } |