svn commit: samba r17485 - in branches/SOC/mkhl/ldb-map/modules: .

abartlet at samba.org abartlet at samba.org
Fri Aug 11 01:28:54 GMT 2006


Author: abartlet
Date: 2006-08-11 01:28:52 +0000 (Fri, 11 Aug 2006)
New Revision: 17485

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

Log:
Fix the sense of the comparison test, so we actually add
extensibleObject when we need it..

Andrew Bartlett

Modified:
   branches/SOC/mkhl/ldb-map/modules/ldb_map.c


Changeset:
Modified: branches/SOC/mkhl/ldb-map/modules/ldb_map.c
===================================================================
--- branches/SOC/mkhl/ldb-map/modules/ldb_map.c	2006-08-10 20:42:07 UTC (rev 17484)
+++ branches/SOC/mkhl/ldb-map/modules/ldb_map.c	2006-08-11 01:28:52 UTC (rev 17485)
@@ -1941,7 +1941,7 @@
 	/* Convert all local objectClasses */
 	for (i = 0; i < el->num_values - 1; i++) {
 		el->values[i] = map_objectclass_convert_local(module, el->values, &oc->values[i]);
-		if (ldb_attr_cmp((char *)el->values[i].data, "extensibleObject")) {
+		if (ldb_attr_cmp((char *)el->values[i].data, "extensibleObject") == 0) {
 			found_extensibleObject = True;
 		}
 	}



More information about the samba-cvs mailing list