From 7f2b42abec143e06971114c9292ac9539d012456 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 24 May 2000 06:36:10 +0000 Subject: got rid of lp_revalidate() (This used to be commit 8dea95e62c7f4723cd4b71c1b03c613386392c49) --- source3/smbd/password.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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); -- cgit