mirror of
https://github.com/samba-team/samba.git
synced 2025-12-14 20:23:54 +03:00
r7527: - added a ldb_search_bytree() interface, which takes a ldb_parse_tree
instead of a search expression. This allows our ldap server to pass
its ASN.1 parsed search expressions straight to ldb, instead of going
via strings.
- updated all the ldb modules code to handle the new interface
- got rid of the separate ldb_parse.h now that the ldb_parse
structures are exposed externally
- moved to C99 structure initialisation in ldb
- switched ldap server to using ldb_search_bytree()
(This used to be commit 96620ab2ee)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
d71e1a7a7f
commit
4b0e5bd753
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user