diff options
author | Günther Deschner <gd@samba.org> | 2008-06-25 00:29:25 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-06-25 09:55:11 +0200 |
commit | 84cf8dc8c62da71e36d196581cce8038d8a05fe2 (patch) | |
tree | 038dbced57e659d762ef1f4d05878c21087c85a3 /source3/librpc | |
parent | 3ff06e993bb2647a041a95b4dd9dce6bd29e6cec (diff) | |
download | samba-84cf8dc8c62da71e36d196581cce8038d8a05fe2.tar.gz samba-84cf8dc8c62da71e36d196581cce8038d8a05fe2.tar.bz2 samba-84cf8dc8c62da71e36d196581cce8038d8a05fe2.zip |
re-run make idl.
Guenther
(This used to be commit 397d305e90e90f475b6de0efac7dd9630d698efd)
Diffstat (limited to 'source3/librpc')
-rw-r--r-- | source3/librpc/gen_ndr/libnetapi.h | 15 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_libnetapi.c | 25 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/ndr_libnetapi.h | 31 |
3 files changed, 58 insertions, 13 deletions
diff --git a/source3/librpc/gen_ndr/libnetapi.h b/source3/librpc/gen_ndr/libnetapi.h index 5d2efcfe57..d6b8d99c5d 100644 --- a/source3/librpc/gen_ndr/libnetapi.h +++ b/source3/librpc/gen_ndr/libnetapi.h @@ -334,6 +334,21 @@ struct NetUserEnum { }; +struct NetUserChangePassword { + struct { + const char * domain_name; + const char * user_name; + const char * old_password; + const char * new_password; + } in; + + struct { + enum NET_API_STATUS result; + } out; + +}; + + struct NetQueryDisplayInformation { struct { const char * server_name;/* [unique] */ diff --git a/source3/librpc/gen_ndr/ndr_libnetapi.c b/source3/librpc/gen_ndr/ndr_libnetapi.c index 238cfdf1ed..4bc966f491 100644 --- a/source3/librpc/gen_ndr/ndr_libnetapi.c +++ b/source3/librpc/gen_ndr/ndr_libnetapi.c @@ -904,6 +904,31 @@ _PUBLIC_ void ndr_print_NetUserEnum(struct ndr_print *ndr, const char *name, int ndr->depth--; } +_PUBLIC_ void ndr_print_NetUserChangePassword(struct ndr_print *ndr, const char *name, int flags, const struct NetUserChangePassword *r) +{ + ndr_print_struct(ndr, name, "NetUserChangePassword"); + ndr->depth++; + if (flags & NDR_SET_VALUES) { + ndr->flags |= LIBNDR_PRINT_SET_VALUES; + } + if (flags & NDR_IN) { + ndr_print_struct(ndr, "in", "NetUserChangePassword"); + ndr->depth++; + ndr_print_string(ndr, "domain_name", r->in.domain_name); + ndr_print_string(ndr, "user_name", r->in.user_name); + ndr_print_string(ndr, "old_password", r->in.old_password); + ndr_print_string(ndr, "new_password", r->in.new_password); + ndr->depth--; + } + if (flags & NDR_OUT) { + ndr_print_struct(ndr, "out", "NetUserChangePassword"); + ndr->depth++; + ndr_print_NET_API_STATUS(ndr, "result", r->out.result); + ndr->depth--; + } + ndr->depth--; +} + _PUBLIC_ void ndr_print_NetQueryDisplayInformation(struct ndr_print *ndr, const char *name, int flags, const struct NetQueryDisplayInformation *r) { ndr_print_struct(ndr, name, "NetQueryDisplayInformation"); diff --git a/source3/librpc/gen_ndr/ndr_libnetapi.h b/source3/librpc/gen_ndr/ndr_libnetapi.h index 422c702871..fa7b586eb8 100644 --- a/source3/librpc/gen_ndr/ndr_libnetapi.h +++ b/source3/librpc/gen_ndr/ndr_libnetapi.h @@ -30,31 +30,33 @@ #define NDR_NETUSERENUM (0x0b) -#define NDR_NETQUERYDISPLAYINFORMATION (0x0c) +#define NDR_NETUSERCHANGEPASSWORD (0x0c) -#define NDR_NETGROUPADD (0x0d) +#define NDR_NETQUERYDISPLAYINFORMATION (0x0d) -#define NDR_NETGROUPDEL (0x0e) +#define NDR_NETGROUPADD (0x0e) -#define NDR_NETGROUPSETINFO (0x0f) +#define NDR_NETGROUPDEL (0x0f) -#define NDR_NETGROUPGETINFO (0x10) +#define NDR_NETGROUPSETINFO (0x10) -#define NDR_NETGROUPADDUSER (0x11) +#define NDR_NETGROUPGETINFO (0x11) -#define NDR_NETGROUPDELUSER (0x12) +#define NDR_NETGROUPADDUSER (0x12) -#define NDR_NETLOCALGROUPADD (0x13) +#define NDR_NETGROUPDELUSER (0x13) -#define NDR_NETLOCALGROUPDEL (0x14) +#define NDR_NETLOCALGROUPADD (0x14) -#define NDR_NETLOCALGROUPGETINFO (0x15) +#define NDR_NETLOCALGROUPDEL (0x15) -#define NDR_NETLOCALGROUPSETINFO (0x16) +#define NDR_NETLOCALGROUPGETINFO (0x16) -#define NDR_NETREMOTETOD (0x17) +#define NDR_NETLOCALGROUPSETINFO (0x17) -#define NDR_LIBNETAPI_CALL_COUNT (24) +#define NDR_NETREMOTETOD (0x18) + +#define NDR_LIBNETAPI_CALL_COUNT (25) 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); @@ -118,6 +120,9 @@ void ndr_print_NetUserDel(struct ndr_print *ndr, const char *name, int flags, co enum ndr_err_code ndr_push_NetUserEnum(struct ndr_push *ndr, int flags, const struct NetUserEnum *r); enum ndr_err_code ndr_pull_NetUserEnum(struct ndr_pull *ndr, int flags, struct NetUserEnum *r); void ndr_print_NetUserEnum(struct ndr_print *ndr, const char *name, int flags, const struct NetUserEnum *r); +enum ndr_err_code ndr_push_NetUserChangePassword(struct ndr_push *ndr, int flags, const struct NetUserChangePassword *r); +enum ndr_err_code ndr_pull_NetUserChangePassword(struct ndr_pull *ndr, int flags, struct NetUserChangePassword *r); +void ndr_print_NetUserChangePassword(struct ndr_print *ndr, const char *name, int flags, const struct NetUserChangePassword *r); enum ndr_err_code ndr_push_NetQueryDisplayInformation(struct ndr_push *ndr, int flags, const struct NetQueryDisplayInformation *r); enum ndr_err_code ndr_pull_NetQueryDisplayInformation(struct ndr_pull *ndr, int flags, struct NetQueryDisplayInformation *r); void ndr_print_NetQueryDisplayInformation(struct ndr_print *ndr, const char *name, int flags, const struct NetQueryDisplayInformation *r); |