mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
need to move #define here; on by default
This commit is contained in:
parent
7b3f889ec1
commit
f07cabad0f
@ -483,13 +483,6 @@ LDAP_SLAPD_F (int) get_vrFilter LDAP_P(( Connection *conn, BerElement *ber,
|
|||||||
LDAP_SLAPD_F (void) vrFilter_free LDAP_P(( ValuesReturnFilter *f ));
|
LDAP_SLAPD_F (void) vrFilter_free LDAP_P(( ValuesReturnFilter *f ));
|
||||||
LDAP_SLAPD_F (void) vrFilter2bv LDAP_P(( ValuesReturnFilter *f, struct berval *fstr ));
|
LDAP_SLAPD_F (void) vrFilter2bv LDAP_P(( ValuesReturnFilter *f, struct berval *fstr ));
|
||||||
|
|
||||||
/*
|
|
||||||
* define to honor hasSubordinates operational attribute in search filters
|
|
||||||
* (in previous use there was a flaw with back-bdb and back-ldbm; now it
|
|
||||||
* is fixed).
|
|
||||||
*/
|
|
||||||
#undef SLAP_X_FILTER_HASSUBORDINATES
|
|
||||||
|
|
||||||
#ifdef SLAP_X_FILTER_HASSUBORDINATES
|
#ifdef SLAP_X_FILTER_HASSUBORDINATES
|
||||||
LDAP_SLAPD_F (int) filter_has_subordinates LDAP_P(( Filter *filter ));
|
LDAP_SLAPD_F (int) filter_has_subordinates LDAP_P(( Filter *filter ));
|
||||||
#endif /* SLAP_X_FILTER_HASSUBORDINATES */
|
#endif /* SLAP_X_FILTER_HASSUBORDINATES */
|
||||||
|
@ -1206,6 +1206,14 @@ struct slap_backend_db {
|
|||||||
#define be_group bd_info->bi_acl_group
|
#define be_group bd_info->bi_acl_group
|
||||||
#define be_attribute bd_info->bi_acl_attribute
|
#define be_attribute bd_info->bi_acl_attribute
|
||||||
#define be_operational bd_info->bi_operational
|
#define be_operational bd_info->bi_operational
|
||||||
|
|
||||||
|
/*
|
||||||
|
* define to honor hasSubordinates operational attribute in search filters
|
||||||
|
* (in previous use there was a flaw with back-bdb and back-ldbm; now it
|
||||||
|
* is fixed).
|
||||||
|
*/
|
||||||
|
#define SLAP_X_FILTER_HASSUBORDINATES
|
||||||
|
|
||||||
#ifdef SLAP_X_FILTER_HASSUBORDINATES
|
#ifdef SLAP_X_FILTER_HASSUBORDINATES
|
||||||
#define be_has_subordinates bd_info->bi_has_subordinates
|
#define be_has_subordinates bd_info->bi_has_subordinates
|
||||||
#endif /* SLAP_X_FILTER_HASSUBORDINATES */
|
#endif /* SLAP_X_FILTER_HASSUBORDINATES */
|
||||||
|
Loading…
Reference in New Issue
Block a user