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

metze at samba.org metze at samba.org
Tue Jan 23 12:06:52 GMT 2007


Author: metze
Date: 2007-01-23 12:06:52 +0000 (Tue, 23 Jan 2007)
New Revision: 20971

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

Log:
we don't need this check twice:-)

metze
Modified:
   branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/repl_meta_data.c


Changeset:
Modified: branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/repl_meta_data.c
===================================================================
--- branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/repl_meta_data.c	2007-01-23 10:51:35 UTC (rev 20970)
+++ branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/repl_meta_data.c	2007-01-23 12:06:52 UTC (rev 20971)
@@ -267,13 +267,6 @@
 	schema = dsdb_get_schema(module->ldb);
 	if (!schema) {
 		ldb_debug_set(module->ldb, LDB_DEBUG_FATAL,
-			      "replmd_modify: no dsdb_schema loaded");
-		return LDB_ERR_CONSTRAINT_VIOLATION;
-	}
-
-	schema = dsdb_get_schema(module->ldb);
-	if (!schema) {
-		ldb_debug_set(module->ldb, LDB_DEBUG_FATAL,
 			      "%s: no dsdb_schema loaded",
 			      fn_name);
 		return LDB_ERR_CONSTRAINT_VIOLATION;



More information about the samba-cvs mailing list