git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a0a0f2
)
r7724: added encoding of LDB_OP_NOT search components
author
Andrew Tridgell
<tridge@samba.org>
Sat, 18 Jun 2005 12:48:42 +0000
(12:48 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:18:26 +0000
(13:18 -0500)
(This used to be commit
82b1feeafea57ca1b8d7bf79f777eebcc703769c
)
source4/libcli/ldap/ldap.c
patch
|
blob
|
history
diff --git
a/source4/libcli/ldap/ldap.c
b/source4/libcli/ldap/ldap.c
index 81e659d3e86c07c014a3637b6c04d0b9f7c0fc2f..2514e10117c660c5b97f4c0ef93d988df775919a 100644
(file)
--- a/
source4/libcli/ldap/ldap.c
+++ b/
source4/libcli/ldap/ldap.c
@@
-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;