summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-12-23 00:01:13 +0000
committerJeremy Allison <jra@samba.org>1998-12-23 00:01:13 +0000
commitc1a794c37b5d25d88ed8b9488f1894331f8af61d (patch)
tree5f77893a98e85982ab2df2dcd47176899deab72b
parente0eef9add5e51488ef072bb2212e3848a2b1d4ed (diff)
downloadsamba-c1a794c37b5d25d88ed8b9488f1894331f8af61d.tar.gz
samba-c1a794c37b5d25d88ed8b9488f1894331f8af61d.tar.xz
samba-c1a794c37b5d25d88ed8b9488f1894331f8af61d.zip
passdb/pass_check.c: Added log of AFS auth error.
smbd/password.c: Set debug loglevel of disabled account to 1 (I was bitten by this recently). Jeremy.
-rw-r--r--source/auth/pass_check.c1
-rw-r--r--source/passdb/pass_check.c1
-rw-r--r--source/smbd/password.c2
3 files changed, 3 insertions, 1 deletions
diff --git a/source/auth/pass_check.c b/source/auth/pass_check.c
index a5a73d94f36..972db884623 100644
--- a/source/auth/pass_check.c
+++ b/source/auth/pass_check.c
@@ -162,6 +162,7 @@ static BOOL afs_auth(char *user,char *password)
&reason) == 0) {
return(True);
}
+ DEBUG(1,("AFS authentication for \"%s\" failed (%s)\n", user, reason));
return(False);
}
#endif
diff --git a/source/passdb/pass_check.c b/source/passdb/pass_check.c
index a5a73d94f36..972db884623 100644
--- a/source/passdb/pass_check.c
+++ b/source/passdb/pass_check.c
@@ -162,6 +162,7 @@ static BOOL afs_auth(char *user,char *password)
&reason) == 0) {
return(True);
}
+ DEBUG(1,("AFS authentication for \"%s\" failed (%s)\n", user, reason));
return(False);
}
#endif
diff --git a/source/smbd/password.c b/source/smbd/password.c
index 9bbd1b4b263..0181188ca24 100644
--- a/source/smbd/password.c
+++ b/source/smbd/password.c
@@ -394,7 +394,7 @@ BOOL smb_password_ok(struct smb_passwd *smb_pass, uchar chal[8],
smb_pass->smb_name));
if(smb_pass->acct_ctrl & ACB_DISABLED) {
- DEBUG(3,("account for user %s was disabled.\n",
+ DEBUG(1,("account for user %s was disabled.\n",
smb_pass->smb_name));
return(False);
}