svn commit: samba r12931 - in branches/SAMBA_4_0/source/scripting/ejs: .

abartlet at samba.org abartlet at samba.org
Sat Jan 14 07:46:05 GMT 2006


Author: abartlet
Date: 2006-01-14 07:46:04 +0000 (Sat, 14 Jan 2006)
New Revision: 12931

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

Log:
Remove some prefixes.  We have:

Login failed: Login Failed: Logon failure - please try again

In SWAT currently...

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/scripting/ejs/smbcalls_auth.c


Changeset:
Modified: branches/SAMBA_4_0/source/scripting/ejs/smbcalls_auth.c
===================================================================
--- branches/SAMBA_4_0/source/scripting/ejs/smbcalls_auth.c	2006-01-14 07:27:01 UTC (rev 12930)
+++ branches/SAMBA_4_0/source/scripting/ejs/smbcalls_auth.c	2006-01-14 07:46:04 UTC (rev 12931)
@@ -82,8 +82,7 @@
 
 	if (!NT_STATUS_IS_OK(nt_status)) {
 		mprSetPropertyValue(auth, "report", 
-				    mprString(talloc_asprintf(mprMemCtx(), "Login Failed: %s", 
-							      get_friendly_nt_error_msg(nt_status))));
+				    mprString(talloc_strdup(mprMemCtx(), get_friendly_nt_error_msg(nt_status))));
 		mprSetPropertyValue(auth, "result", mprCreateBoolVar(False));
 		goto done;
 	}



More information about the samba-cvs mailing list