re-run make idl.
authorGünther Deschner <gd@samba.org>
Fri, 5 Sep 2008 14:50:04 +0000 (16:50 +0200)
committerGünther Deschner <gd@samba.org>
Thu, 11 Sep 2008 12:28:38 +0000 (14:28 +0200)
Guenther
(This used to be commit 4efbd569478d6d98078833084aaae5a97cd5182b)

source3/librpc/gen_ndr/libnetapi.h
source3/librpc/gen_ndr/ndr_libnetapi.c
source3/librpc/gen_ndr/ndr_libnetapi.h

index 0f657742918c9fe6892aeaa391e3cfdcd95801ec..90d13aee4e4b510b219c5832a5d29a040f4bdb98 100644 (file)
@@ -927,6 +927,22 @@ struct NetUserGetGroups {
 };
 
 
+struct NetUserSetGroups {
+       struct {
+               const char * server_name;
+               const char * user_name;
+               uint32_t level;
+               uint8_t *buffer;/* [ref] */
+               uint32_t num_entries;
+       } in;
+
+       struct {
+               enum NET_API_STATUS result;
+       } out;
+
+};
+
+
 struct NetUserModalsGet {
        struct {
                const char * server_name;
index 4520d210bae9d1d6ac3630e161fff0b95cf944de..8845cb92900a5ecc59ca02f219484de9441d4216 100644 (file)
@@ -2898,6 +2898,35 @@ _PUBLIC_ void ndr_print_NetUserGetGroups(struct ndr_print *ndr, const char *name
        ndr->depth--;
 }
 
+_PUBLIC_ void ndr_print_NetUserSetGroups(struct ndr_print *ndr, const char *name, int flags, const struct NetUserSetGroups *r)
+{
+       ndr_print_struct(ndr, name, "NetUserSetGroups");
+       ndr->depth++;
+       if (flags & NDR_SET_VALUES) {
+               ndr->flags |= LIBNDR_PRINT_SET_VALUES;
+       }
+       if (flags & NDR_IN) {
+               ndr_print_struct(ndr, "in", "NetUserSetGroups");
+               ndr->depth++;
+               ndr_print_string(ndr, "server_name", r->in.server_name);
+               ndr_print_string(ndr, "user_name", r->in.user_name);
+               ndr_print_uint32(ndr, "level", r->in.level);
+               ndr_print_ptr(ndr, "buffer", r->in.buffer);
+               ndr->depth++;
+               ndr_print_uint8(ndr, "buffer", *r->in.buffer);
+               ndr->depth--;
+               ndr_print_uint32(ndr, "num_entries", r->in.num_entries);
+               ndr->depth--;
+       }
+       if (flags & NDR_OUT) {
+               ndr_print_struct(ndr, "out", "NetUserSetGroups");
+               ndr->depth++;
+               ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
+               ndr->depth--;
+       }
+       ndr->depth--;
+}
+
 _PUBLIC_ void ndr_print_NetUserModalsGet(struct ndr_print *ndr, const char *name, int flags, const struct NetUserModalsGet *r)
 {
        ndr_print_struct(ndr, name, "NetUserModalsGet");
index edfdec424c2dac0581c9b4331007bc73f19fdeb6..8a25c63a9d93f32ed8a5a26b3708523d8385050b 100644 (file)
 
 #define NDR_NETUSERGETGROUPS (0x10)
 
-#define NDR_NETUSERMODALSGET (0x11)
+#define NDR_NETUSERSETGROUPS (0x11)
 
-#define NDR_NETUSERMODALSSET (0x12)
+#define NDR_NETUSERMODALSGET (0x12)
 
-#define NDR_NETQUERYDISPLAYINFORMATION (0x13)
+#define NDR_NETUSERMODALSSET (0x13)
 
-#define NDR_NETGROUPADD (0x14)
+#define NDR_NETQUERYDISPLAYINFORMATION (0x14)
 
-#define NDR_NETGROUPDEL (0x15)
+#define NDR_NETGROUPADD (0x15)
 
-#define NDR_NETGROUPENUM (0x16)
+#define NDR_NETGROUPDEL (0x16)
 
-#define NDR_NETGROUPSETINFO (0x17)
+#define NDR_NETGROUPENUM (0x17)
 
-#define NDR_NETGROUPGETINFO (0x18)
+#define NDR_NETGROUPSETINFO (0x18)
 
-#define NDR_NETGROUPADDUSER (0x19)
+#define NDR_NETGROUPGETINFO (0x19)
 
-#define NDR_NETGROUPDELUSER (0x1a)
+#define NDR_NETGROUPADDUSER (0x1a)
 
-#define NDR_NETGROUPGETUSERS (0x1b)
+#define NDR_NETGROUPDELUSER (0x1b)
 
-#define NDR_NETLOCALGROUPADD (0x1c)
+#define NDR_NETGROUPGETUSERS (0x1c)
 
-#define NDR_NETLOCALGROUPDEL (0x1d)
+#define NDR_NETLOCALGROUPADD (0x1d)
 
-#define NDR_NETLOCALGROUPGETINFO (0x1e)
+#define NDR_NETLOCALGROUPDEL (0x1e)
 
-#define NDR_NETLOCALGROUPSETINFO (0x1f)
+#define NDR_NETLOCALGROUPGETINFO (0x1f)
 
-#define NDR_NETLOCALGROUPENUM (0x20)
+#define NDR_NETLOCALGROUPSETINFO (0x20)
 
-#define NDR_NETLOCALGROUPADDMEMBERS (0x21)
+#define NDR_NETLOCALGROUPENUM (0x21)
 
-#define NDR_NETLOCALGROUPDELMEMBERS (0x22)
+#define NDR_NETLOCALGROUPADDMEMBERS (0x22)
 
-#define NDR_NETLOCALGROUPGETMEMBERS (0x23)
+#define NDR_NETLOCALGROUPDELMEMBERS (0x23)
 
-#define NDR_NETLOCALGROUPSETMEMBERS (0x24)
+#define NDR_NETLOCALGROUPGETMEMBERS (0x24)
 
-#define NDR_NETREMOTETOD (0x25)
+#define NDR_NETLOCALGROUPSETMEMBERS (0x25)
 
-#define NDR_NETSHAREADD (0x26)
+#define NDR_NETREMOTETOD (0x26)
 
-#define NDR_NETSHAREDEL (0x27)
+#define NDR_NETSHAREADD (0x27)
 
-#define NDR_NETSHAREENUM (0x28)
+#define NDR_NETSHAREDEL (0x28)
 
-#define NDR_NETSHAREGETINFO (0x29)
+#define NDR_NETSHAREENUM (0x29)
 
-#define NDR_NETSHARESETINFO (0x2a)
+#define NDR_NETSHAREGETINFO (0x2a)
 
-#define NDR_LIBNETAPI_CALL_COUNT (43)
+#define NDR_NETSHARESETINFO (0x2b)
+
+#define NDR_LIBNETAPI_CALL_COUNT (44)
 enum ndr_err_code ndr_push_NET_API_STATUS(struct ndr_push *ndr, int ndr_flags, enum NET_API_STATUS r);
 enum ndr_err_code ndr_pull_NET_API_STATUS(struct ndr_pull *ndr, int ndr_flags, enum NET_API_STATUS *r);
 void ndr_print_NET_API_STATUS(struct ndr_print *ndr, const char *name, enum NET_API_STATUS r);
@@ -282,6 +284,9 @@ void ndr_print_NetUserSetInfo(struct ndr_print *ndr, const char *name, int flags
 enum ndr_err_code ndr_push_NetUserGetGroups(struct ndr_push *ndr, int flags, const struct NetUserGetGroups *r);
 enum ndr_err_code ndr_pull_NetUserGetGroups(struct ndr_pull *ndr, int flags, struct NetUserGetGroups *r);
 void ndr_print_NetUserGetGroups(struct ndr_print *ndr, const char *name, int flags, const struct NetUserGetGroups *r);
+enum ndr_err_code ndr_push_NetUserSetGroups(struct ndr_push *ndr, int flags, const struct NetUserSetGroups *r);
+enum ndr_err_code ndr_pull_NetUserSetGroups(struct ndr_pull *ndr, int flags, struct NetUserSetGroups *r);
+void ndr_print_NetUserSetGroups(struct ndr_print *ndr, const char *name, int flags, const struct NetUserSetGroups *r);
 enum ndr_err_code ndr_push_NetUserModalsGet(struct ndr_push *ndr, int flags, const struct NetUserModalsGet *r);
 enum ndr_err_code ndr_pull_NetUserModalsGet(struct ndr_pull *ndr, int flags, struct NetUserModalsGet *r);
 void ndr_print_NetUserModalsGet(struct ndr_print *ndr, const char *name, int flags, const struct NetUserModalsGet *r);