re-run make idl.
authorGünther Deschner <gd@samba.org>
Tue, 9 Sep 2008 11:40:39 +0000 (13:40 +0200)
committerGünther Deschner <gd@samba.org>
Thu, 11 Sep 2008 12:30:35 +0000 (14:30 +0200)
Guenther
(This used to be commit 3c07bcfb30ae5bb849291a5ca61b54798f14ee0a)

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

index 9c1430227ff8352db7f54ff3689fa0eb1d3887f6..d61a562a9577e426751b428d8d0b227adc36c7d5 100644 (file)
@@ -25,6 +25,7 @@
 #define FILTER_INTERDOMAIN_TRUST_ACCOUNT       ( 0x0008 )
 #define FILTER_WORKSTATION_TRUST_ACCOUNT       ( 0x0010 )
 #define FILTER_SERVER_TRUST_ACCOUNT    ( 0x0020 )
+#define LG_INCLUDE_INDIRECT    ( 0x0001 )
 #define TIMEQ_FOREVER  ( (uint32_t)-1L )
 #define CSC_MASK       ( 0x30 )
 enum NET_API_STATUS
@@ -424,6 +425,10 @@ struct GROUP_USERS_INFO_1 {
        uint32_t grui1_attributes;
 };
 
+struct LOCALGROUP_USERS_INFO_0 {
+       const char * lgrui0_name;
+};
+
 struct USER_MODALS_INFO_0 {
        uint32_t usrmod0_min_passwd_len;
        uint32_t usrmod0_max_passwd_age;
@@ -943,6 +948,25 @@ struct NetUserSetGroups {
 };
 
 
+struct NetUserGetLocalGroups {
+       struct {
+               const char * server_name;
+               const char * user_name;
+               uint32_t level;
+               uint32_t flags;
+               uint32_t prefmaxlen;
+       } in;
+
+       struct {
+               uint8_t **buffer;/* [ref] */
+               uint32_t *entries_read;/* [ref] */
+               uint32_t *total_entries;/* [ref] */
+               enum NET_API_STATUS result;
+       } out;
+
+};
+
+
 struct NetUserModalsGet {
        struct {
                const char * server_name;
index 3c11574c14309de0d3519133b4812f60838cbe51..48078a93f1f8f20b50270d57bdc0f06f865039d0 100644 (file)
@@ -2927,6 +2927,49 @@ _PUBLIC_ void ndr_print_NetUserSetGroups(struct ndr_print *ndr, const char *name
        ndr->depth--;
 }
 
+_PUBLIC_ void ndr_print_NetUserGetLocalGroups(struct ndr_print *ndr, const char *name, int flags, const struct NetUserGetLocalGroups *r)
+{
+       ndr_print_struct(ndr, name, "NetUserGetLocalGroups");
+       ndr->depth++;
+       if (flags & NDR_SET_VALUES) {
+               ndr->flags |= LIBNDR_PRINT_SET_VALUES;
+       }
+       if (flags & NDR_IN) {
+               ndr_print_struct(ndr, "in", "NetUserGetLocalGroups");
+               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_uint32(ndr, "flags", r->in.flags);
+               ndr_print_uint32(ndr, "prefmaxlen", r->in.prefmaxlen);
+               ndr->depth--;
+       }
+       if (flags & NDR_OUT) {
+               ndr_print_struct(ndr, "out", "NetUserGetLocalGroups");
+               ndr->depth++;
+               ndr_print_ptr(ndr, "buffer", r->out.buffer);
+               ndr->depth++;
+               ndr_print_ptr(ndr, "buffer", *r->out.buffer);
+               ndr->depth++;
+               if (*r->out.buffer) {
+                       ndr_print_uint8(ndr, "buffer", **r->out.buffer);
+               }
+               ndr->depth--;
+               ndr->depth--;
+               ndr_print_ptr(ndr, "entries_read", r->out.entries_read);
+               ndr->depth++;
+               ndr_print_uint32(ndr, "entries_read", *r->out.entries_read);
+               ndr->depth--;
+               ndr_print_ptr(ndr, "total_entries", r->out.total_entries);
+               ndr->depth++;
+               ndr_print_uint32(ndr, "total_entries", *r->out.total_entries);
+               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 e706e3fffe6319a9c65d738f4876d11f4364d6c0..d435fe05881fea54afe460f17c2b6c1ca3baf73d 100644 (file)
 
 #define NDR_NETUSERSETGROUPS (0x11)
 
-#define NDR_NETUSERMODALSGET (0x12)
+#define NDR_NETUSERGETLOCALGROUPS (0x12)
 
-#define NDR_NETUSERMODALSSET (0x13)
+#define NDR_NETUSERMODALSGET (0x13)
 
-#define NDR_NETQUERYDISPLAYINFORMATION (0x14)
+#define NDR_NETUSERMODALSSET (0x14)
 
-#define NDR_NETGROUPADD (0x15)
+#define NDR_NETQUERYDISPLAYINFORMATION (0x15)
 
-#define NDR_NETGROUPDEL (0x16)
+#define NDR_NETGROUPADD (0x16)
 
-#define NDR_NETGROUPENUM (0x17)
+#define NDR_NETGROUPDEL (0x17)
 
-#define NDR_NETGROUPSETINFO (0x18)
+#define NDR_NETGROUPENUM (0x18)
 
-#define NDR_NETGROUPGETINFO (0x19)
+#define NDR_NETGROUPSETINFO (0x19)
 
-#define NDR_NETGROUPADDUSER (0x1a)
+#define NDR_NETGROUPGETINFO (0x1a)
 
-#define NDR_NETGROUPDELUSER (0x1b)
+#define NDR_NETGROUPADDUSER (0x1b)
 
-#define NDR_NETGROUPGETUSERS (0x1c)
+#define NDR_NETGROUPDELUSER (0x1c)
 
-#define NDR_NETGROUPSETUSERS (0x1d)
+#define NDR_NETGROUPGETUSERS (0x1d)
 
-#define NDR_NETLOCALGROUPADD (0x1e)
+#define NDR_NETGROUPSETUSERS (0x1e)
 
-#define NDR_NETLOCALGROUPDEL (0x1f)
+#define NDR_NETLOCALGROUPADD (0x1f)
 
-#define NDR_NETLOCALGROUPGETINFO (0x20)
+#define NDR_NETLOCALGROUPDEL (0x20)
 
-#define NDR_NETLOCALGROUPSETINFO (0x21)
+#define NDR_NETLOCALGROUPGETINFO (0x21)
 
-#define NDR_NETLOCALGROUPENUM (0x22)
+#define NDR_NETLOCALGROUPSETINFO (0x22)
 
-#define NDR_NETLOCALGROUPADDMEMBERS (0x23)
+#define NDR_NETLOCALGROUPENUM (0x23)
 
-#define NDR_NETLOCALGROUPDELMEMBERS (0x24)
+#define NDR_NETLOCALGROUPADDMEMBERS (0x24)
 
-#define NDR_NETLOCALGROUPGETMEMBERS (0x25)
+#define NDR_NETLOCALGROUPDELMEMBERS (0x25)
 
-#define NDR_NETLOCALGROUPSETMEMBERS (0x26)
+#define NDR_NETLOCALGROUPGETMEMBERS (0x26)
 
-#define NDR_NETREMOTETOD (0x27)
+#define NDR_NETLOCALGROUPSETMEMBERS (0x27)
 
-#define NDR_NETSHAREADD (0x28)
+#define NDR_NETREMOTETOD (0x28)
 
-#define NDR_NETSHAREDEL (0x29)
+#define NDR_NETSHAREADD (0x29)
 
-#define NDR_NETSHAREENUM (0x2a)
+#define NDR_NETSHAREDEL (0x2a)
 
-#define NDR_NETSHAREGETINFO (0x2b)
+#define NDR_NETSHAREENUM (0x2b)
 
-#define NDR_NETSHARESETINFO (0x2c)
+#define NDR_NETSHAREGETINFO (0x2c)
 
-#define NDR_LIBNETAPI_CALL_COUNT (45)
+#define NDR_NETSHARESETINFO (0x2d)
+
+#define NDR_LIBNETAPI_CALL_COUNT (46)
 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);
@@ -289,6 +291,9 @@ void ndr_print_NetUserGetGroups(struct ndr_print *ndr, const char *name, int fla
 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_NetUserGetLocalGroups(struct ndr_push *ndr, int flags, const struct NetUserGetLocalGroups *r);
+enum ndr_err_code ndr_pull_NetUserGetLocalGroups(struct ndr_pull *ndr, int flags, struct NetUserGetLocalGroups *r);
+void ndr_print_NetUserGetLocalGroups(struct ndr_print *ndr, const char *name, int flags, const struct NetUserGetLocalGroups *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);