From 99208208fa37483f2a97c004355628423e0c40eb Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 13 Oct 1998 14:14:09 +0000 Subject: use level 0 for DEBUG() of malformed password entry in smbpasswd (This used to be commit bff457b4a469c03977683c4521464c41f74db1ae) --- source3/smbd/password.c | 8 ++++---- 1 file 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); } -- cgit