1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

!pass -> pass != NULL is wrong: !pass -> pass == NULL is correct. oops.

(This used to be commit 866e101818)
This commit is contained in:
Luke Leighton 1998-10-16 21:41:42 +00:00
parent 97f0c9d550
commit b6993a89af

View File

@ -471,7 +471,7 @@ BOOL pass_check_smb(char *user, char *domain,
pass = Get_Pwnam(user,True);
}
if (pass != NULL)
if (pass == NULL)
{
DEBUG(3,("Couldn't find user %s\n",user));
return(False);
@ -479,7 +479,7 @@ BOOL pass_check_smb(char *user, char *domain,
smb_pass = getsmbpwnam(user);
if (smb_pass != NULL)
if (smb_pass == NULL)
{
DEBUG(3,("Couldn't find user %s in smb_passwd file.\n", user));
return(False);