mirror of
https://github.com/samba-team/samba.git
synced 2025-02-24 13:57:43 +03:00
Re-run make idl.
Guenther (This used to be commit e02b07da063200eaf7f2902b7541237b3f9442d1)
This commit is contained in:
parent
46e0748cdf
commit
b5cd038000
@ -136,7 +136,7 @@ NTSTATUS rpccli_samr_QuerySecurity(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
struct policy_handle *handle,
|
||||
uint32_t sec_info,
|
||||
struct sec_desc_buf *sdbuf)
|
||||
struct sec_desc_buf **sdbuf)
|
||||
{
|
||||
struct samr_QuerySecurity r;
|
||||
NTSTATUS status;
|
||||
|
@ -18,7 +18,7 @@ NTSTATUS rpccli_samr_QuerySecurity(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
struct policy_handle *handle,
|
||||
uint32_t sec_info,
|
||||
struct sec_desc_buf *sdbuf);
|
||||
struct sec_desc_buf **sdbuf);
|
||||
NTSTATUS rpccli_samr_Shutdown(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
struct policy_handle *connect_handle);
|
||||
|
@ -5425,7 +5425,11 @@ static enum ndr_err_code ndr_push_samr_QuerySecurity(struct ndr_push *ndr, int f
|
||||
if (r->out.sdbuf == NULL) {
|
||||
return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
|
||||
}
|
||||
NDR_CHECK(ndr_push_sec_desc_buf(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.sdbuf));
|
||||
if (*r->out.sdbuf == NULL) {
|
||||
return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
|
||||
}
|
||||
NDR_CHECK(ndr_push_ref_ptr(ndr));
|
||||
NDR_CHECK(ndr_push_sec_desc_buf(ndr, NDR_SCALARS|NDR_BUFFERS, *r->out.sdbuf));
|
||||
NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));
|
||||
}
|
||||
return NDR_ERR_SUCCESS;
|
||||
@ -5433,8 +5437,10 @@ static enum ndr_err_code ndr_push_samr_QuerySecurity(struct ndr_push *ndr, int f
|
||||
|
||||
static enum ndr_err_code ndr_pull_samr_QuerySecurity(struct ndr_pull *ndr, int flags, struct samr_QuerySecurity *r)
|
||||
{
|
||||
uint32_t _ptr_sdbuf;
|
||||
TALLOC_CTX *_mem_save_handle_0;
|
||||
TALLOC_CTX *_mem_save_sdbuf_0;
|
||||
TALLOC_CTX *_mem_save_sdbuf_1;
|
||||
if (flags & NDR_IN) {
|
||||
ZERO_STRUCT(r->out);
|
||||
|
||||
@ -5455,7 +5461,14 @@ static enum ndr_err_code ndr_pull_samr_QuerySecurity(struct ndr_pull *ndr, int f
|
||||
}
|
||||
_mem_save_sdbuf_0 = NDR_PULL_GET_MEM_CTX(ndr);
|
||||
NDR_PULL_SET_MEM_CTX(ndr, r->out.sdbuf, LIBNDR_FLAG_REF_ALLOC);
|
||||
NDR_CHECK(ndr_pull_sec_desc_buf(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.sdbuf));
|
||||
NDR_CHECK(ndr_pull_ref_ptr(ndr, &_ptr_sdbuf));
|
||||
if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
|
||||
NDR_PULL_ALLOC(ndr, *r->out.sdbuf);
|
||||
}
|
||||
_mem_save_sdbuf_1 = NDR_PULL_GET_MEM_CTX(ndr);
|
||||
NDR_PULL_SET_MEM_CTX(ndr, *r->out.sdbuf, LIBNDR_FLAG_REF_ALLOC);
|
||||
NDR_CHECK(ndr_pull_sec_desc_buf(ndr, NDR_SCALARS|NDR_BUFFERS, *r->out.sdbuf));
|
||||
NDR_PULL_SET_MEM_CTX(ndr, _mem_save_sdbuf_1, LIBNDR_FLAG_REF_ALLOC);
|
||||
NDR_PULL_SET_MEM_CTX(ndr, _mem_save_sdbuf_0, LIBNDR_FLAG_REF_ALLOC);
|
||||
NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));
|
||||
}
|
||||
@ -5484,7 +5497,10 @@ _PUBLIC_ void ndr_print_samr_QuerySecurity(struct ndr_print *ndr, const char *na
|
||||
ndr->depth++;
|
||||
ndr_print_ptr(ndr, "sdbuf", r->out.sdbuf);
|
||||
ndr->depth++;
|
||||
ndr_print_sec_desc_buf(ndr, "sdbuf", r->out.sdbuf);
|
||||
ndr_print_ptr(ndr, "sdbuf", *r->out.sdbuf);
|
||||
ndr->depth++;
|
||||
ndr_print_sec_desc_buf(ndr, "sdbuf", *r->out.sdbuf);
|
||||
ndr->depth--;
|
||||
ndr->depth--;
|
||||
ndr_print_NTSTATUS(ndr, "result", r->out.result);
|
||||
ndr->depth--;
|
||||
|
@ -773,7 +773,7 @@ struct samr_QuerySecurity {
|
||||
} in;
|
||||
|
||||
struct {
|
||||
struct sec_desc_buf *sdbuf;/* [ref] */
|
||||
struct sec_desc_buf **sdbuf;/* [ref] */
|
||||
NTSTATUS result;
|
||||
} out;
|
||||
|
||||
|
@ -273,7 +273,7 @@ static bool api_samr_QuerySecurity(pipes_struct *p)
|
||||
}
|
||||
|
||||
ZERO_STRUCT(r->out);
|
||||
r->out.sdbuf = talloc_zero(r, struct sec_desc_buf);
|
||||
r->out.sdbuf = talloc_zero(r, struct sec_desc_buf *);
|
||||
if (r->out.sdbuf == NULL) {
|
||||
talloc_free(r);
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user