svn commit: samba r7724 - in branches/SAMBA_4_0/source/libcli/ldap: .

tridge at samba.org tridge at samba.org
Sat Jun 18 12:48:42 GMT 2005


Author: tridge
Date: 2005-06-18 12:48:42 +0000 (Sat, 18 Jun 2005)
New Revision: 7724

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7724

Log:
added encoding of LDB_OP_NOT search components


Modified:
   branches/SAMBA_4_0/source/libcli/ldap/ldap.c


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/ldap/ldap.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/ldap/ldap.c	2005-06-18 12:45:28 UTC (rev 7723)
+++ branches/SAMBA_4_0/source/libcli/ldap/ldap.c	2005-06-18 12:48:42 UTC (rev 7724)
@@ -96,7 +96,12 @@
 		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;



More information about the samba-cvs mailing list