summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/docbook/manpages/lmhosts.5.sgml2
-rw-r--r--source3/auth/auth.c3
-rw-r--r--source3/smbd/auth.c3
3 files changed, 5 insertions, 3 deletions
diff --git a/docs/docbook/manpages/lmhosts.5.sgml b/docs/docbook/manpages/lmhosts.5.sgml
index 32ed13f043..7934c18e8e 100644
--- a/docs/docbook/manpages/lmhosts.5.sgml
+++ b/docs/docbook/manpages/lmhosts.5.sgml
@@ -20,7 +20,7 @@
<refsect1>
<title>DESCRIPTION</title>
- <para>This file is part of the <<ulink url="samba.7.html">
+ <para>This file is part of the <ulink url="samba.7.html">
Samba</ulink> suite.</para>
<para><filename>lmhosts</filename> is the <emphasis>Samba
diff --git a/source3/auth/auth.c b/source3/auth/auth.c
index 4bfbfe65fe..b679312cc4 100644
--- a/source3/auth/auth.c
+++ b/source3/auth/auth.c
@@ -140,7 +140,8 @@ uint32 check_password(const auth_usersupplied_info *user_info, auth_serversuppli
if (nt_status == NT_STATUS_NOPROBLEMO) {
DEBUG(5, ("check_password: Password for user %s suceeded\n", user_info->smb_username.str));
} else {
- DEBUG(3, ("check_password: Password for user %s FAILED with error %d\n", user_info->smb_username.str, nt_status));
+ DEBUG(3, ("check_password: Password for user %s FAILED with error %s\n", user_info->smb_username.str, get_nt_error_msg(nt_status)));
+
}
return nt_status;
diff --git a/source3/smbd/auth.c b/source3/smbd/auth.c
index 4bfbfe65fe..b679312cc4 100644
--- a/source3/smbd/auth.c
+++ b/source3/smbd/auth.c
@@ -140,7 +140,8 @@ uint32 check_password(const auth_usersupplied_info *user_info, auth_serversuppli
if (nt_status == NT_STATUS_NOPROBLEMO) {
DEBUG(5, ("check_password: Password for user %s suceeded\n", user_info->smb_username.str));
} else {
- DEBUG(3, ("check_password: Password for user %s FAILED with error %d\n", user_info->smb_username.str, nt_status));
+ DEBUG(3, ("check_password: Password for user %s FAILED with error %s\n", user_info->smb_username.str, get_nt_error_msg(nt_status)));
+
}
return nt_status;