1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-06 13:18:07 +03:00

r7724: added encoding of LDB_OP_NOT search components

This commit is contained in:
Andrew Tridgell 2005-06-18 12:48:42 +00:00 committed by Gerald (Jerry) Carter
parent 25d500b6e5
commit 82b1feeafe

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;