diff options
author | Günther Deschner <gd@samba.org> | 2008-09-05 16:50:04 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-09-11 14:28:38 +0200 |
commit | f2a987bced1c8e0d4ab2110d0918911c48d0708a (patch) | |
tree | d649c96965e5a210f4b7a81ff90b8b94f5a78655 /source3/librpc | |
parent | 5c36529140db88ae3a9d1f1212d7371a58b7fac3 (diff) | |
download | samba-f2a987bced1c8e0d4ab2110d0918911c48d0708a.tar.gz samba-f2a987bced1c8e0d4ab2110d0918911c48d0708a.tar.xz samba-f2a987bced1c8e0d4ab2110d0918911c48d0708a.zip |
re-run make idl.
Guenther
(This used to be commit 4efbd569478d6d98078833084aaae5a97cd5182b)
Diffstat (limited to 'source3/librpc')
-rw-r--r-- | source3/librpc/gen_ndr/libnetapi.h | 16 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_libnetapi.c | 29 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_libnetapi.h | 59 |
3 files changed, 77 insertions, 27 deletions
diff --git a/source3/librpc/gen_ndr/libnetapi.h b/source3/librpc/gen_ndr/libnetapi.h index 0f657742918..90d13aee4e4 100644 --- a/source3/librpc/gen_ndr/libnetapi.h +++ b/source3/librpc/gen_ndr/libnetapi.h @@ -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; diff --git a/source3/librpc/gen_ndr/ndr_libnetapi.c b/source3/librpc/gen_ndr/ndr_libnetapi.c index 4520d210bae..8845cb92900 100644 --- a/source3/librpc/gen_ndr/ndr_libnetapi.c +++ b/source3/librpc/gen_ndr/ndr_libnetapi.c @@ -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"); diff --git a/source3/librpc/gen_ndr/ndr_libnetapi.h b/source3/librpc/gen_ndr/ndr_libnetapi.h index edfdec424c2..8a25c63a9d9 100644 --- a/source3/librpc/gen_ndr/ndr_libnetapi.h +++ b/source3/librpc/gen_ndr/ndr_libnetapi.h @@ -40,59 +40,61 @@ #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); |