[1556] in Moira
RE: www.gen change
daemon@ATHENA.MIT.EDU (Tom Coppeto)
Wed May 31 18:51:11 2000
From: "Tom Coppeto" <tom@MIT.EDU>
To: "Garry Zacheiss" <zacheiss@mit.edu>, <moiradev@mit.edu>
Date: Wed, 31 May 2000 19:04:47 -0400
Message-ID: <NDBBKHCHPJDKBDPHJLDACEKJCPAA.tom@mit.edu>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
In-reply-to: <200005312217.SAA23837@sweet-transvestite.mit.edu>
I thought it was only putting in active users.. if 6 people need access
that's fine.
-----Original Message-----
From: Garry Zacheiss [mailto:zacheiss@MIT.EDU]
Sent: Wednesday, May 31, 2000 6:18 PM
To: moiradev@MIT.EDU
Subject: www.gen change
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)