struct tevent_req *rpccli_wbint_LookupRids_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
+ struct dom_sid *_domain_sid /* [in] [ref] */,
struct wbint_RidArray *_rids /* [in] [ref] */,
const char **_domain_name /* [out] [ref,charset(UTF8)] */,
struct wbint_Principals *_names /* [out] [ref] */)
state->dispatch_recv = cli->dispatch_recv;
/* In parameters */
+ state->orig.in.domain_sid = _domain_sid;
state->orig.in.rids = _rids;
/* Out parameters */
NTSTATUS rpccli_wbint_LookupRids(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
+ struct dom_sid *domain_sid /* [in] [ref] */,
struct wbint_RidArray *rids /* [in] [ref] */,
const char **domain_name /* [out] [ref,charset(UTF8)] */,
struct wbint_Principals *names /* [out] [ref] */)
NTSTATUS status;
/* In parameters */
+ r.in.domain_sid = domain_sid;
r.in.rids = rids;
status = cli->dispatch(cli,
struct tevent_req *rpccli_wbint_LookupRids_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
+ struct dom_sid *_domain_sid /* [in] [ref] */,
struct wbint_RidArray *_rids /* [in] [ref] */,
const char **_domain_name /* [out] [ref,charset(UTF8)] */,
struct wbint_Principals *_names /* [out] [ref] */);
NTSTATUS *result);
NTSTATUS rpccli_wbint_LookupRids(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
+ struct dom_sid *domain_sid /* [in] [ref] */,
struct wbint_RidArray *rids /* [in] [ref] */,
const char **domain_name /* [out] [ref,charset(UTF8)] */,
struct wbint_Principals *names /* [out] [ref] */);
static enum ndr_err_code ndr_push_wbint_LookupRids(struct ndr_push *ndr, int flags, const struct wbint_LookupRids *r)
{
if (flags & NDR_IN) {
+ if (r->in.domain_sid == NULL) {
+ return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
+ }
+ NDR_CHECK(ndr_push_dom_sid(ndr, NDR_SCALARS, r->in.domain_sid));
if (r->in.rids == NULL) {
return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
}
static enum ndr_err_code ndr_pull_wbint_LookupRids(struct ndr_pull *ndr, int flags, struct wbint_LookupRids *r)
{
uint32_t _ptr_domain_name;
+ TALLOC_CTX *_mem_save_domain_sid_0;
TALLOC_CTX *_mem_save_rids_0;
TALLOC_CTX *_mem_save_domain_name_0;
TALLOC_CTX *_mem_save_domain_name_1;
if (flags & NDR_IN) {
ZERO_STRUCT(r->out);
+ if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
+ NDR_PULL_ALLOC(ndr, r->in.domain_sid);
+ }
+ _mem_save_domain_sid_0 = NDR_PULL_GET_MEM_CTX(ndr);
+ NDR_PULL_SET_MEM_CTX(ndr, r->in.domain_sid, LIBNDR_FLAG_REF_ALLOC);
+ NDR_CHECK(ndr_pull_dom_sid(ndr, NDR_SCALARS, r->in.domain_sid));
+ NDR_PULL_SET_MEM_CTX(ndr, _mem_save_domain_sid_0, LIBNDR_FLAG_REF_ALLOC);
if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
NDR_PULL_ALLOC(ndr, r->in.rids);
}
if (flags & NDR_IN) {
ndr_print_struct(ndr, "in", "wbint_LookupRids");
ndr->depth++;
+ ndr_print_ptr(ndr, "domain_sid", r->in.domain_sid);
+ ndr->depth++;
+ ndr_print_dom_sid(ndr, "domain_sid", r->in.domain_sid);
+ ndr->depth--;
ndr_print_ptr(ndr, "rids", r->in.rids);
ndr->depth++;
ndr_print_wbint_RidArray(ndr, "rids", r->in.rids);
struct wbint_LookupRids {
struct {
+ struct dom_sid *domain_sid;/* [ref] */
struct wbint_RidArray *rids;/* [ref] */
} in;