Re-run make idl.
authorGünther Deschner <gd@samba.org>
Thu, 14 Feb 2008 14:21:54 +0000 (15:21 +0100)
committerGünther Deschner <gd@samba.org>
Thu, 14 Feb 2008 14:22:33 +0000 (15:22 +0100)
Guenther

source/librpc/gen_ndr/cli_lsa.c
source/librpc/gen_ndr/cli_lsa.h
source/librpc/gen_ndr/lsa.h
source/librpc/gen_ndr/ndr_lsa.c

index 205faa6e07a24a9e3f96e5f24533e1cd1db2e7ac..7484edca490759e7d1b09670ee10a538fc36af98 100644 (file)
@@ -1667,7 +1667,7 @@ NTSTATUS rpccli_lsa_RemoveAccountRights(struct rpc_pipe_client *cli,
                                        TALLOC_CTX *mem_ctx,
                                        struct policy_handle *handle,
                                        struct dom_sid2 *sid,
-                                       uint32_t unknown,
+                                       uint8_t remove_all,
                                        struct lsa_RightSet *rights)
 {
        struct lsa_RemoveAccountRights r;
@@ -1676,7 +1676,7 @@ NTSTATUS rpccli_lsa_RemoveAccountRights(struct rpc_pipe_client *cli,
        /* In parameters */
        r.in.handle = handle;
        r.in.sid = sid;
-       r.in.unknown = unknown;
+       r.in.remove_all = remove_all;
        r.in.rights = rights;
 
        if (DEBUGLEVEL >= 10) {
index 67aafe3d1a6401c9bb0095cc2689950625dfe823..e4bf43a1e8ecd184d7a4d6e302507242144c0866 100644 (file)
@@ -192,7 +192,7 @@ NTSTATUS rpccli_lsa_RemoveAccountRights(struct rpc_pipe_client *cli,
                                        TALLOC_CTX *mem_ctx,
                                        struct policy_handle *handle,
                                        struct dom_sid2 *sid,
-                                       uint32_t unknown,
+                                       uint8_t remove_all,
                                        struct lsa_RightSet *rights);
 NTSTATUS rpccli_lsa_QueryTrustedDomainInfoBySid(struct rpc_pipe_client *cli,
                                                TALLOC_CTX *mem_ctx,
index a948f6d5e86e0f1a72d2d3d85df3ca06b6227865..4a1ebdb7a9380b9cb6928dfa35dfc37a4ae71749 100644 (file)
@@ -448,7 +448,7 @@ struct lsa_RightAttribute {
 };
 
 struct lsa_RightSet {
-       uint32_t count;
+       uint32_t count;/* [range(0,256)] */
        struct lsa_StringLarge *names;/* [unique,size_is(count)] */
 };
 
@@ -1104,7 +1104,7 @@ struct lsa_RemoveAccountRights {
        struct {
                struct policy_handle *handle;/* [ref] */
                struct dom_sid2 *sid;/* [ref] */
-               uint32_t unknown;
+               uint8_t remove_all;
                struct lsa_RightSet *rights;/* [ref] */
        } in;
 
index a95665f0fa806b205ce48d1926283e97865affde..74d8a314e14ae3a3e174c129a51c7b3d9d1ec4d7 100644 (file)
@@ -8049,7 +8049,7 @@ static enum ndr_err_code ndr_push_lsa_RemoveAccountRights(struct ndr_push *ndr,
                        return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
                }
                NDR_CHECK(ndr_push_dom_sid2(ndr, NDR_SCALARS|NDR_BUFFERS, r->in.sid));
-               NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->in.unknown));
+               NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, r->in.remove_all));
                if (r->in.rights == NULL) {
                        return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
                }
@@ -8081,7 +8081,7 @@ static enum ndr_err_code ndr_pull_lsa_RemoveAccountRights(struct ndr_pull *ndr,
                NDR_PULL_SET_MEM_CTX(ndr, r->in.sid, LIBNDR_FLAG_REF_ALLOC);
                NDR_CHECK(ndr_pull_dom_sid2(ndr, NDR_SCALARS|NDR_BUFFERS, r->in.sid));
                NDR_PULL_SET_MEM_CTX(ndr, _mem_save_sid_0, LIBNDR_FLAG_REF_ALLOC);
-               NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->in.unknown));
+               NDR_CHECK(ndr_pull_uint8(ndr, NDR_SCALARS, &r->in.remove_all));
                if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
                        NDR_PULL_ALLOC(ndr, r->in.rights);
                }
@@ -8114,7 +8114,7 @@ _PUBLIC_ void ndr_print_lsa_RemoveAccountRights(struct ndr_print *ndr, const cha
                ndr->depth++;
                ndr_print_dom_sid2(ndr, "sid", r->in.sid);
                ndr->depth--;
-               ndr_print_uint32(ndr, "unknown", r->in.unknown);
+               ndr_print_uint8(ndr, "remove_all", r->in.remove_all);
                ndr_print_ptr(ndr, "rights", r->in.rights);
                ndr->depth++;
                ndr_print_lsa_RightSet(ndr, "rights", r->in.rights);