]> git.sur5r.net Git - openldap/commitdiff
Add defines for LDAP_CONTROL_X_TREE_DELETE and LDAP_CONTROL_X_SEARCH_OPTIONS
authorLuke Howard <lukeh@openldap.org>
Tue, 9 Mar 2004 14:03:24 +0000 (14:03 +0000)
committerLuke Howard <lukeh@openldap.org>
Tue, 9 Mar 2004 14:03:24 +0000 (14:03 +0000)
include/ldap.h

index 9080c08077e9f6139a9be57e8e13f8215de3301d..bbbd3864a48deeb24c19d673629dd51aa79fbeaa 100644 (file)
@@ -239,9 +239,13 @@ typedef struct ldapcontrol {
 #endif
 
 /* controls for MSAD compatibility */
-#define LDAP_CONTROL_X_DOMAIN_SCOPE                    "1.2.840.113556.1.4.1339"
+#define LDAP_CONTROL_X_DOMAIN_SCOPE            "1.2.840.113556.1.4.1339"
 #define LDAP_CONTROL_X_PERMISSIVE_MODIFY       "1.2.840.113556.1.4.1413"
 #define LDAP_CONTROL_X_INCREMENTAL_VALUES      "1.2.840.113556.1.4.802"
+#define LDAP_CONTROL_X_TREE_DELETE             "1.2.840.113556.1.4.805"
+#define LDAP_CONTROL_X_SEARCH_OPTIONS          "1.2.840.113556.1.4.1340"
+#define LDAP_SERVER_SEARCH_FLAG_DOMAIN_SCOPE   1
+#define LDAP_SERVER_SEARCH_FLAG_PHANTOM_ROOT   2
 
 /* not implemented in slapd(8) */
 #define LDAP_CONTROL_SORTREQUEST    "1.2.840.113556.1.4.473" /* RFC 2891 */