Received: from RELAY.CS.NET by KL.SRI.COM with TCP; Thu 13 Aug 87 08:37:24-PDT Received: from eureka.clemson.edu by RELAY.CS.NET id aa08819; 13 Aug 87 11:22 EDT Date: Thu, 13 Aug 87 11:16 EST From: Todd Warnock Subject: Update to PASS.FOR To: info-vax%kl.sri.COM@RELAY.CS.NET X-VMS-To: IN%"info-vax@kl.sri.com",WARNOCK For those of you who received my PASS program(s), Shawn Allin of Alcan International Ltd. pointed out a bug that I hadn't encountered in my testing. It involves users who have flags set (ie: GENPWD...). I quote Shawn below: > I think I found a bug, though. If any flags are set associated with the > username (I tried CAPTIVE, GENPWD), the program does not pick up the > expired password and you fall through. As soon as I removed the flags, > it worked again. The guilty line is at or around line #120 in PASS.FOR: The BAD line is: if (flags .eq. %loc(uai$m_pwd_expired)) then REPLACE it with: if (btest(flags,%loc(uai$v_pwd_expired))) then Please pass along other problems or suggestions with PASS if you encounter them...Thanks again Shawn ! Todd Warnock VAX Systems Clemson University Clemson, South Carolina 29634-2803 ARPA: Warnock@Prism.Clemson.EDU BITnet: Warnock@Clemson CSnet: Warnock@Clemson.CSnet