1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-06 16:23:49 +03:00

r7724: added encoding of LDB_OP_NOT search components

(This used to be commit 82b1feeafe)
This commit is contained in:
Andrew Tridgell
2005-06-18 12:48:42 +00:00
committed by Gerald (Jerry) Carter
parent 2a0a0f2551
commit be19641f30

View File

@@ -96,7 +96,12 @@ static BOOL ldap_push_filter(struct asn1_data *data, struct ldb_parse_tree *tree
break;
case LDB_OP_NOT:
#warning "OP_NOT missing"
asn1_push_tag(data, ASN1_CONTEXT(2));
if (!ldap_push_filter(data, tree->u.not.child)) {
return False;
}
asn1_pop_tag(data);
break;
default:
return False;