[Samba] Samba 2.2.4: Problem with output of smbpasswd

Herb Lewis herb at sgi.com
Thu May 16 11:10:02 GMT 2002


Edit the file source/lib/debug.c and change the debug level of the
message to higher than level 0. For example to only print at level
1 and above apply this patch

diff -u -r1.27.2.18 debug.c
--- lib/debug.c 2002/02/19 19:56:04     1.27.2.18
+++ lib/debug.c 2002/05/16 18:06:58
@@ -232,7 +232,7 @@
                /* save current debug level */
                memcpy(old_debuglevel_class, DEBUGLEVEL_CLASS,
sizeof(DEBUGLEVEL_CLASS));
                if (debug_parse_params(params, debuglevel_class))
-                       debug_message(0, getpid(),
(void*)debuglevel_class, sizeof(debuglevel_class));
+                       debug_message(1, getpid(),
(void*)debuglevel_class, sizeof(debuglevel_class));
                memcpy(parsed_debuglevel_class, DEBUGLEVEL_CLASS,
sizeof(DEBUGLEVEL_CLASS)); 
                memcpy(DEBUGLEVEL_CLASS, old_debuglevel_class,
sizeof(old_debuglevel_class));
                return True;


Harry Rüter wrote:
> 
> Hi people,
> 
> since i'm using samba 2.2.4 i have a problem
> when starting smbpasswd.
> 
> When i start the program i have always the following output
> (which i don't like too much :o) ) :
> 
> ------------------------
> 
> # 486dx66:/ smbpasswd
> INFO: Debug class all level = 1   (pid 8318 from pid 8318)
> <= That's what i don't like
> New SMB password:
> Retype new SMB password:
> Mismatch - password unchanged.
> Unable to get new password.
> 486dx66:/ #
> ------------------------
> 
> It's just an example the PWs were written wrong on purpose.
> 
> What can i do not to have this annoying output ?
> 
> Thanks Harry
> 
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
======================================================================
Herb Lewis                               Silicon Graphics 
Networking Engineer                      1600 Amphitheatre Pkwy MS-510
Strategic Software Organization          Mountain View, CA  94043-1351
herb at sgi.com                             Tel: 650-933-2177
http://www.sgi.com                       Fax: 650-932-2177          
======================================================================




More information about the samba mailing list