diff options
author | Günther Deschner <gd@samba.org> | 2008-09-09 13:40:39 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-09-11 14:30:35 +0200 |
commit | f5c2e5890ec704af546bf84404bbd4cad2d7a266 (patch) | |
tree | 651aa845f1a64062897934b2a1ef9799aee6c84e /source3 | |
parent | e17da26aa0aacc5b0813cfd8fc1ef00094d2d7ac (diff) | |
download | samba-f5c2e5890ec704af546bf84404bbd4cad2d7a266.tar.gz samba-f5c2e5890ec704af546bf84404bbd4cad2d7a266.tar.bz2 samba-f5c2e5890ec704af546bf84404bbd4cad2d7a266.zip |
re-run make idl.
Guenther
(This used to be commit 3c07bcfb30ae5bb849291a5ca61b54798f14ee0a)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/librpc/gen_ndr/libnetapi.h | 24 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_libnetapi.c | 43 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_libnetapi.h | 61 |
3 files changed, 100 insertions, 28 deletions
diff --git a/source3/librpc/gen_ndr/libnetapi.h b/source3/librpc/gen_ndr/libnetapi.h index 9c1430227f..d61a562a95 100644 --- a/source3/librpc/gen_ndr/libnetapi.h +++ b/source3/librpc/gen_ndr/libnetapi.h @@ -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; diff --git a/source3/librpc/gen_ndr/ndr_libnetapi.c b/source3/librpc/gen_ndr/ndr_libnetapi.c index 3c11574c14..48078a93f1 100644 --- a/source3/librpc/gen_ndr/ndr_libnetapi.c +++ b/source3/librpc/gen_ndr/ndr_libnetapi.c @@ -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"); diff --git a/source3/librpc/gen_ndr/ndr_libnetapi.h b/source3/librpc/gen_ndr/ndr_libnetapi.h index e706e3fffe..d435fe0588 100644 --- a/source3/librpc/gen_ndr/ndr_libnetapi.h +++ b/source3/librpc/gen_ndr/ndr_libnetapi.h @@ -42,61 +42,63 @@ #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); |