svn commit: samba r26304 - in branches/SAMBA_4_0/source/scripting/libjs: .

abartlet at samba.org abartlet at samba.org
Wed Dec 5 03:03:33 GMT 2007


Author: abartlet
Date: 2007-12-05 03:03:33 +0000 (Wed, 05 Dec 2007)
New Revision: 26304

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

Log:
More work to remove silly error printouts.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/scripting/libjs/provision.js


Changeset:
Modified: branches/SAMBA_4_0/source/scripting/libjs/provision.js
===================================================================
--- branches/SAMBA_4_0/source/scripting/libjs/provision.js	2007-12-05 03:00:48 UTC (rev 26303)
+++ branches/SAMBA_4_0/source/scripting/libjs/provision.js	2007-12-05 03:03:33 UTC (rev 26304)
@@ -226,9 +226,10 @@
 			if (res2.error != 0) {
 				if (res2.error == 32) {
 					break;
+				} else {
+					info.message("ldb search(2) failed: " + res2.errstr + "\n");
+					continue;
 				}
-				info.message("ldb search failed: " + res2.errstr + "\n");
-				continue;
 			}
 			previous_remaining = current_remaining;
 			current_remaining = res2.msgs.length;
@@ -238,7 +239,7 @@
 			
 			var res3 = ldb.search(anything, basedn, ldb.SCOPE_SUBTREE, attrs);
 			if (res3.error != 0) {
-				info.message("ldb search failed: " + res3.errstr + "\n");
+				info.message("ldb search(3) failed: " + res3.errstr + "\n");
 				continue;
 			}
 			if (res3.msgs.length != 0) {



More information about the samba-cvs mailing list