]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
netapi: add NetJoinFlags to public header.
authorGünther Deschner <gd@samba.org>
Fri, 29 Aug 2008 10:46:38 +0000 (12:46 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 29 Aug 2008 11:58:06 +0000 (13:58 +0200)
Guenther

source/lib/netapi/netapi.h

index 95d2316c9eb15070687c9b6beaafc139da829c56..05c702cb3f20d1854b6fdc8d4c5d9b0d3b6e6e6a 100644 (file)
@@ -75,6 +75,20 @@ struct DOMAIN_CONTROLLER_INFO {
        const char * client_site_name;
 };
 
+/* bitmap NetJoinFlags */
+#define NETSETUP_JOIN_DOMAIN ( 0x00000001 )
+#define NETSETUP_ACCT_CREATE ( 0x00000002 )
+#define NETSETUP_ACCT_DELETE ( 0x00000004 )
+#define NETSETUP_WIN9X_UPGRADE ( 0x00000010 )
+#define NETSETUP_DOMAIN_JOIN_IF_JOINED ( 0x00000020 )
+#define NETSETUP_JOIN_UNSECURE ( 0x00000040 )
+#define NETSETUP_MACHINE_PWD_PASSED ( 0x00000080 )
+#define NETSETUP_DEFER_SPN_SET ( 0x00000100 )
+#define NETSETUP_JOIN_DC_ACCOUNT ( 0x00000200 )
+#define NETSETUP_JOIN_WITH_NEW_NAME ( 0x00000400 )
+#define NETSETUP_INSTALL_INVOCATION ( 0x00040000 )
+#define NETSETUP_IGNORE_UNSUPPORTED_FLAGS ( 0x10000000 )
+
 #define FILTER_TEMP_DUPLICATE_ACCOUNT  ( 0x0001 )
 #define FILTER_NORMAL_ACCOUNT  ( 0x0002 )
 #define FILTER_INTERDOMAIN_TRUST_ACCOUNT       ( 0x0008 )