source: Daodan/MinGW/include/ntldap.h@ 1054

Last change on this file since 1054 was 1046, checked in by alloc, 8 years ago

Daodan: Added Windows MinGW and build batch file

File size: 2.9 KB
Line 
1/*
2 ntldap.h - Header file for the Windows LDAP API Extensions
3
4 Written by Filip Navara <xnavara@volny.cz>
5
6 References:
7 Lightweight Directory Access Protocol Reference
8 http://msdn.microsoft.com/library/en-us/netdir/ldap/ldap_reference.asp
9
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13*/
14
15#ifndef _NTLDAP_H
16#define _NTLDAP_H
17#if __GNUC__ >= 3
18#pragma GCC system_header
19#endif
20
21#define LDAP_SERVER_ASQ_OID "1.2.840.113556.1.4.1504"
22#define LDAP_SERVER_ASQ_OID_W L"1.2.840.113556.1.4.1504"
23#define LDAP_SERVER_DIRSYNC_OID "1.2.840.113556.1.4.841"
24#define LDAP_SERVER_DIRSYNC_OID_W L"1.2.840.113556.1.4.841"
25#define LDAP_SERVER_SD_FLAGS_OID "1.2.840.113556.1.4.801"
26#define LDAP_SERVER_SD_FLAGS_OID_W L"1.2.840.113556.1.4.801"
27#define LDAP_SERVER_FAST_BIND_OID "1.2.840.113556.1.4.1781"
28#define LDAP_SERVER_FAST_BIND_OID_W L"1.2.840.113556.1.4.1781"
29#define LDAP_MATCHING_RULE_BIT_OR "1.2.840.113556.1.4.804"
30#define LDAP_MATCHING_RULE_BIT_OR_W L"1.2.840.113556.1.4.804"
31#define LDAP_MATCHING_RULE_BIT_AND "1.2.840.113556.1.4.803"
32#define LDAP_MATCHING_RULE_BIT_AND_W L"1.2.840.113556.1.4.803"
33#define LDAP_SERVER_EXTENDED_DN_OID "1.2.840.113556.1.4.529"
34#define LDAP_SERVER_EXTENDED_DN_OID_W L"1.2.840.113556.1.4.529"
35#define LDAP_SERVER_LAZY_COMMIT_OID "1.2.840.113556.1.4.619"
36#define LDAP_SERVER_LAZY_COMMIT_OID_W L"1.2.840.113556.1.4.619"
37#define LDAP_SERVER_TREE_DELETE_OID "1.2.840.113556.1.4.805"
38#define LDAP_SERVER_TREE_DELETE_OID_W L"1.2.840.113556.1.4.805"
39#define LDAP_SERVER_VERIFY_NAME_OID "1.2.840.113556.1.4.1338"
40#define LDAP_SERVER_VERIFY_NAME_OID_W L"1.2.840.113556.1.4.1338"
41#define LDAP_SERVER_SHOW_DELETED_OID "1.2.840.113556.1.4.417"
42#define LDAP_SERVER_SHOW_DELETED_OID_W L"1.2.840.113556.1.4.417"
43#define LDAP_SERVER_NOTIFICATION_OID "1.2.840.113556.1.4.528"
44#define LDAP_SERVER_NOTIFICATION_OID_W L"1.2.840.113556.1.4.528"
45#define LDAP_SERVER_DOMAIN_SCOPE_OID "1.2.840.113556.1.4.1339"
46#define LDAP_SERVER_DOMAIN_SCOPE_OID_W L"1.2.840.113556.1.4.1339"
47#define LDAP_CAP_ACTIVE_DIRECTORY_OID "1.2.840.113556.1.4.800"
48#define LDAP_CAP_ACTIVE_DIRECTORY_OID_W L"1.2.840.113556.1.4.800"
49#define LDAP_SERVER_SEARCH_OPTIONS_OID "1.2.840.113556.1.4.1340"
50#define LDAP_SERVER_SEARCH_OPTIONS_OID_W L"1.2.840.113556.1.4.1340"
51#define LDAP_CAP_ACTIVE_DIRECTORY_V51_OID "1.2.840.113556.1.4.1670"
52#define LDAP_CAP_ACTIVE_DIRECTORY_V51_OID_W L"1.2.840.113556.1.4.1670"
53#define LDAP_SERVER_PERMISSIVE_MODIFY_OID "1.2.840.113556.1.4.1413"
54#define LDAP_SERVER_PERMISSIVE_MODIFY_OID_W L"1.2.840.113556.1.4.1413"
55#define LDAP_SERVER_CROSSDOM_MOVE_TARGET_OID "1.2.840.113556.1.4.521"
56#define LDAP_SERVER_CROSSDOM_MOVE_TARGET_OID_W L"1.2.840.113556.1.4.521"
57#define SERVER_SEARCH_FLAG_DOMAIN_SCOPE 1
58#define SERVER_SEARCH_FLAG_PHANTOM_ROOT 2
59
60#endif /* _NTLDAP_H */
Note: See TracBrowser for help on using the repository browser.