r7527: - added a ldb_search_bytree() interface, which takes a ldb_parse_tree
[obnox/samba/samba-obnox.git] / source4 / libcli / ldap / ldap.h
index 12d30a2610403594e9c8efc3125048142238be44..a44c249e7a46432969de708262d87c1f9814dd3d 100644 (file)
@@ -23,7 +23,6 @@
 #define _SMB_LDAP_H
 
 #include "lib/ldb/include/ldb.h"
-#include "lib/ldb/include/ldb_parse.h"
 
 enum ldap_request_tag {
        LDAP_TAG_BindRequest = 0,
@@ -152,7 +151,7 @@ struct ldap_SearchRequest {
        uint32_t timelimit;
        uint32_t sizelimit;
        BOOL attributesonly;
-       const char *filter;
+       struct ldb_parse_tree *tree;
        int num_attributes;
        const char **attributes;
 };