git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
95e8a91
)
!pass -> pass != NULL is wrong: !pass -> pass == NULL is correct. oops.
author
Luke Leighton
<lkcl@samba.org>
Fri, 16 Oct 1998 21:41:42 +0000
(21:41 +0000)
committer
Luke Leighton
<lkcl@samba.org>
Fri, 16 Oct 1998 21:41:42 +0000
(21:41 +0000)
source/smbd/password.c
patch
|
blob
|
history
diff --git
a/source/smbd/password.c
b/source/smbd/password.c
index 4df359f46c3a848002fabb891d0519b478c3e3ea..1c9eb197591df054849b4bdbea42d1d4687f5048 100644
(file)
--- a/
source/smbd/password.c
+++ b/
source/smbd/password.c
@@
-471,7
+471,7
@@
BOOL pass_check_smb(char *user, char *domain,
pass = Get_Pwnam(user,True);
}
pass = Get_Pwnam(user,True);
}
- if (pass
!
= NULL)
+ if (pass
=
= NULL)
{
DEBUG(3,("Couldn't find user %s\n",user));
return(False);
{
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);
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);
{
DEBUG(3,("Couldn't find user %s in smb_passwd file.\n", user));
return(False);