aboutsummaryrefslogtreecommitdiff
path: root/winsup/w32api/include/ntldap.h
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2003-08-01 09:11:39 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2003-08-01 09:11:39 +0000
commitbe21429f2fc443c268e7d5544c1eebec7ffbf01e (patch)
tree707cb47339d1f6147d39fb2e57b470c12df078be /winsup/w32api/include/ntldap.h
parent7d18037f8f3e574d9753584673af6aa2655ec567 (diff)
downloadnewlib-be21429f2fc443c268e7d5544c1eebec7ffbf01e.zip
newlib-be21429f2fc443c268e7d5544c1eebec7ffbf01e.tar.gz
newlib-be21429f2fc443c268e7d5544c1eebec7ffbf01e.tar.bz2
2003-08-01 Danny Smith <dannysmith@users.sourceforge.net>
* lib/test.c: Include winldap.h, ntldap.h, winber.h. 2003-08-01 Filip Navara <xnavara@volny.cz> * include/winldap.h: New file. * include/ntldap.h: New file. * include/winber.h: New file. * lib/winldap32.def: New file.
Diffstat (limited to 'winsup/w32api/include/ntldap.h')
-rw-r--r--winsup/w32api/include/ntldap.h60
1 files changed, 60 insertions, 0 deletions
diff --git a/winsup/w32api/include/ntldap.h b/winsup/w32api/include/ntldap.h
new file mode 100644
index 0000000..29236a0
--- /dev/null
+++ b/winsup/w32api/include/ntldap.h
@@ -0,0 +1,60 @@
+/*
+ ntldap.h - Header file for the Windows LDAP API Extensions
+
+ Written by Filip Navara <xnavara@volny.cz>
+
+ References:
+ Lightweight Directory Access Protocol Reference
+ http://msdn.microsoft.com/library/en-us/netdir/ldap/ldap_reference.asp
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+*/
+
+#ifndef _NTLDAP_H
+#define _NTLDAP_H
+#if __GNUC__ >= 3
+#pragma GCC system_header
+#endif
+
+#define LDAP_SERVER_ASQ_OID "1.2.840.113556.1.4.1504"
+#define LDAP_SERVER_ASQ_OID_W L"1.2.840.113556.1.4.1504"
+#define LDAP_SERVER_DIRSYNC_OID "1.2.840.113556.1.4.841"
+#define LDAP_SERVER_DIRSYNC_OID_W L"1.2.840.113556.1.4.841"
+#define LDAP_SERVER_SD_FLAGS_OID "1.2.840.113556.1.4.801"
+#define LDAP_SERVER_SD_FLAGS_OID_W L"1.2.840.113556.1.4.801"
+#define LDAP_SERVER_FAST_BIND_OID "1.2.840.113556.1.4.1781"
+#define LDAP_SERVER_FAST_BIND_OID_W L"1.2.840.113556.1.4.1781"
+#define LDAP_MATCHING_RULE_BIT_OR "1.2.840.113556.1.4.804"
+#define LDAP_MATCHING_RULE_BIT_OR_W L"1.2.840.113556.1.4.804"
+#define LDAP_MATCHING_RULE_BIT_AND "1.2.840.113556.1.4.803"
+#define LDAP_MATCHING_RULE_BIT_AND_W L"1.2.840.113556.1.4.803"
+#define LDAP_SERVER_EXTENDED_DN_OID "1.2.840.113556.1.4.529"
+#define LDAP_SERVER_EXTENDED_DN_OID_W L"1.2.840.113556.1.4.529"
+#define LDAP_SERVER_LAZY_COMMIT_OID "1.2.840.113556.1.4.619"
+#define LDAP_SERVER_LAZY_COMMIT_OID_W L"1.2.840.113556.1.4.619"
+#define LDAP_SERVER_TREE_DELETE_OID "1.2.840.113556.1.4.805"
+#define LDAP_SERVER_TREE_DELETE_OID_W L"1.2.840.113556.1.4.805"
+#define LDAP_SERVER_VERIFY_NAME_OID "1.2.840.113556.1.4.1338"
+#define LDAP_SERVER_VERIFY_NAME_OID_W L"1.2.840.113556.1.4.1338"
+#define LDAP_SERVER_SHOW_DELETED_OID "1.2.840.113556.1.4.417"
+#define LDAP_SERVER_SHOW_DELETED_OID_W L"1.2.840.113556.1.4.417"
+#define LDAP_SERVER_NOTIFICATION_OID "1.2.840.113556.1.4.528"
+#define LDAP_SERVER_NOTIFICATION_OID_W L"1.2.840.113556.1.4.528"
+#define LDAP_SERVER_DOMAIN_SCOPE_OID "1.2.840.113556.1.4.1339"
+#define LDAP_SERVER_DOMAIN_SCOPE_OID_W L"1.2.840.113556.1.4.1339"
+#define LDAP_CAP_ACTIVE_DIRECTORY_OID "1.2.840.113556.1.4.800"
+#define LDAP_CAP_ACTIVE_DIRECTORY_OID_W L"1.2.840.113556.1.4.800"
+#define LDAP_SERVER_SEARCH_OPTIONS_OID "1.2.840.113556.1.4.1340"
+#define LDAP_SERVER_SEARCH_OPTIONS_OID_W L"1.2.840.113556.1.4.1340"
+#define LDAP_CAP_ACTIVE_DIRECTORY_V51_OID "1.2.840.113556.1.4.1670"
+#define LDAP_CAP_ACTIVE_DIRECTORY_V51_OID_W L"1.2.840.113556.1.4.1670"
+#define LDAP_SERVER_PERMISSIVE_MODIFY_OID "1.2.840.113556.1.4.1413"
+#define LDAP_SERVER_PERMISSIVE_MODIFY_OID_W L"1.2.840.113556.1.4.1413"
+#define LDAP_SERVER_CROSSDOM_MOVE_TARGET_OID "1.2.840.113556.1.4.521"
+#define LDAP_SERVER_CROSSDOM_MOVE_TARGET_OID_W L"1.2.840.113556.1.4.521"
+#define SERVER_SEARCH_FLAG_DOMAIN_SCOPE 1
+#define SERVER_SEARCH_FLAG_PHANTOM_ROOT 2
+
+#endif /* _NTLDAP_H */