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");
#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);
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);