svn commit: samba r8664 - in branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules: .

abartlet at samba.org abartlet at samba.org
Thu Jul 21 07:15:56 GMT 2005


Author: abartlet
Date: 2005-07-21 07:15:55 +0000 (Thu, 21 Jul 2005)
New Revision: 8664

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

Log:
I got caught out not testing... 

I replaced these function calls, and they went from BOOL to int return
values, so naturally failed.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/samldb.c


Changeset:
Modified: branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/samldb.c
===================================================================
--- branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/samldb.c	2005-07-21 05:24:02 UTC (rev 8663)
+++ branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/samldb.c	2005-07-21 07:15:55 UTC (rev 8664)
@@ -507,7 +507,7 @@
 			return NULL;
 		}
 	} else { /* FIXME: remove this if ldb supports natively aliasing between the rdn and the "cn" attribute */
-		if ( !ldb_msg_add_value(module->ldb, msg2, "cn", &rdn->value)) {
+		if ( ldb_msg_add_value(module->ldb, msg2, "cn", &rdn->value)) {
 			return NULL;
 		}
 	}
@@ -518,7 +518,7 @@
 			return NULL;
 		}
 	} else { /* FIXME: remove this if ldb supports natively aliasing between the rdn and the "name" attribute */
-		if ( !ldb_msg_add_value(module->ldb, msg2, "name", &rdn->value)) {
+		if ( ldb_msg_add_value(module->ldb, msg2, "name", &rdn->value)) {
 			return NULL;
 		}
 	}



More information about the samba-cvs mailing list