diff options
author | Andrew Bartlett <abartlet@samba.org> | 2006-01-14 07:46:04 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:51:08 -0500 |
commit | 2bb3a50c7ea48730a3305d86f2e1e92ce206bdd3 (patch) | |
tree | 735880cdd038a332c526c47594c7176b89bbf1cc /source4/scripting | |
parent | 243e07cfa2c9fc52867ebfa2b7d0f78247e0fecd (diff) | |
download | samba-2bb3a50c7ea48730a3305d86f2e1e92ce206bdd3.tar.gz samba-2bb3a50c7ea48730a3305d86f2e1e92ce206bdd3.tar.xz samba-2bb3a50c7ea48730a3305d86f2e1e92ce206bdd3.zip |
r12931: Remove some prefixes. We have:
Login failed: Login Failed: Logon failure - please try again
In SWAT currently...
Andrew Bartlett
(This used to be commit 51eded818093320e7d6b9e95ad11fa21a81c3f93)
Diffstat (limited to 'source4/scripting')
-rw-r--r-- | source4/scripting/ejs/smbcalls_auth.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/scripting/ejs/smbcalls_auth.c b/source4/scripting/ejs/smbcalls_auth.c index 4c943e6fb3..9b71314d3f 100644 --- a/source4/scripting/ejs/smbcalls_auth.c +++ b/source4/scripting/ejs/smbcalls_auth.c @@ -82,8 +82,7 @@ static int ejs_doauth(MprVarHandle eid, 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; } |