diff options
author | Andrew Bartlett <abartlet@samba.org> | 2004-11-20 00:29:04 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:06:01 -0500 |
commit | 5d35fe6f711985ac337da812bdbde006172bf256 (patch) | |
tree | 9f9ae277aa9823e00b898c68b78c7e232b9e3906 /source4/rpc_server/samr | |
parent | d95a256d1b7f579666c852740d32ba0f446a4c66 (diff) | |
download | samba-5d35fe6f711985ac337da812bdbde006172bf256.tar.gz samba-5d35fe6f711985ac337da812bdbde006172bf256.tar.bz2 samba-5d35fe6f711985ac337da812bdbde006172bf256.zip |
r3885: Add security descriptor comparison to our RPC-SAMSYNC test. We now
verify that the security descriptor found in the SamSync is the same
as what is available over SAMR.
Unfortunately, the administrator seems unable to retrieve the SACL on
the security descriptor, so I've added a new function to compare with
a mask.
Andrew Bartlett
(This used to be commit 39ae5e1dac31a22086be50fb23261e02be877f3f)
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 ef6e45cb1e..05031bdfcb 100644 --- a/source4/rpc_server/samr/dcesrv_samr.c +++ b/source4/rpc_server/samr/dcesrv_samr.c @@ -118,13 +118,13 @@ static NTSTATUS samr_QuerySecurity(struct dcesrv_call_state *dce_call, TALLOC_CT struct samr_QuerySecurity *r) { struct dcesrv_handle *h; - struct samr_SdBuf *sd; + struct sec_desc_buf *sd; r->out.sdbuf = NULL; DCESRV_PULL_HANDLE(h, r->in.handle, DCESRV_HANDLE_ANY); - sd = talloc_p(mem_ctx, struct samr_SdBuf); + sd = talloc_p(mem_ctx, struct sec_desc_buf); if (sd == NULL) { return NT_STATUS_NO_MEMORY; } |