svn commit: samba r23592 - in branches: SAMBA_3_0/source/param SAMBA_3_0_26/source/param

obnox at samba.org obnox at samba.org
Fri Jun 22 22:30:03 GMT 2007


Author: obnox
Date: 2007-06-22 22:30:01 +0000 (Fri, 22 Jun 2007)
New Revision: 23592

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

Log:
Change a debuglevel to not clutter output when calling 
net as a non-root user, e.g.

Michael


Modified:
   branches/SAMBA_3_0/source/param/loadparm.c
   branches/SAMBA_3_0_26/source/param/loadparm.c


Changeset:
Modified: branches/SAMBA_3_0/source/param/loadparm.c
===================================================================
--- branches/SAMBA_3_0/source/param/loadparm.c	2007-06-22 19:33:46 UTC (rev 23591)
+++ branches/SAMBA_3_0/source/param/loadparm.c	2007-06-22 22:30:01 UTC (rev 23592)
@@ -3069,7 +3069,7 @@
 	reg_tdb = tdb_wrap_open(NULL, lock_path("registry.tdb"), 0, 
 				REG_TDB_FLAGS, O_RDWR, 0600);
 	if (!reg_tdb) {
-		DEBUG(0, ("lp_regdb_open: failed to open %s: %s\n",
+		DEBUG(1, ("lp_regdb_open: failed to open %s: %s\n",
 			 lock_path("registry.tdb"), strerror(errno)));
 		goto done;
 	}

Modified: branches/SAMBA_3_0_26/source/param/loadparm.c
===================================================================
--- branches/SAMBA_3_0_26/source/param/loadparm.c	2007-06-22 19:33:46 UTC (rev 23591)
+++ branches/SAMBA_3_0_26/source/param/loadparm.c	2007-06-22 22:30:01 UTC (rev 23592)
@@ -3070,7 +3070,7 @@
 	reg_tdb = tdb_wrap_open(NULL, lock_path("registry.tdb"), 0, 
 				REG_TDB_FLAGS, O_RDWR, 0600);
 	if (!reg_tdb) {
-		DEBUG(0, ("lp_regdb_open: failed to open %s: %s\n",
+		DEBUG(1, ("lp_regdb_open: failed to open %s: %s\n",
 			 lock_path("registry.tdb"), strerror(errno)));
 		goto done;
 	}



More information about the samba-cvs mailing list