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
(parent:
722c86a
)
got rid of lp_revalidate()
author
Andrew Tridgell
<tridge@samba.org>
Wed, 24 May 2000 06:36:10 +0000
(06:36 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Wed, 24 May 2000 06:36:10 +0000
(06:36 +0000)
(This used to be commit
8dea95e62c7f4723cd4b71c1b03c613386392c49
)
source3/smbd/password.c
patch
|
blob
|
history
diff --git
a/source3/smbd/password.c
b/source3/smbd/password.c
index 95f03ab2041569fd5f2179509674f221421a0fb2..614e5a84fc655ef5c955d35660a902f31268c826 100644
(file)
--- a/
source3/smbd/password.c
+++ b/
source3/smbd/password.c
@@
-760,7
+760,7
@@
BOOL authorise_login(int snum,char *user,char *password, int pwlen,
}
/* check for a previously validated username/password pair */
- if (!ok && (
!lp_revalidate(snum) ||
lp_security() > SEC_SHARE) &&
+ if (!ok && (lp_security() > SEC_SHARE) &&
(vuser != 0) && !vuser->guest &&
user_ok(vuser->user.unix_name,snum)) {
fstrcpy(user,vuser->user.unix_name);