1 /***********************************************************************\
2 *                                ntldap.d                               *
3 *                                                                       *
4 *                       Windows API header module                       *
5 *                                                                       *
6 *                 Translated from MinGW Windows headers                 *
7 *                           by Stewart Gordon                           *
8 *                                                                       *
9 *                       Placed into public domain                       *
10 \***********************************************************************/
11 module windows.ntldap;
12 
13 /*	TOTHINKABOUT: These constants don't have ANSI/Unicode versioned
14  *	aliases.  Should we merge them anyway?
15  */
16 nothrow:
17 const char[]
18 	LDAP_SERVER_ASQ_OID                    = "1.2.840.113556.1.4.1504",
19 	LDAP_SERVER_DIRSYNC_OID                = "1.2.840.113556.1.4.841",
20 	LDAP_SERVER_SD_FLAGS_OID               = "1.2.840.113556.1.4.801",
21 	LDAP_SERVER_FAST_BIND_OID              = "1.2.840.113556.1.4.1781",
22 	LDAP_MATCHING_RULE_BIT_OR              = "1.2.840.113556.1.4.804",
23 	LDAP_MATCHING_RULE_BIT_AND             = "1.2.840.113556.1.4.803",
24 	LDAP_SERVER_EXTENDED_DN_OID            = "1.2.840.113556.1.4.529",
25 	LDAP_SERVER_LAZY_COMMIT_OID            = "1.2.840.113556.1.4.619",
26 	LDAP_SERVER_TREE_DELETE_OID            = "1.2.840.113556.1.4.805",
27 	LDAP_SERVER_VERIFY_NAME_OID            = "1.2.840.113556.1.4.1338",
28 	LDAP_SERVER_SHOW_DELETED_OID           = "1.2.840.113556.1.4.417",
29 	LDAP_SERVER_NOTIFICATION_OID           = "1.2.840.113556.1.4.528",
30 	LDAP_SERVER_DOMAIN_SCOPE_OID           = "1.2.840.113556.1.4.1339",
31 	LDAP_CAP_ACTIVE_DIRECTORY_OID          = "1.2.840.113556.1.4.800",
32 	LDAP_SERVER_SEARCH_OPTIONS_OID         = "1.2.840.113556.1.4.1340",
33 	LDAP_CAP_ACTIVE_DIRECTORY_V51_OID      = "1.2.840.113556.1.4.1670",
34 	LDAP_SERVER_PERMISSIVE_MODIFY_OID      = "1.2.840.113556.1.4.1413",
35 	LDAP_SERVER_CROSSDOM_MOVE_TARGET_OID   = "1.2.840.113556.1.4.521";
36 
37 const wchar[]
38 	LDAP_SERVER_ASQ_OID_W                  = "1.2.840.113556.1.4.1504",
39 	LDAP_SERVER_DIRSYNC_OID_W              = "1.2.840.113556.1.4.841",
40 	LDAP_SERVER_SD_FLAGS_OID_W             = "1.2.840.113556.1.4.801",
41 	LDAP_SERVER_FAST_BIND_OID_W            = "1.2.840.113556.1.4.1781",
42 	LDAP_MATCHING_RULE_BIT_OR_W            = "1.2.840.113556.1.4.804",
43 	LDAP_MATCHING_RULE_BIT_AND_W           = "1.2.840.113556.1.4.803",
44 	LDAP_SERVER_EXTENDED_DN_OID_W          = "1.2.840.113556.1.4.529",
45 	LDAP_SERVER_LAZY_COMMIT_OID_W          = "1.2.840.113556.1.4.619",
46 	LDAP_SERVER_TREE_DELETE_OID_W          = "1.2.840.113556.1.4.805",
47 	LDAP_SERVER_VERIFY_NAME_OID_W          = "1.2.840.113556.1.4.1338",
48 	LDAP_SERVER_SHOW_DELETED_OID_W         = "1.2.840.113556.1.4.417",
49 	LDAP_SERVER_NOTIFICATION_OID_W         = "1.2.840.113556.1.4.528",
50 	LDAP_SERVER_DOMAIN_SCOPE_OID_W         = "1.2.840.113556.1.4.1339",
51 	LDAP_CAP_ACTIVE_DIRECTORY_OID_W        = "1.2.840.113556.1.4.800",
52 	LDAP_SERVER_SEARCH_OPTIONS_OID_W       = "1.2.840.113556.1.4.1340",
53 	LDAP_CAP_ACTIVE_DIRECTORY_V51_OID_W    = "1.2.840.113556.1.4.1670",
54 	LDAP_SERVER_PERMISSIVE_MODIFY_OID_W    = "1.2.840.113556.1.4.1413",
55 	LDAP_SERVER_CROSSDOM_MOVE_TARGET_OID_W = "1.2.840.113556.1.4.521";
56 
57 const SERVER_SEARCH_FLAG_DOMAIN_SCOPE = 1;
58 const SERVER_SEARCH_FLAG_PHANTOM_ROOT = 2;