diff options
author | Günther Deschner <gd@samba.org> | 2006-03-06 15:22:00 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:10:57 -0500 |
commit | 0ae3fddf95a95ec8a2f4d52e1276c1721b33ddfd (patch) | |
tree | 3c148cdb4124def709796db2d6f9eb11cc31c133 /source/libmsrpc | |
parent | b8c07babbd22832132da8f70026aa1816983bc38 (diff) | |
download | samba-0ae3fddf95a95ec8a2f4d52e1276c1721b33ddfd.tar.gz samba-0ae3fddf95a95ec8a2f4d52e1276c1721b33ddfd.tar.xz samba-0ae3fddf95a95ec8a2f4d52e1276c1721b33ddfd.zip |
r13864: Some cleanup and the samr set security object function client-side.
Guenther
Diffstat (limited to 'source/libmsrpc')
-rw-r--r-- | source/libmsrpc/cac_samr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/libmsrpc/cac_samr.c b/source/libmsrpc/cac_samr.c index 7f39e76813f..60c6562988e 100644 --- a/source/libmsrpc/cac_samr.c +++ b/source/libmsrpc/cac_samr.c @@ -2343,7 +2343,7 @@ int cac_SamGetSecurityObject(CacServerHandle *hnd, TALLOC_CTX *mem_ctx, struct S struct rpc_pipe_client *pipe_hnd = NULL; /*this number taken from rpcclient/cmd_samr.c, I think it is the only supported level*/ - uint16 info_level = 4; + uint32 sec_info = DACL_SECURITY_INFORMATION; SEC_DESC_BUF *sec_out = NULL; @@ -2366,7 +2366,7 @@ int cac_SamGetSecurityObject(CacServerHandle *hnd, TALLOC_CTX *mem_ctx, struct S return CAC_FAILURE; } - hnd->status = rpccli_samr_query_sec_obj(pipe_hnd, mem_ctx, op->in.pol, info_level, mem_ctx, &sec_out); + hnd->status = rpccli_samr_query_sec_obj(pipe_hnd, mem_ctx, op->in.pol, sec_info, mem_ctx, &sec_out); if(!NT_STATUS_IS_OK(hnd->status)) return CAC_FAILURE; |