re-run make idl.
authorGünther Deschner <gd@samba.org>
Tue, 2 Sep 2008 08:59:44 +0000 (10:59 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 5 Sep 2008 11:13:22 +0000 (13:13 +0200)
Guenther
(This used to be commit 038ec4d73a04e53c1cc0a1fa6a830d1032dee489)

source3/librpc/gen_ndr/libnetapi.h
source3/librpc/gen_ndr/ndr_libnetapi.c
source3/librpc/gen_ndr/ndr_libnetapi.h

index f11c83726224f221564e2c5d2c05b8e0bfd38ebb..b51cd3f86943bb6276c2a5b06dd504fbfa9df172 100644 (file)
@@ -695,6 +695,22 @@ struct NetGetJoinableOUs {
 };
 
 
+struct NetRenameMachineInDomain {
+       struct {
+               const char * server_name;
+               const char * new_machine_name;
+               const char * account;
+               const char * password;
+               uint32_t rename_options;
+       } in;
+
+       struct {
+               enum NET_API_STATUS result;
+       } out;
+
+};
+
+
 struct NetServerGetInfo {
        struct {
                const char * server_name;/* [unique] */
index 90b5f9f796a2a45ac74ae6e2da7252753390927c..12a4a5ef732be9bac52cb2751565871b1ba613d6 100644 (file)
@@ -2377,6 +2377,32 @@ _PUBLIC_ void ndr_print_NetGetJoinableOUs(struct ndr_print *ndr, const char *nam
        ndr->depth--;
 }
 
+_PUBLIC_ void ndr_print_NetRenameMachineInDomain(struct ndr_print *ndr, const char *name, int flags, const struct NetRenameMachineInDomain *r)
+{
+       ndr_print_struct(ndr, name, "NetRenameMachineInDomain");
+       ndr->depth++;
+       if (flags & NDR_SET_VALUES) {
+               ndr->flags |= LIBNDR_PRINT_SET_VALUES;
+       }
+       if (flags & NDR_IN) {
+               ndr_print_struct(ndr, "in", "NetRenameMachineInDomain");
+               ndr->depth++;
+               ndr_print_string(ndr, "server_name", r->in.server_name);
+               ndr_print_string(ndr, "new_machine_name", r->in.new_machine_name);
+               ndr_print_string(ndr, "account", r->in.account);
+               ndr_print_string(ndr, "password", r->in.password);
+               ndr_print_uint32(ndr, "rename_options", r->in.rename_options);
+               ndr->depth--;
+       }
+       if (flags & NDR_OUT) {
+               ndr_print_struct(ndr, "out", "NetRenameMachineInDomain");
+               ndr->depth++;
+               ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
+               ndr->depth--;
+       }
+       ndr->depth--;
+}
+
 _PUBLIC_ void ndr_print_NetServerGetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetServerGetInfo *r)
 {
        ndr_print_struct(ndr, name, "NetServerGetInfo");
index 45ce8130bc5a1914d0f3ac5eea63cd211662f739..70b12151d95f7476449afcc3c02f1fb12a105b76 100644 (file)
 
 #define NDR_NETGETJOINABLEOUS (0x03)
 
-#define NDR_NETSERVERGETINFO (0x04)
+#define NDR_NETRENAMEMACHINEINDOMAIN (0x04)
 
-#define NDR_NETSERVERSETINFO (0x05)
+#define NDR_NETSERVERGETINFO (0x05)
 
-#define NDR_NETGETDCNAME (0x06)
+#define NDR_NETSERVERSETINFO (0x06)
 
-#define NDR_NETGETANYDCNAME (0x07)
+#define NDR_NETGETDCNAME (0x07)
 
-#define NDR_DSGETDCNAME (0x08)
+#define NDR_NETGETANYDCNAME (0x08)
 
-#define NDR_NETUSERADD (0x09)
+#define NDR_DSGETDCNAME (0x09)
 
-#define NDR_NETUSERDEL (0x0a)
+#define NDR_NETUSERADD (0x0a)
 
-#define NDR_NETUSERENUM (0x0b)
+#define NDR_NETUSERDEL (0x0b)
 
-#define NDR_NETUSERCHANGEPASSWORD (0x0c)
+#define NDR_NETUSERENUM (0x0c)
 
-#define NDR_NETUSERGETINFO (0x0d)
+#define NDR_NETUSERCHANGEPASSWORD (0x0d)
 
-#define NDR_NETUSERSETINFO (0x0e)
+#define NDR_NETUSERGETINFO (0x0e)
 
-#define NDR_NETUSERGETGROUPS (0x0f)
+#define NDR_NETUSERSETINFO (0x0f)
 
-#define NDR_NETUSERMODALSGET (0x10)
+#define NDR_NETUSERGETGROUPS (0x10)
 
-#define NDR_NETUSERMODALSSET (0x11)
+#define NDR_NETUSERMODALSGET (0x11)
 
-#define NDR_NETQUERYDISPLAYINFORMATION (0x12)
+#define NDR_NETUSERMODALSSET (0x12)
 
-#define NDR_NETGROUPADD (0x13)
+#define NDR_NETQUERYDISPLAYINFORMATION (0x13)
 
-#define NDR_NETGROUPDEL (0x14)
+#define NDR_NETGROUPADD (0x14)
 
-#define NDR_NETGROUPENUM (0x15)
+#define NDR_NETGROUPDEL (0x15)
 
-#define NDR_NETGROUPSETINFO (0x16)
+#define NDR_NETGROUPENUM (0x16)
 
-#define NDR_NETGROUPGETINFO (0x17)
+#define NDR_NETGROUPSETINFO (0x17)
 
-#define NDR_NETGROUPADDUSER (0x18)
+#define NDR_NETGROUPGETINFO (0x18)
 
-#define NDR_NETGROUPDELUSER (0x19)
+#define NDR_NETGROUPADDUSER (0x19)
 
-#define NDR_NETGROUPGETUSERS (0x1a)
+#define NDR_NETGROUPDELUSER (0x1a)
 
-#define NDR_NETLOCALGROUPADD (0x1b)
+#define NDR_NETGROUPGETUSERS (0x1b)
 
-#define NDR_NETLOCALGROUPDEL (0x1c)
+#define NDR_NETLOCALGROUPADD (0x1c)
 
-#define NDR_NETLOCALGROUPGETINFO (0x1d)
+#define NDR_NETLOCALGROUPDEL (0x1d)
 
-#define NDR_NETLOCALGROUPSETINFO (0x1e)
+#define NDR_NETLOCALGROUPGETINFO (0x1e)
 
-#define NDR_NETLOCALGROUPENUM (0x1f)
+#define NDR_NETLOCALGROUPSETINFO (0x1f)
 
-#define NDR_NETLOCALGROUPADDMEMBERS (0x20)
+#define NDR_NETLOCALGROUPENUM (0x20)
 
-#define NDR_NETLOCALGROUPDELMEMBERS (0x21)
+#define NDR_NETLOCALGROUPADDMEMBERS (0x21)
 
-#define NDR_NETLOCALGROUPGETMEMBERS (0x22)
+#define NDR_NETLOCALGROUPDELMEMBERS (0x22)
 
-#define NDR_NETLOCALGROUPSETMEMBERS (0x23)
+#define NDR_NETLOCALGROUPGETMEMBERS (0x23)
 
-#define NDR_NETREMOTETOD (0x24)
+#define NDR_NETLOCALGROUPSETMEMBERS (0x24)
 
-#define NDR_NETSHAREADD (0x25)
+#define NDR_NETREMOTETOD (0x25)
 
-#define NDR_NETSHAREDEL (0x26)
+#define NDR_NETSHAREADD (0x26)
 
-#define NDR_NETSHAREENUM (0x27)
+#define NDR_NETSHAREDEL (0x27)
 
-#define NDR_LIBNETAPI_CALL_COUNT (40)
+#define NDR_NETSHAREENUM (0x28)
+
+#define NDR_LIBNETAPI_CALL_COUNT (41)
 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);
@@ -234,6 +236,9 @@ void ndr_print_NetGetJoinInformation(struct ndr_print *ndr, const char *name, in
 enum ndr_err_code ndr_push_NetGetJoinableOUs(struct ndr_push *ndr, int flags, const struct NetGetJoinableOUs *r);
 enum ndr_err_code ndr_pull_NetGetJoinableOUs(struct ndr_pull *ndr, int flags, struct NetGetJoinableOUs *r);
 void ndr_print_NetGetJoinableOUs(struct ndr_print *ndr, const char *name, int flags, const struct NetGetJoinableOUs *r);
+enum ndr_err_code ndr_push_NetRenameMachineInDomain(struct ndr_push *ndr, int flags, const struct NetRenameMachineInDomain *r);
+enum ndr_err_code ndr_pull_NetRenameMachineInDomain(struct ndr_pull *ndr, int flags, struct NetRenameMachineInDomain *r);
+void ndr_print_NetRenameMachineInDomain(struct ndr_print *ndr, const char *name, int flags, const struct NetRenameMachineInDomain *r);
 enum ndr_err_code ndr_push_NetServerGetInfo(struct ndr_push *ndr, int flags, const struct NetServerGetInfo *r);
 enum ndr_err_code ndr_pull_NetServerGetInfo(struct ndr_pull *ndr, int flags, struct NetServerGetInfo *r);
 void ndr_print_NetServerGetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetServerGetInfo *r);