summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-13 14:14:09 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-13 14:14:09 +0000
commit99208208fa37483f2a97c004355628423e0c40eb (patch)
treee4ea14127db32b221883258e2386115aa8da6af3 /source3/smbd
parent7761e071971f738090d8c312d4fdf2035eed5234 (diff)
downloadsamba-99208208fa37483f2a97c004355628423e0c40eb.tar.gz
samba-99208208fa37483f2a97c004355628423e0c40eb.tar.bz2
samba-99208208fa37483f2a97c004355628423e0c40eb.zip
use level 0 for DEBUG() of malformed password entry in smbpasswd
(This used to be commit bff457b4a469c03977683c4521464c41f74db1ae)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/password.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index 49ad4a514f..b505da18fa 100644
--- a/source3/smbd/password.c
+++ b/source3/smbd/password.c
@@ -470,26 +470,26 @@ static BOOL pass_check_smb(char *user,char *password, struct passwd *pwd)
}
if (!pass) {
- DEBUG(3,("Couldn't find user %s\n",user));
+ DEBUG(1,("Couldn't find user %s\n",user));
return(False);
}
smb_pass = getsmbpwnam(user);
if (!smb_pass) {
- DEBUG(3,("Couldn't find user %s in smb_passwd file.\n", user));
+ DEBUG(0,("Couldn't find user %s in smb_passwd file.\n", user));
return(False);
}
/* Quit if the account was disabled. */
if(smb_pass->acct_ctrl & ACB_DISABLED) {
- DEBUG(3,("account for user %s was disabled.\n", user));
+ DEBUG(0,("account for user %s was disabled.\n", user));
return(False);
}
/* Ensure the uid's match */
if (smb_pass->smb_userid != pass->pw_uid) {
- DEBUG(3,("Error : UNIX and SMB uids in password files do not match !\n"));
+ DEBUG(0,("Error : UNIX and SMB uids in password files do not match !\n"));
return(False);
}