]> git.sur5r.net Git - openldap/commitdiff
Document search flags
authorLuke Howard <lukeh@openldap.org>
Tue, 9 Mar 2004 14:08:54 +0000 (14:08 +0000)
committerLuke Howard <lukeh@openldap.org>
Tue, 9 Mar 2004 14:08:54 +0000 (14:08 +0000)
include/ldap.h

index bbbd3864a48deeb24c19d673629dd51aa79fbeaa..841f62cfad2ae8e8a5d1b83fc05dd302d6f84fb7 100644 (file)
@@ -244,8 +244,8 @@ typedef struct ldapcontrol {
 #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
+#define LDAP_SERVER_SEARCH_FLAG_DOMAIN_SCOPE   1 /* do not generate referrals */
+#define LDAP_SERVER_SEARCH_FLAG_PHANTOM_ROOT   2 /* search all NCs subordinate to base */
 
 /* not implemented in slapd(8) */
 #define LDAP_CONTROL_SORTREQUEST    "1.2.840.113556.1.4.473" /* RFC 2891 */