]> git.samba.org - ira/wip.git/commitdiff
Record the NT_STATUS constant rather than its number in the logfiles
authorAndrew Bartlett <abartlet@samba.org>
Mon, 6 Aug 2001 09:35:08 +0000 (09:35 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 6 Aug 2001 09:35:08 +0000 (09:35 +0000)
Fix typo in lmhosts manpage
(This used to be commit 9fff946cf113b4858b730f5ba644d5648ba95027)

docs/docbook/manpages/lmhosts.5.sgml
source3/auth/auth.c
source3/smbd/auth.c

index 32ed13f043b50fbdae10ec85b3a306a25f8594f7..7934c18e8ec7eb55a43a401b20c7eda238158a6a 100644 (file)
@@ -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
index 4bfbfe65fee4ec0361a931c339cc9379b351a87a..b679312cc4dd2ec60153809b246ae142cf098376 100644 (file)
@@ -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;
 
index 4bfbfe65fee4ec0361a931c339cc9379b351a87a..b679312cc4dd2ec60153809b246ae142cf098376 100644 (file)
@@ -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;