summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-08-29 12:46:38 +0200
committerGünther Deschner <gd@samba.org>2008-08-29 13:58:06 +0200
commit57fe0182d3a17c1b61e969e8842b891c362c12f2 (patch)
tree8db7c18dda0ffe35efea1625a737bf572b7339a4 /source3/lib
parent93528fadc6b95aa6e86e232d0adc02832cdacaa5 (diff)
downloadsamba-57fe0182d3a17c1b61e969e8842b891c362c12f2.tar.gz
samba-57fe0182d3a17c1b61e969e8842b891c362c12f2.tar.bz2
samba-57fe0182d3a17c1b61e969e8842b891c362c12f2.zip
netapi: add NetJoinFlags to public header.
Guenther (This used to be commit 3babf758f49d6b08af8bd41c1dc8bd8de11a3893)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/netapi/netapi.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/source3/lib/netapi/netapi.h b/source3/lib/netapi/netapi.h
index 95d2316c9e..05c702cb3f 100644
--- a/source3/lib/netapi/netapi.h
+++ b/source3/lib/netapi/netapi.h
@@ -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 )