s3-libnetapi: add DS request flags to public header.
authorGünther Deschner <gd@samba.org>
Fri, 10 Sep 2010 23:23:01 +0000 (01:23 +0200)
committerGünther Deschner <gd@samba.org>
Wed, 15 Sep 2010 06:32:58 +0000 (08:32 +0200)
Guenther

source3/lib/netapi/netapi.h

index 99f878b84d0eabd5aa357241bc3cce81c886bfd8..9e1549df0eb3ed0551bb618272917dd8c35abe8c 100644 (file)
@@ -1321,6 +1321,27 @@ struct NETLOGON_INFO_4 {
 #define NETLOGON_CONTROL_SET_DBFLAG ( 0x0000FFFE )
 #define NETLOGON_CONTROL_BREAKPOINT ( 0x0000FFFF )
 
+#define DS_FORCE_REDISCOVERY ( 0x00000001 )
+#define DS_DIRECTORY_SERVICE_REQUIRED ( 0x00000010 )
+#define DS_DIRECTORY_SERVICE_PREFERRED ( 0x00000020 )
+#define DS_GC_SERVER_REQUIRED ( 0x00000040 )
+#define DS_PDC_REQUIRED ( 0x00000080 )
+#define DS_BACKGROUND_ONLY ( 0x00000100 )
+#define DS_IP_REQUIRED ( 0x00000200 )
+#define DS_KDC_REQUIRED ( 0x00000400 )
+#define DS_TIMESERV_REQUIRED ( 0x00000800 )
+#define DS_WRITABLE_REQUIRED ( 0x00001000 )
+#define DS_GOOD_TIMESERV_PREFERRED ( 0x00002000 )
+#define DS_AVOID_SELF ( 0x00004000 )
+#define DS_ONLY_LDAP_NEEDED ( 0x00008000 )
+#define DS_IS_FLAT_NAME ( 0x00010000 )
+#define DS_IS_DNS_NAME ( 0x00020000 )
+#define DS_TRY_NEXTCLOSEST_SITE ( 0x00040000 )
+#define DS_DIRECTORY_SERVICE_6_REQUIRED ( 0x00080000 )
+#define DS_WEB_SERVICE_REQUIRED ( 0x00100000 )
+#define DS_RETURN_DNS_NAME ( 0x40000000 )
+#define DS_RETURN_FLAT_NAME ( 0x80000000 )
+
 #endif /* _HEADER_netlogon */
 
 /****************************************************************