Changeset 620 for trunk/server/source3/librpc
- Timestamp:
- Aug 6, 2011, 6:50:53 PM (14 years ago)
- Location:
- trunk/server/source3/librpc
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/source3/librpc/gen_ndr/cli_wbint.c
r596 r620 2509 2509 struct tevent_context *ev, 2510 2510 struct rpc_pipe_client *cli, 2511 struct dom_sid *_domain_sid /* [in] [ref] */, 2511 2512 struct wbint_RidArray *_rids /* [in] [ref] */, 2512 2513 const char **_domain_name /* [out] [ref,charset(UTF8)] */, … … 2526 2527 2527 2528 /* In parameters */ 2529 state->orig.in.domain_sid = _domain_sid; 2528 2530 state->orig.in.rids = _rids; 2529 2531 … … 2615 2617 NTSTATUS rpccli_wbint_LookupRids(struct rpc_pipe_client *cli, 2616 2618 TALLOC_CTX *mem_ctx, 2619 struct dom_sid *domain_sid /* [in] [ref] */, 2617 2620 struct wbint_RidArray *rids /* [in] [ref] */, 2618 2621 const char **domain_name /* [out] [ref,charset(UTF8)] */, … … 2623 2626 2624 2627 /* In parameters */ 2628 r.in.domain_sid = domain_sid; 2625 2629 r.in.rids = rids; 2626 2630 -
trunk/server/source3/librpc/gen_ndr/cli_wbint.h
r596 r620 224 224 struct tevent_context *ev, 225 225 struct rpc_pipe_client *cli, 226 struct dom_sid *_domain_sid /* [in] [ref] */, 226 227 struct wbint_RidArray *_rids /* [in] [ref] */, 227 228 const char **_domain_name /* [out] [ref,charset(UTF8)] */, … … 232 233 NTSTATUS rpccli_wbint_LookupRids(struct rpc_pipe_client *cli, 233 234 TALLOC_CTX *mem_ctx, 235 struct dom_sid *domain_sid /* [in] [ref] */, 234 236 struct wbint_RidArray *rids /* [in] [ref] */, 235 237 const char **domain_name /* [out] [ref,charset(UTF8)] */, -
trunk/server/source3/librpc/gen_ndr/ndr_wbint.c
r596 r620 2077 2077 { 2078 2078 if (flags & NDR_IN) { 2079 if (r->in.domain_sid == NULL) { 2080 return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer"); 2081 } 2082 NDR_CHECK(ndr_push_dom_sid(ndr, NDR_SCALARS, r->in.domain_sid)); 2079 2083 if (r->in.rids == NULL) { 2080 2084 return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer"); … … 2105 2109 { 2106 2110 uint32_t _ptr_domain_name; 2111 TALLOC_CTX *_mem_save_domain_sid_0; 2107 2112 TALLOC_CTX *_mem_save_rids_0; 2108 2113 TALLOC_CTX *_mem_save_domain_name_0; … … 2112 2117 ZERO_STRUCT(r->out); 2113 2118 2119 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) { 2120 NDR_PULL_ALLOC(ndr, r->in.domain_sid); 2121 } 2122 _mem_save_domain_sid_0 = NDR_PULL_GET_MEM_CTX(ndr); 2123 NDR_PULL_SET_MEM_CTX(ndr, r->in.domain_sid, LIBNDR_FLAG_REF_ALLOC); 2124 NDR_CHECK(ndr_pull_dom_sid(ndr, NDR_SCALARS, r->in.domain_sid)); 2125 NDR_PULL_SET_MEM_CTX(ndr, _mem_save_domain_sid_0, LIBNDR_FLAG_REF_ALLOC); 2114 2126 if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) { 2115 2127 NDR_PULL_ALLOC(ndr, r->in.rids); … … 2171 2183 ndr_print_struct(ndr, "in", "wbint_LookupRids"); 2172 2184 ndr->depth++; 2185 ndr_print_ptr(ndr, "domain_sid", r->in.domain_sid); 2186 ndr->depth++; 2187 ndr_print_dom_sid(ndr, "domain_sid", r->in.domain_sid); 2188 ndr->depth--; 2173 2189 ndr_print_ptr(ndr, "rids", r->in.rids); 2174 2190 ndr->depth++; -
trunk/server/source3/librpc/gen_ndr/wbint.h
r596 r620 277 277 struct wbint_LookupRids { 278 278 struct { 279 struct dom_sid *domain_sid;/* [ref] */ 279 280 struct wbint_RidArray *rids;/* [ref] */ 280 281 } in; -
trunk/server/source3/librpc/idl/wbint.idl
r596 r620 141 141 142 142 NTSTATUS wbint_LookupRids( 143 [in] dom_sid *domain_sid, 143 144 [in] wbint_RidArray *rids, 144 145 [out,string,charset(UTF8)] char **domain_name,
Note:
See TracChangeset
for help on using the changeset viewer.