OSDN Git Service

Redo the filters based on assumptions discussed in mingw-dvlpr list.
[mingw/mingw-org-wsl.git] / include / ntldap.h
1 /**
2  * @file ntldap.h
3  * @copy 2012 MinGW.org project
4  *
5  * Permission is hereby granted, free of charge, to any person obtaining a
6  * copy of this software and associated documentation files (the "Software"),
7  * to deal in the Software without restriction, including without limitation
8  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9  * and/or sell copies of the Software, and to permit persons to whom the
10  * Software is furnished to do so, subject to the following conditions:
11  * 
12  * The above copyright notice and this permission notice (including the next
13  * paragraph) shall be included in all copies or substantial portions of the
14  * Software.
15  * 
16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22  * DEALINGS IN THE SOFTWARE.
23  */
24 #ifndef _NTLDAP_H
25 #define _NTLDAP_H
26 #pragma GCC system_header
27
28 /*
29  * LDAP API Extensions
30  */
31
32 #define LDAP_SERVER_ASQ_OID     "1.2.840.113556.1.4.1504"
33 #define LDAP_SERVER_ASQ_OID_W   L"1.2.840.113556.1.4.1504"
34 #define LDAP_SERVER_DIRSYNC_OID "1.2.840.113556.1.4.841"
35 #define LDAP_SERVER_DIRSYNC_OID_W       L"1.2.840.113556.1.4.841"
36 #define LDAP_SERVER_SD_FLAGS_OID        "1.2.840.113556.1.4.801"
37 #define LDAP_SERVER_SD_FLAGS_OID_W      L"1.2.840.113556.1.4.801"
38 #define LDAP_SERVER_FAST_BIND_OID       "1.2.840.113556.1.4.1781"
39 #define LDAP_SERVER_FAST_BIND_OID_W     L"1.2.840.113556.1.4.1781"
40 #define LDAP_MATCHING_RULE_BIT_OR       "1.2.840.113556.1.4.804"
41 #define LDAP_MATCHING_RULE_BIT_OR_W     L"1.2.840.113556.1.4.804"
42 #define LDAP_MATCHING_RULE_BIT_AND      "1.2.840.113556.1.4.803"
43 #define LDAP_MATCHING_RULE_BIT_AND_W    L"1.2.840.113556.1.4.803"
44 #define LDAP_SERVER_EXTENDED_DN_OID     "1.2.840.113556.1.4.529"
45 #define LDAP_SERVER_EXTENDED_DN_OID_W   L"1.2.840.113556.1.4.529"
46 #define LDAP_SERVER_LAZY_COMMIT_OID     "1.2.840.113556.1.4.619"
47 #define LDAP_SERVER_LAZY_COMMIT_OID_W   L"1.2.840.113556.1.4.619"
48 #define LDAP_SERVER_TREE_DELETE_OID     "1.2.840.113556.1.4.805"
49 #define LDAP_SERVER_TREE_DELETE_OID_W   L"1.2.840.113556.1.4.805"
50 #define LDAP_SERVER_VERIFY_NAME_OID     "1.2.840.113556.1.4.1338"
51 #define LDAP_SERVER_VERIFY_NAME_OID_W   L"1.2.840.113556.1.4.1338"
52 #define LDAP_SERVER_SHOW_DELETED_OID    "1.2.840.113556.1.4.417"
53 #define LDAP_SERVER_SHOW_DELETED_OID_W  L"1.2.840.113556.1.4.417"
54 #define LDAP_SERVER_NOTIFICATION_OID    "1.2.840.113556.1.4.528"
55 #define LDAP_SERVER_NOTIFICATION_OID_W  L"1.2.840.113556.1.4.528"
56 #define LDAP_SERVER_DOMAIN_SCOPE_OID    "1.2.840.113556.1.4.1339"
57 #define LDAP_SERVER_DOMAIN_SCOPE_OID_W  L"1.2.840.113556.1.4.1339"
58 #define LDAP_CAP_ACTIVE_DIRECTORY_OID   "1.2.840.113556.1.4.800"
59 #define LDAP_CAP_ACTIVE_DIRECTORY_OID_W L"1.2.840.113556.1.4.800"
60 #define LDAP_SERVER_SEARCH_OPTIONS_OID  "1.2.840.113556.1.4.1340"
61 #define LDAP_SERVER_SEARCH_OPTIONS_OID_W        L"1.2.840.113556.1.4.1340"
62 #define LDAP_CAP_ACTIVE_DIRECTORY_V51_OID       "1.2.840.113556.1.4.1670"
63 #define LDAP_CAP_ACTIVE_DIRECTORY_V51_OID_W     L"1.2.840.113556.1.4.1670"
64 #define LDAP_SERVER_PERMISSIVE_MODIFY_OID       "1.2.840.113556.1.4.1413"
65 #define LDAP_SERVER_PERMISSIVE_MODIFY_OID_W     L"1.2.840.113556.1.4.1413"
66 #define LDAP_SERVER_CROSSDOM_MOVE_TARGET_OID    "1.2.840.113556.1.4.521"
67 #define LDAP_SERVER_CROSSDOM_MOVE_TARGET_OID_W  L"1.2.840.113556.1.4.521"
68 #define SERVER_SEARCH_FLAG_DOMAIN_SCOPE 1
69 #define SERVER_SEARCH_FLAG_PHANTOM_ROOT 2
70
71 #endif /*  _NTLDAP_H */