summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2001-08-06 09:35:08 +0000
committerAndrew Bartlett <abartlet@samba.org>2001-08-06 09:35:08 +0000
commitac989cbe0777beb4def038ab0b552a64a0f1ba0c (patch)
tree8c80c1d038104e5eaa25554a89eb2e0a1fcce0c9 /source3/auth
parentc2316f4c2d1ef69436f8e65783a480938d0478bc (diff)
downloadsamba-ac989cbe0777beb4def038ab0b552a64a0f1ba0c.tar.gz
samba-ac989cbe0777beb4def038ab0b552a64a0f1ba0c.tar.bz2
samba-ac989cbe0777beb4def038ab0b552a64a0f1ba0c.zip
Record the NT_STATUS constant rather than its number in the logfiles
Fix typo in lmhosts manpage (This used to be commit 9fff946cf113b4858b730f5ba644d5648ba95027)
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/auth.c3
1 files changed, 2 insertions, 1 deletions
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;