* 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.
danw [Wed, 21 Aug 1996 03:30:13 +0000 (03:30 +0000)]
applied the patch from [887] in moira, to fix addresses that appeared
without an `@mit.edu'. (The version of pobox.gen on moira2 already has
this patch.)
danw [Mon, 12 Aug 1996 20:59:35 +0000 (20:59 +0000)]
Make sq routines check the result of malloc. (Mostly for dbck.)
sq_save_data, etc now return 1 on success and 0 on failure. (This is a
backwards-compatible change: they were implicitly returning int values
already, but those values weren't being checked anywhere).
In the past year, added: /mit/info/public-mailing-lists maintained
nightly, made backup paths more consistent, compares backup file sizes
with numbers in a conf file to make sure backup really succeeded.
dkk [Wed, 6 Mar 1996 04:19:32 +0000 (04:19 +0000)]
This includes Ted's unchecked-in changes from two years ago, as well
as recent changes to support: default shell /bin/csh=>/bin/athena/tcsh,
default status 4=>0, and a few little changes.
jweiss [Tue, 17 Oct 1995 22:58:27 +0000 (22:58 +0000)]
WIFEXITED(waitb) is true if the script exits even with exit 0.
changed so we only return an error if something other than an exit 0
occurs. Note that the error returned in the case of death doe to a signal
will be a bogus error.
probe [Wed, 2 Nov 1994 13:44:24 +0000 (13:44 +0000)]
1. Remove the backup volume before the volume name changes (if n.<volume>)
2. Do all parent volume releases at successful end, and check for dups.
3. Added code to back out all transactions, if there is a failure.
probe [Wed, 2 Nov 1994 11:28:10 +0000 (11:28 +0000)]
Added an extra argument to the afs_quota_adj()... disk usage.
This allows the calling routine to update the current disk usage on the
given partition, if it has it available (or passes 0 if it doesn't).
probe [Mon, 31 Oct 1994 13:31:15 +0000 (13:31 +0000)]
Changes by tytso/probe (not checked in previously):
- Removed extraneous, unreachable code.
- Fixed logic where it was trying to edit memberships of lists that were
inactive or not groups. (Should have used OR not AND in the logic.)
jweiss [Fri, 28 Oct 1994 17:34:02 +0000 (17:34 +0000)]
blanche should exit if it is sync-ing a list to a file and
it gets an error trying to get the list membership.
The exit status of 1 seems to be for the usage message 2 for
all other problems, and 3 for a programmer botch.
jweiss [Fri, 28 Oct 1994 16:58:33 +0000 (16:58 +0000)]
Changed so AIX uses -nomenu option by default, since the curses version
is breaking so badly.
Added -menu option (opposite of -nomenu) so people can force moira to use
curses.
this should be using the GDSSLIB and GDSSINCL defined in config.Imakefile
also GDSSINCL needs to be before /usr/athena/include, because there is a
a broken gdss.h in the later in 7.7I for the sun
jweiss [Thu, 4 Aug 1994 18:25:03 +0000 (18:25 +0000)]
fixed a couple of typos in error messages
if you try to change the pobox fo a non-existant user it reported
the error, and asked if you wated to set a pobox, even tho it would
never let you, now it returs after the first error.
jweiss [Thu, 9 Jun 1994 14:55:46 +0000 (14:55 +0000)]
When a user tried to remove themself from a list they weren't on, and
didn't maintain, they got a permission error, because the code fell
thru to the list case, which the user was not allowed to remove.
this was confusing.