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:
committed by
Gerald (Jerry) Carter
parent
2a0a0f2551
commit
be19641f30
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user