[17] in Moira Commits

home help back first fref pref prev next nref lref last post

moira commit: 'moira/server qaccess.dc qsupport.dc queries2.c'

daemon@ATHENA.MIT.EDU (danw@MIT.EDU)
Fri Sep 13 18:40:30 1996

From: danw@MIT.EDU
Date: Fri, 13 Sep 1996 18:40:11 -0400 (EDT)
To: moira-commits@MIT.EDU

Update of /afs/athena.mit.edu/astaff/project/moiradev/repository/moira/server
In directory technomage:/afs/athena.mit.edu/astaff/project/moiradev/work/server

Revision/Branch: OPSSRC

Modified Files:
	qaccess.dc qsupport.dc queries2.c 
Log Message:
Kludge around Ingres brokenness in two places:

  * get_hostalias - If the machine name has no wildcards, look up
    its mach_id and then do the query indexed by that instead of
    by the machine name. This takes less than a second, vs. up to a
    minute or so the other way. (This speeds up the `show machine
    info' command in moira, which is used a lot by the RCCs this time
    of year.)

  * get_user_account_by_login - the sipb-athena moira client was
    built from an older source tree that didn't have the patch
    to never call gual with a string longer than 8 characters.
    I hacked access_login to notice this and return an error.
    (Because otherwise, it takes the server several minutes to
    return `permission denied' when a user tries to use the `create
    mailing list' command.)

Neither of these will be propagated to the Oracle server since it
doesn't have a problem with either of those queries.



home help back first fref pref prev next nref lref last post