svn commit: samba r26299 - in branches/SAMBA_4_0/source/lib/ldb/common: .

abartlet at samba.org abartlet at samba.org
Wed Dec 5 00:56:13 GMT 2007


Author: abartlet
Date: 2007-12-05 00:56:11 +0000 (Wed, 05 Dec 2007)
New Revision: 26299

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

Log:
Print out which module failed to initialise.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/lib/ldb/common/ldb_modules.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/common/ldb_modules.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/common/ldb_modules.c	2007-12-05 00:40:48 UTC (rev 26298)
+++ branches/SAMBA_4_0/source/lib/ldb/common/ldb_modules.c	2007-12-05 00:56:11 UTC (rev 26299)
@@ -281,7 +281,7 @@
 
 	if (module && module->ops->init_context &&
 		module->ops->init_context(module) != LDB_SUCCESS) {
-		ldb_debug(ldb, LDB_DEBUG_FATAL, "module initialization failed\n");
+		ldb_debug(ldb, LDB_DEBUG_FATAL, "module %s initialization failed\n", module->ops->name);
 		return LDB_ERR_OPERATIONS_ERROR;
 	}
 



More information about the samba-cvs mailing list