svn commit: samba r2612 - in branches/SAMBA_4_0/source/utils: .

abartlet at samba.org abartlet at samba.org
Sat Sep 25 03:39:35 GMT 2004


Author: abartlet
Date: 2004-09-25 03:39:35 +0000 (Sat, 25 Sep 2004)
New Revision: 2612

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/utils&rev=2612&nolog=1

Log:
Ensure ntlm_auth always logs to stderr.

Add missing break;

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/utils/ntlm_auth.c


Changeset:
Modified: branches/SAMBA_4_0/source/utils/ntlm_auth.c
===================================================================
--- branches/SAMBA_4_0/source/utils/ntlm_auth.c	2004-09-25 02:54:56 UTC (rev 2611)
+++ branches/SAMBA_4_0/source/utils/ntlm_auth.c	2004-09-25 03:39:35 UTC (rev 2612)
@@ -447,7 +447,7 @@
 		x_fprintf(x_stdout, "%s %s %s\n", reply_code, 
 			  out_base64 ? out_base64 : "*", 
 			  reply_arg ? reply_arg : "*");
-
+		break;
 	default:
 		if (out_base64) {
 			x_fprintf(x_stdout, "%s %s\n", reply_code, out_base64);
@@ -757,7 +757,7 @@
 
 	/* Samba client initialisation */
 
-	setup_logging("ntlm_auth", DEBUG_STDOUT);
+	setup_logging("ntlm_auth", DEBUG_STDERR);
 
 	if (!lp_load(dyn_CONFIGFILE, True, False, False)) {
 		d_fprintf(stderr, "wbinfo: error opening config file %s. Error was %s\n",



More information about the samba-cvs mailing list