Ignore:
Timestamp:
Aug 6, 2011, 6:50:53 PM (14 years ago)
Author:
Herwig Bauernfeind
Message:

Samba 3.5: Update trunk to 3.5.11

Location:
trunk/server/source3/librpc
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/source3/librpc/gen_ndr/cli_wbint.c

    r596 r620  
    25092509                                                struct tevent_context *ev,
    25102510                                                struct rpc_pipe_client *cli,
     2511                                                struct dom_sid *_domain_sid /* [in] [ref] */,
    25112512                                                struct wbint_RidArray *_rids /* [in] [ref] */,
    25122513                                                const char **_domain_name /* [out] [ref,charset(UTF8)] */,
     
    25262527
    25272528        /* In parameters */
     2529        state->orig.in.domain_sid = _domain_sid;
    25282530        state->orig.in.rids = _rids;
    25292531
     
    26152617NTSTATUS rpccli_wbint_LookupRids(struct rpc_pipe_client *cli,
    26162618                                 TALLOC_CTX *mem_ctx,
     2619                                 struct dom_sid *domain_sid /* [in] [ref] */,
    26172620                                 struct wbint_RidArray *rids /* [in] [ref] */,
    26182621                                 const char **domain_name /* [out] [ref,charset(UTF8)] */,
     
    26232626
    26242627        /* In parameters */
     2628        r.in.domain_sid = domain_sid;
    26252629        r.in.rids = rids;
    26262630
  • trunk/server/source3/librpc/gen_ndr/cli_wbint.h

    r596 r620  
    224224                                                struct tevent_context *ev,
    225225                                                struct rpc_pipe_client *cli,
     226                                                struct dom_sid *_domain_sid /* [in] [ref] */,
    226227                                                struct wbint_RidArray *_rids /* [in] [ref] */,
    227228                                                const char **_domain_name /* [out] [ref,charset(UTF8)] */,
     
    232233NTSTATUS rpccli_wbint_LookupRids(struct rpc_pipe_client *cli,
    233234                                 TALLOC_CTX *mem_ctx,
     235                                 struct dom_sid *domain_sid /* [in] [ref] */,
    234236                                 struct wbint_RidArray *rids /* [in] [ref] */,
    235237                                 const char **domain_name /* [out] [ref,charset(UTF8)] */,
  • trunk/server/source3/librpc/gen_ndr/ndr_wbint.c

    r596 r620  
    20772077{
    20782078        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));
    20792083                if (r->in.rids == NULL) {
    20802084                        return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
     
    21052109{
    21062110        uint32_t _ptr_domain_name;
     2111        TALLOC_CTX *_mem_save_domain_sid_0;
    21072112        TALLOC_CTX *_mem_save_rids_0;
    21082113        TALLOC_CTX *_mem_save_domain_name_0;
     
    21122117                ZERO_STRUCT(r->out);
    21132118
     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);
    21142126                if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
    21152127                        NDR_PULL_ALLOC(ndr, r->in.rids);
     
    21712183                ndr_print_struct(ndr, "in", "wbint_LookupRids");
    21722184                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--;
    21732189                ndr_print_ptr(ndr, "rids", r->in.rids);
    21742190                ndr->depth++;
  • trunk/server/source3/librpc/gen_ndr/wbint.h

    r596 r620  
    277277struct wbint_LookupRids {
    278278        struct {
     279                struct dom_sid *domain_sid;/* [ref] */
    279280                struct wbint_RidArray *rids;/* [ref] */
    280281        } in;
  • trunk/server/source3/librpc/idl/wbint.idl

    r596 r620  
    141141
    142142    NTSTATUS wbint_LookupRids(
     143        [in] dom_sid *domain_sid,
    143144        [in] wbint_RidArray *rids,
    144145        [out,string,charset(UTF8)] char **domain_name,
Note: See TracChangeset for help on using the changeset viewer.