summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-05-24 06:36:10 +0000
committerAndrew Tridgell <tridge@samba.org>2000-05-24 06:36:10 +0000
commit7f2b42abec143e06971114c9292ac9539d012456 (patch)
tree8bf691829c9728dd0ed97b494cd2146752923004 /source3
parent722c86a38f72fb8b114a1d89aed23f262d00b6c6 (diff)
downloadsamba-7f2b42abec143e06971114c9292ac9539d012456.tar.gz
samba-7f2b42abec143e06971114c9292ac9539d012456.tar.bz2
samba-7f2b42abec143e06971114c9292ac9539d012456.zip
got rid of lp_revalidate()
(This used to be commit 8dea95e62c7f4723cd4b71c1b03c613386392c49)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/password.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index 95f03ab204..614e5a84fc 100644
--- 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);