mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
Re-run make idl.
Guenther (This used to be commit 4d9f48f918ac5a0e7df0f4e55673c5b285efc4d5)
This commit is contained in:
parent
8c85a73d1e
commit
9129d20447
@ -1957,8 +1957,8 @@ NTSTATUS rpccli_lsa_OpenPolicy2(struct rpc_pipe_client *cli,
|
|||||||
NTSTATUS rpccli_lsa_GetUserName(struct rpc_pipe_client *cli,
|
NTSTATUS rpccli_lsa_GetUserName(struct rpc_pipe_client *cli,
|
||||||
TALLOC_CTX *mem_ctx,
|
TALLOC_CTX *mem_ctx,
|
||||||
const char *system_name,
|
const char *system_name,
|
||||||
struct lsa_String *account_name,
|
struct lsa_String **account_name,
|
||||||
struct lsa_StringPointer *authority_name)
|
struct lsa_String **authority_name)
|
||||||
{
|
{
|
||||||
struct lsa_GetUserName r;
|
struct lsa_GetUserName r;
|
||||||
NTSTATUS status;
|
NTSTATUS status;
|
||||||
@ -1992,9 +1992,7 @@ NTSTATUS rpccli_lsa_GetUserName(struct rpc_pipe_client *cli,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Return variables */
|
/* Return variables */
|
||||||
if (account_name && r.out.account_name) {
|
*account_name = *r.out.account_name;
|
||||||
*account_name = *r.out.account_name;
|
|
||||||
}
|
|
||||||
if (authority_name && r.out.authority_name) {
|
if (authority_name && r.out.authority_name) {
|
||||||
*authority_name = *r.out.authority_name;
|
*authority_name = *r.out.authority_name;
|
||||||
}
|
}
|
||||||
|
@ -219,8 +219,8 @@ NTSTATUS rpccli_lsa_OpenPolicy2(struct rpc_pipe_client *cli,
|
|||||||
NTSTATUS rpccli_lsa_GetUserName(struct rpc_pipe_client *cli,
|
NTSTATUS rpccli_lsa_GetUserName(struct rpc_pipe_client *cli,
|
||||||
TALLOC_CTX *mem_ctx,
|
TALLOC_CTX *mem_ctx,
|
||||||
const char *system_name,
|
const char *system_name,
|
||||||
struct lsa_String *account_name,
|
struct lsa_String **account_name,
|
||||||
struct lsa_StringPointer *authority_name);
|
struct lsa_String **authority_name);
|
||||||
NTSTATUS rpccli_lsa_QueryInfoPolicy2(struct rpc_pipe_client *cli,
|
NTSTATUS rpccli_lsa_QueryInfoPolicy2(struct rpc_pipe_client *cli,
|
||||||
TALLOC_CTX *mem_ctx,
|
TALLOC_CTX *mem_ctx,
|
||||||
struct policy_handle *handle,
|
struct policy_handle *handle,
|
||||||
|
@ -452,10 +452,6 @@ struct lsa_RightSet {
|
|||||||
struct lsa_StringLarge *names;/* [unique,size_is(count)] */
|
struct lsa_StringLarge *names;/* [unique,size_is(count)] */
|
||||||
};
|
};
|
||||||
|
|
||||||
struct lsa_StringPointer {
|
|
||||||
struct lsa_String *string;/* [unique] */
|
|
||||||
};
|
|
||||||
|
|
||||||
struct lsa_DomainListEx {
|
struct lsa_DomainListEx {
|
||||||
uint32_t count;
|
uint32_t count;
|
||||||
struct lsa_TrustDomainInfoInfoEx *domains;/* [unique,size_is(count)] */
|
struct lsa_TrustDomainInfoInfoEx *domains;/* [unique,size_is(count)] */
|
||||||
@ -1189,13 +1185,13 @@ struct lsa_OpenPolicy2 {
|
|||||||
struct lsa_GetUserName {
|
struct lsa_GetUserName {
|
||||||
struct {
|
struct {
|
||||||
const char *system_name;/* [unique,charset(UTF16)] */
|
const char *system_name;/* [unique,charset(UTF16)] */
|
||||||
struct lsa_String *account_name;/* [unique] */
|
struct lsa_String **account_name;/* [ref] */
|
||||||
struct lsa_StringPointer *authority_name;/* [unique] */
|
struct lsa_String **authority_name;/* [unique] */
|
||||||
} in;
|
} in;
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
struct lsa_String *account_name;/* [unique] */
|
struct lsa_String **account_name;/* [ref] */
|
||||||
struct lsa_StringPointer *authority_name;/* [unique] */
|
struct lsa_String **authority_name;/* [unique] */
|
||||||
NTSTATUS result;
|
NTSTATUS result;
|
||||||
} out;
|
} out;
|
||||||
|
|
||||||
|
@ -3344,57 +3344,6 @@ _PUBLIC_ void ndr_print_lsa_RightSet(struct ndr_print *ndr, const char *name, co
|
|||||||
ndr->depth--;
|
ndr->depth--;
|
||||||
}
|
}
|
||||||
|
|
||||||
static enum ndr_err_code ndr_push_lsa_StringPointer(struct ndr_push *ndr, int ndr_flags, const struct lsa_StringPointer *r)
|
|
||||||
{
|
|
||||||
if (ndr_flags & NDR_SCALARS) {
|
|
||||||
NDR_CHECK(ndr_push_align(ndr, 4));
|
|
||||||
NDR_CHECK(ndr_push_unique_ptr(ndr, r->string));
|
|
||||||
}
|
|
||||||
if (ndr_flags & NDR_BUFFERS) {
|
|
||||||
if (r->string) {
|
|
||||||
NDR_CHECK(ndr_push_lsa_String(ndr, NDR_SCALARS|NDR_BUFFERS, r->string));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return NDR_ERR_SUCCESS;
|
|
||||||
}
|
|
||||||
|
|
||||||
static enum ndr_err_code ndr_pull_lsa_StringPointer(struct ndr_pull *ndr, int ndr_flags, struct lsa_StringPointer *r)
|
|
||||||
{
|
|
||||||
uint32_t _ptr_string;
|
|
||||||
TALLOC_CTX *_mem_save_string_0;
|
|
||||||
if (ndr_flags & NDR_SCALARS) {
|
|
||||||
NDR_CHECK(ndr_pull_align(ndr, 4));
|
|
||||||
NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_string));
|
|
||||||
if (_ptr_string) {
|
|
||||||
NDR_PULL_ALLOC(ndr, r->string);
|
|
||||||
} else {
|
|
||||||
r->string = NULL;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (ndr_flags & NDR_BUFFERS) {
|
|
||||||
if (r->string) {
|
|
||||||
_mem_save_string_0 = NDR_PULL_GET_MEM_CTX(ndr);
|
|
||||||
NDR_PULL_SET_MEM_CTX(ndr, r->string, 0);
|
|
||||||
NDR_CHECK(ndr_pull_lsa_String(ndr, NDR_SCALARS|NDR_BUFFERS, r->string));
|
|
||||||
NDR_PULL_SET_MEM_CTX(ndr, _mem_save_string_0, 0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return NDR_ERR_SUCCESS;
|
|
||||||
}
|
|
||||||
|
|
||||||
_PUBLIC_ void ndr_print_lsa_StringPointer(struct ndr_print *ndr, const char *name, const struct lsa_StringPointer *r)
|
|
||||||
{
|
|
||||||
ndr_print_struct(ndr, name, "lsa_StringPointer");
|
|
||||||
ndr->depth++;
|
|
||||||
ndr_print_ptr(ndr, "string", r->string);
|
|
||||||
ndr->depth++;
|
|
||||||
if (r->string) {
|
|
||||||
ndr_print_lsa_String(ndr, "string", r->string);
|
|
||||||
}
|
|
||||||
ndr->depth--;
|
|
||||||
ndr->depth--;
|
|
||||||
}
|
|
||||||
|
|
||||||
static enum ndr_err_code ndr_push_lsa_DomainListEx(struct ndr_push *ndr, int ndr_flags, const struct lsa_DomainListEx *r)
|
static enum ndr_err_code ndr_push_lsa_DomainListEx(struct ndr_push *ndr, int ndr_flags, const struct lsa_DomainListEx *r)
|
||||||
{
|
{
|
||||||
uint32_t cntr_domains_1;
|
uint32_t cntr_domains_1;
|
||||||
@ -8587,23 +8536,35 @@ static enum ndr_err_code ndr_push_lsa_GetUserName(struct ndr_push *ndr, int flag
|
|||||||
NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, ndr_charset_length(r->in.system_name, CH_UTF16)));
|
NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, ndr_charset_length(r->in.system_name, CH_UTF16)));
|
||||||
NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, r->in.system_name, ndr_charset_length(r->in.system_name, CH_UTF16), sizeof(uint16_t), CH_UTF16));
|
NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, r->in.system_name, ndr_charset_length(r->in.system_name, CH_UTF16), sizeof(uint16_t), CH_UTF16));
|
||||||
}
|
}
|
||||||
NDR_CHECK(ndr_push_unique_ptr(ndr, r->in.account_name));
|
if (r->in.account_name == NULL) {
|
||||||
if (r->in.account_name) {
|
return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
|
||||||
NDR_CHECK(ndr_push_lsa_String(ndr, NDR_SCALARS|NDR_BUFFERS, r->in.account_name));
|
}
|
||||||
|
NDR_CHECK(ndr_push_unique_ptr(ndr, *r->in.account_name));
|
||||||
|
if (*r->in.account_name) {
|
||||||
|
NDR_CHECK(ndr_push_lsa_String(ndr, NDR_SCALARS|NDR_BUFFERS, *r->in.account_name));
|
||||||
}
|
}
|
||||||
NDR_CHECK(ndr_push_unique_ptr(ndr, r->in.authority_name));
|
NDR_CHECK(ndr_push_unique_ptr(ndr, r->in.authority_name));
|
||||||
if (r->in.authority_name) {
|
if (r->in.authority_name) {
|
||||||
NDR_CHECK(ndr_push_lsa_StringPointer(ndr, NDR_SCALARS|NDR_BUFFERS, r->in.authority_name));
|
NDR_CHECK(ndr_push_unique_ptr(ndr, *r->in.authority_name));
|
||||||
|
if (*r->in.authority_name) {
|
||||||
|
NDR_CHECK(ndr_push_lsa_String(ndr, NDR_SCALARS|NDR_BUFFERS, *r->in.authority_name));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (flags & NDR_OUT) {
|
if (flags & NDR_OUT) {
|
||||||
NDR_CHECK(ndr_push_unique_ptr(ndr, r->out.account_name));
|
if (r->out.account_name == NULL) {
|
||||||
if (r->out.account_name) {
|
return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
|
||||||
NDR_CHECK(ndr_push_lsa_String(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.account_name));
|
}
|
||||||
|
NDR_CHECK(ndr_push_unique_ptr(ndr, *r->out.account_name));
|
||||||
|
if (*r->out.account_name) {
|
||||||
|
NDR_CHECK(ndr_push_lsa_String(ndr, NDR_SCALARS|NDR_BUFFERS, *r->out.account_name));
|
||||||
}
|
}
|
||||||
NDR_CHECK(ndr_push_unique_ptr(ndr, r->out.authority_name));
|
NDR_CHECK(ndr_push_unique_ptr(ndr, r->out.authority_name));
|
||||||
if (r->out.authority_name) {
|
if (r->out.authority_name) {
|
||||||
NDR_CHECK(ndr_push_lsa_StringPointer(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.authority_name));
|
NDR_CHECK(ndr_push_unique_ptr(ndr, *r->out.authority_name));
|
||||||
|
if (*r->out.authority_name) {
|
||||||
|
NDR_CHECK(ndr_push_lsa_String(ndr, NDR_SCALARS|NDR_BUFFERS, *r->out.authority_name));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));
|
NDR_CHECK(ndr_push_NTSTATUS(ndr, NDR_SCALARS, r->out.result));
|
||||||
}
|
}
|
||||||
@ -8617,7 +8578,9 @@ static enum ndr_err_code ndr_pull_lsa_GetUserName(struct ndr_pull *ndr, int flag
|
|||||||
uint32_t _ptr_authority_name;
|
uint32_t _ptr_authority_name;
|
||||||
TALLOC_CTX *_mem_save_system_name_0;
|
TALLOC_CTX *_mem_save_system_name_0;
|
||||||
TALLOC_CTX *_mem_save_account_name_0;
|
TALLOC_CTX *_mem_save_account_name_0;
|
||||||
|
TALLOC_CTX *_mem_save_account_name_1;
|
||||||
TALLOC_CTX *_mem_save_authority_name_0;
|
TALLOC_CTX *_mem_save_authority_name_0;
|
||||||
|
TALLOC_CTX *_mem_save_authority_name_1;
|
||||||
if (flags & NDR_IN) {
|
if (flags & NDR_IN) {
|
||||||
ZERO_STRUCT(r->out);
|
ZERO_STRUCT(r->out);
|
||||||
|
|
||||||
@ -8639,18 +8602,24 @@ static enum ndr_err_code ndr_pull_lsa_GetUserName(struct ndr_pull *ndr, int flag
|
|||||||
NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->in.system_name, ndr_get_array_length(ndr, &r->in.system_name), sizeof(uint16_t), CH_UTF16));
|
NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->in.system_name, ndr_get_array_length(ndr, &r->in.system_name), sizeof(uint16_t), CH_UTF16));
|
||||||
NDR_PULL_SET_MEM_CTX(ndr, _mem_save_system_name_0, 0);
|
NDR_PULL_SET_MEM_CTX(ndr, _mem_save_system_name_0, 0);
|
||||||
}
|
}
|
||||||
|
if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
|
||||||
|
NDR_PULL_ALLOC(ndr, r->in.account_name);
|
||||||
|
}
|
||||||
|
_mem_save_account_name_0 = NDR_PULL_GET_MEM_CTX(ndr);
|
||||||
|
NDR_PULL_SET_MEM_CTX(ndr, r->in.account_name, LIBNDR_FLAG_REF_ALLOC);
|
||||||
NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_account_name));
|
NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_account_name));
|
||||||
if (_ptr_account_name) {
|
if (_ptr_account_name) {
|
||||||
NDR_PULL_ALLOC(ndr, r->in.account_name);
|
NDR_PULL_ALLOC(ndr, *r->in.account_name);
|
||||||
} else {
|
} else {
|
||||||
r->in.account_name = NULL;
|
*r->in.account_name = NULL;
|
||||||
}
|
}
|
||||||
if (r->in.account_name) {
|
if (*r->in.account_name) {
|
||||||
_mem_save_account_name_0 = NDR_PULL_GET_MEM_CTX(ndr);
|
_mem_save_account_name_1 = NDR_PULL_GET_MEM_CTX(ndr);
|
||||||
NDR_PULL_SET_MEM_CTX(ndr, r->in.account_name, 0);
|
NDR_PULL_SET_MEM_CTX(ndr, *r->in.account_name, 0);
|
||||||
NDR_CHECK(ndr_pull_lsa_String(ndr, NDR_SCALARS|NDR_BUFFERS, r->in.account_name));
|
NDR_CHECK(ndr_pull_lsa_String(ndr, NDR_SCALARS|NDR_BUFFERS, *r->in.account_name));
|
||||||
NDR_PULL_SET_MEM_CTX(ndr, _mem_save_account_name_0, 0);
|
NDR_PULL_SET_MEM_CTX(ndr, _mem_save_account_name_1, 0);
|
||||||
}
|
}
|
||||||
|
NDR_PULL_SET_MEM_CTX(ndr, _mem_save_account_name_0, LIBNDR_FLAG_REF_ALLOC);
|
||||||
NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_authority_name));
|
NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_authority_name));
|
||||||
if (_ptr_authority_name) {
|
if (_ptr_authority_name) {
|
||||||
NDR_PULL_ALLOC(ndr, r->in.authority_name);
|
NDR_PULL_ALLOC(ndr, r->in.authority_name);
|
||||||
@ -8660,23 +8629,42 @@ static enum ndr_err_code ndr_pull_lsa_GetUserName(struct ndr_pull *ndr, int flag
|
|||||||
if (r->in.authority_name) {
|
if (r->in.authority_name) {
|
||||||
_mem_save_authority_name_0 = NDR_PULL_GET_MEM_CTX(ndr);
|
_mem_save_authority_name_0 = NDR_PULL_GET_MEM_CTX(ndr);
|
||||||
NDR_PULL_SET_MEM_CTX(ndr, r->in.authority_name, 0);
|
NDR_PULL_SET_MEM_CTX(ndr, r->in.authority_name, 0);
|
||||||
NDR_CHECK(ndr_pull_lsa_StringPointer(ndr, NDR_SCALARS|NDR_BUFFERS, r->in.authority_name));
|
NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_authority_name));
|
||||||
|
if (_ptr_authority_name) {
|
||||||
|
NDR_PULL_ALLOC(ndr, *r->in.authority_name);
|
||||||
|
} else {
|
||||||
|
*r->in.authority_name = NULL;
|
||||||
|
}
|
||||||
|
if (*r->in.authority_name) {
|
||||||
|
_mem_save_authority_name_1 = NDR_PULL_GET_MEM_CTX(ndr);
|
||||||
|
NDR_PULL_SET_MEM_CTX(ndr, *r->in.authority_name, 0);
|
||||||
|
NDR_CHECK(ndr_pull_lsa_String(ndr, NDR_SCALARS|NDR_BUFFERS, *r->in.authority_name));
|
||||||
|
NDR_PULL_SET_MEM_CTX(ndr, _mem_save_authority_name_1, 0);
|
||||||
|
}
|
||||||
NDR_PULL_SET_MEM_CTX(ndr, _mem_save_authority_name_0, 0);
|
NDR_PULL_SET_MEM_CTX(ndr, _mem_save_authority_name_0, 0);
|
||||||
}
|
}
|
||||||
|
NDR_PULL_ALLOC(ndr, r->out.account_name);
|
||||||
|
*r->out.account_name = *r->in.account_name;
|
||||||
}
|
}
|
||||||
if (flags & NDR_OUT) {
|
if (flags & NDR_OUT) {
|
||||||
|
if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
|
||||||
|
NDR_PULL_ALLOC(ndr, r->out.account_name);
|
||||||
|
}
|
||||||
|
_mem_save_account_name_0 = NDR_PULL_GET_MEM_CTX(ndr);
|
||||||
|
NDR_PULL_SET_MEM_CTX(ndr, r->out.account_name, LIBNDR_FLAG_REF_ALLOC);
|
||||||
NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_account_name));
|
NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_account_name));
|
||||||
if (_ptr_account_name) {
|
if (_ptr_account_name) {
|
||||||
NDR_PULL_ALLOC(ndr, r->out.account_name);
|
NDR_PULL_ALLOC(ndr, *r->out.account_name);
|
||||||
} else {
|
} else {
|
||||||
r->out.account_name = NULL;
|
*r->out.account_name = NULL;
|
||||||
}
|
}
|
||||||
if (r->out.account_name) {
|
if (*r->out.account_name) {
|
||||||
_mem_save_account_name_0 = NDR_PULL_GET_MEM_CTX(ndr);
|
_mem_save_account_name_1 = NDR_PULL_GET_MEM_CTX(ndr);
|
||||||
NDR_PULL_SET_MEM_CTX(ndr, r->out.account_name, 0);
|
NDR_PULL_SET_MEM_CTX(ndr, *r->out.account_name, 0);
|
||||||
NDR_CHECK(ndr_pull_lsa_String(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.account_name));
|
NDR_CHECK(ndr_pull_lsa_String(ndr, NDR_SCALARS|NDR_BUFFERS, *r->out.account_name));
|
||||||
NDR_PULL_SET_MEM_CTX(ndr, _mem_save_account_name_0, 0);
|
NDR_PULL_SET_MEM_CTX(ndr, _mem_save_account_name_1, 0);
|
||||||
}
|
}
|
||||||
|
NDR_PULL_SET_MEM_CTX(ndr, _mem_save_account_name_0, LIBNDR_FLAG_REF_ALLOC);
|
||||||
NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_authority_name));
|
NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_authority_name));
|
||||||
if (_ptr_authority_name) {
|
if (_ptr_authority_name) {
|
||||||
NDR_PULL_ALLOC(ndr, r->out.authority_name);
|
NDR_PULL_ALLOC(ndr, r->out.authority_name);
|
||||||
@ -8686,7 +8674,18 @@ static enum ndr_err_code ndr_pull_lsa_GetUserName(struct ndr_pull *ndr, int flag
|
|||||||
if (r->out.authority_name) {
|
if (r->out.authority_name) {
|
||||||
_mem_save_authority_name_0 = NDR_PULL_GET_MEM_CTX(ndr);
|
_mem_save_authority_name_0 = NDR_PULL_GET_MEM_CTX(ndr);
|
||||||
NDR_PULL_SET_MEM_CTX(ndr, r->out.authority_name, 0);
|
NDR_PULL_SET_MEM_CTX(ndr, r->out.authority_name, 0);
|
||||||
NDR_CHECK(ndr_pull_lsa_StringPointer(ndr, NDR_SCALARS|NDR_BUFFERS, r->out.authority_name));
|
NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_authority_name));
|
||||||
|
if (_ptr_authority_name) {
|
||||||
|
NDR_PULL_ALLOC(ndr, *r->out.authority_name);
|
||||||
|
} else {
|
||||||
|
*r->out.authority_name = NULL;
|
||||||
|
}
|
||||||
|
if (*r->out.authority_name) {
|
||||||
|
_mem_save_authority_name_1 = NDR_PULL_GET_MEM_CTX(ndr);
|
||||||
|
NDR_PULL_SET_MEM_CTX(ndr, *r->out.authority_name, 0);
|
||||||
|
NDR_CHECK(ndr_pull_lsa_String(ndr, NDR_SCALARS|NDR_BUFFERS, *r->out.authority_name));
|
||||||
|
NDR_PULL_SET_MEM_CTX(ndr, _mem_save_authority_name_1, 0);
|
||||||
|
}
|
||||||
NDR_PULL_SET_MEM_CTX(ndr, _mem_save_authority_name_0, 0);
|
NDR_PULL_SET_MEM_CTX(ndr, _mem_save_authority_name_0, 0);
|
||||||
}
|
}
|
||||||
NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));
|
NDR_CHECK(ndr_pull_NTSTATUS(ndr, NDR_SCALARS, &r->out.result));
|
||||||
@ -8712,14 +8711,22 @@ _PUBLIC_ void ndr_print_lsa_GetUserName(struct ndr_print *ndr, const char *name,
|
|||||||
ndr->depth--;
|
ndr->depth--;
|
||||||
ndr_print_ptr(ndr, "account_name", r->in.account_name);
|
ndr_print_ptr(ndr, "account_name", r->in.account_name);
|
||||||
ndr->depth++;
|
ndr->depth++;
|
||||||
if (r->in.account_name) {
|
ndr_print_ptr(ndr, "account_name", *r->in.account_name);
|
||||||
ndr_print_lsa_String(ndr, "account_name", r->in.account_name);
|
ndr->depth++;
|
||||||
|
if (*r->in.account_name) {
|
||||||
|
ndr_print_lsa_String(ndr, "account_name", *r->in.account_name);
|
||||||
}
|
}
|
||||||
ndr->depth--;
|
ndr->depth--;
|
||||||
|
ndr->depth--;
|
||||||
ndr_print_ptr(ndr, "authority_name", r->in.authority_name);
|
ndr_print_ptr(ndr, "authority_name", r->in.authority_name);
|
||||||
ndr->depth++;
|
ndr->depth++;
|
||||||
if (r->in.authority_name) {
|
if (r->in.authority_name) {
|
||||||
ndr_print_lsa_StringPointer(ndr, "authority_name", r->in.authority_name);
|
ndr_print_ptr(ndr, "authority_name", *r->in.authority_name);
|
||||||
|
ndr->depth++;
|
||||||
|
if (*r->in.authority_name) {
|
||||||
|
ndr_print_lsa_String(ndr, "authority_name", *r->in.authority_name);
|
||||||
|
}
|
||||||
|
ndr->depth--;
|
||||||
}
|
}
|
||||||
ndr->depth--;
|
ndr->depth--;
|
||||||
ndr->depth--;
|
ndr->depth--;
|
||||||
@ -8729,14 +8736,22 @@ _PUBLIC_ void ndr_print_lsa_GetUserName(struct ndr_print *ndr, const char *name,
|
|||||||
ndr->depth++;
|
ndr->depth++;
|
||||||
ndr_print_ptr(ndr, "account_name", r->out.account_name);
|
ndr_print_ptr(ndr, "account_name", r->out.account_name);
|
||||||
ndr->depth++;
|
ndr->depth++;
|
||||||
if (r->out.account_name) {
|
ndr_print_ptr(ndr, "account_name", *r->out.account_name);
|
||||||
ndr_print_lsa_String(ndr, "account_name", r->out.account_name);
|
ndr->depth++;
|
||||||
|
if (*r->out.account_name) {
|
||||||
|
ndr_print_lsa_String(ndr, "account_name", *r->out.account_name);
|
||||||
}
|
}
|
||||||
ndr->depth--;
|
ndr->depth--;
|
||||||
|
ndr->depth--;
|
||||||
ndr_print_ptr(ndr, "authority_name", r->out.authority_name);
|
ndr_print_ptr(ndr, "authority_name", r->out.authority_name);
|
||||||
ndr->depth++;
|
ndr->depth++;
|
||||||
if (r->out.authority_name) {
|
if (r->out.authority_name) {
|
||||||
ndr_print_lsa_StringPointer(ndr, "authority_name", r->out.authority_name);
|
ndr_print_ptr(ndr, "authority_name", *r->out.authority_name);
|
||||||
|
ndr->depth++;
|
||||||
|
if (*r->out.authority_name) {
|
||||||
|
ndr_print_lsa_String(ndr, "authority_name", *r->out.authority_name);
|
||||||
|
}
|
||||||
|
ndr->depth--;
|
||||||
}
|
}
|
||||||
ndr->depth--;
|
ndr->depth--;
|
||||||
ndr_print_NTSTATUS(ndr, "result", r->out.result);
|
ndr_print_NTSTATUS(ndr, "result", r->out.result);
|
||||||
|
@ -237,7 +237,6 @@ void ndr_print_lsa_TrustDomainInfoInfoAll(struct ndr_print *ndr, const char *nam
|
|||||||
void ndr_print_lsa_TrustedDomainInfo(struct ndr_print *ndr, const char *name, const union lsa_TrustedDomainInfo *r);
|
void ndr_print_lsa_TrustedDomainInfo(struct ndr_print *ndr, const char *name, const union lsa_TrustedDomainInfo *r);
|
||||||
void ndr_print_lsa_DATA_BUF_PTR(struct ndr_print *ndr, const char *name, const struct lsa_DATA_BUF_PTR *r);
|
void ndr_print_lsa_DATA_BUF_PTR(struct ndr_print *ndr, const char *name, const struct lsa_DATA_BUF_PTR *r);
|
||||||
void ndr_print_lsa_RightSet(struct ndr_print *ndr, const char *name, const struct lsa_RightSet *r);
|
void ndr_print_lsa_RightSet(struct ndr_print *ndr, const char *name, const struct lsa_RightSet *r);
|
||||||
void ndr_print_lsa_StringPointer(struct ndr_print *ndr, const char *name, const struct lsa_StringPointer *r);
|
|
||||||
void ndr_print_lsa_DomainListEx(struct ndr_print *ndr, const char *name, const struct lsa_DomainListEx *r);
|
void ndr_print_lsa_DomainListEx(struct ndr_print *ndr, const char *name, const struct lsa_DomainListEx *r);
|
||||||
void ndr_print_lsa_DomainInfoKerberos(struct ndr_print *ndr, const char *name, const struct lsa_DomainInfoKerberos *r);
|
void ndr_print_lsa_DomainInfoKerberos(struct ndr_print *ndr, const char *name, const struct lsa_DomainInfoKerberos *r);
|
||||||
void ndr_print_lsa_DomainInfoEfs(struct ndr_print *ndr, const char *name, const struct lsa_DomainInfoEfs *r);
|
void ndr_print_lsa_DomainInfoEfs(struct ndr_print *ndr, const char *name, const struct lsa_DomainInfoEfs *r);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user