mirror of
https://github.com/samba-team/samba.git
synced 2025-01-29 21:47:30 +03:00
re-run make idl.
Guenther (This used to be commit 397d305e90e90f475b6de0efac7dd9630d698efd)
This commit is contained in:
parent
3ff06e993b
commit
84cf8dc8c6
@ -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] */
|
||||
|
@ -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");
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user