[1555] in Moira
www.gen change
daemon@ATHENA.MIT.EDU (Garry Zacheiss)
Wed May 31 18:18:05 2000
Message-Id: <200005312217.SAA23837@sweet-transvestite.mit.edu>
To: moiradev@MIT.EDU
Date: Wed, 31 May 2000 18:17:57 -0400
From: Garry Zacheiss <zacheiss@MIT.EDU>
Oliver mentioned today that a status 6 user wasn't able to
download MIT only software from web. Looking at www.pc, it seems we're
putting status 2 users into the data file moira generates (despite the
fact that they can't get certs), but not status 6, which seems like a
bug. Here's a patch; someone let me know if the current behavior was
intentional.
Index: www.pc
===================================================================
RCS file: /afs/athena.mit.edu/astaff/project/moiradev/repository/moira/gen/www.pc,v
retrieving revision 1.3
diff -c -r1.3 www.pc
*** www.pc 2000/01/10 23:03:48 1.3
--- www.pc 2000/05/31 22:15:06
***************
*** 236,242 ****
EXEC SQL WHENEVER SQLERROR GOTO sqlerr;
EXEC SQL DECLARE user_cursor CURSOR FOR
! SELECT login FROM users WHERE status=1 OR status=2 ORDER by login;
EXEC SQL OPEN user_cursor;
while (1)
--- 236,242 ----
EXEC SQL WHENEVER SQLERROR GOTO sqlerr;
EXEC SQL DECLARE user_cursor CURSOR FOR
! SELECT login FROM users WHERE status=1 OR status=6 ORDER by login;
EXEC SQL OPEN user_cursor;
while (1)