got rid of lp_revalidate()
authorAndrew Tridgell <tridge@samba.org>
Wed, 24 May 2000 06:36:10 +0000 (06:36 +0000)
committerAndrew 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

index 95f03ab2041569fd5f2179509674f221421a0fb2..614e5a84fc655ef5c955d35660a902f31268c826 100644 (file)
@@ -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);