return ldb_match_extended(ldb, msg, tree, base, scope);
case LDB_OP_NOT:
- return ! ldb_match_message(ldb, msg, tree->u.not.child, base, scope);
+ return ! ldb_match_message(ldb, msg, tree->u.isnot.child, base, scope);
case LDB_OP_AND:
for (i=0;i<tree->u.list.num_elements;i++) {
}
ret->operation = LDB_OP_NOT;
- ret->u.not.child = ldb_parse_filter(ret, &s);
- if (!ret->u.not.child) {
+ ret->u.isnot.child = ldb_parse_filter(ret, &s);
+ if (!ret->u.isnot.child) {
talloc_free(ret);
return NULL;
}
}
return s;
case LDB_OP_NOT:
- s = ldb_filter_from_tree(mem_ctx, tree->u.not.child);
+ s = ldb_filter_from_tree(mem_ctx, tree->u.isnot.child);
if (s == NULL) return NULL;
ret = talloc_asprintf(mem_ctx, "(!%s)", s);
} list;
struct {
struct ldb_parse_tree *child;
- } not;
+ } isnot;
} u;
};
case LDB_OP_NOT:
asn1_push_tag(data, ASN1_CONTEXT(2));
- if (!ldap_push_filter(data, tree->u.not.child)) {
+ if (!ldap_push_filter(data, tree->u.isnot.child)) {
return False;
}
asn1_pop_tag(data);
}
ret->operation = LDB_OP_NOT;
- ret->u.not.child = ldap_decode_filter_tree(ret, data);
- if (ret->u.not.child == NULL) {
+ ret->u.isnot.child = ldap_decode_filter_tree(ret, data);
+ if (ret->u.isnot.child == NULL) {
goto failed;
}
if (!asn1_end_tag(data)) {