]> andersk Git - moira.git/log
moira.git
26 years agoAdd conversions to `unsigned char'.
danw [Thu, 26 Mar 1998 20:34:03 +0000 (20:34 +0000)] 
Add conversions to `unsigned char'.
XXX still to do: kill person who invented signed characters

26 years agofix some bugs in build_qual
danw [Wed, 25 Mar 1998 17:59:51 +0000 (17:59 +0000)] 
fix some bugs in build_qual

26 years agoremove some unused code (setup_akum), uppercasify ahal/dhal
danw [Wed, 25 Mar 1998 17:59:24 +0000 (17:59 +0000)] 
remove some unused code (setup_akum), uppercasify ahal/dhal

26 years agonuke `delete_user_by_uid' since it's never been used in all of the logs
danw [Fri, 20 Mar 1998 18:33:54 +0000 (18:33 +0000)] 
nuke `delete_user_by_uid' since it's never been used in all of the logs
that we have, and it requires special hacks in qvalidate.
(also, fix a bug in rusr's valobj)

26 years agomake this compile again (I thought it was going to be harder than this,
danw [Fri, 20 Mar 1998 18:25:41 +0000 (18:25 +0000)] 
make this compile again (I thought it was going to be harder than this,
but it turns out the get_list_info function was completely unnecessary
since followup_glin does all the right stuff already.)

26 years agoMove conversion of UNIX->SQL wildcards from query validation stage to
danw [Wed, 18 Mar 1998 23:25:47 +0000 (23:25 +0000)] 
Move conversion of UNIX->SQL wildcards from query validation stage to
query building stage. Rewrite build_qual to not be susceptible to
buffer overruns in the process.

26 years agoremove the (unused) table locking code
danw [Tue, 17 Mar 1998 21:35:55 +0000 (21:35 +0000)] 
remove the (unused) table locking code

26 years agoVerify that things that are supposed to be numbers actually are
danw [Tue, 17 Mar 1998 19:29:54 +0000 (19:29 +0000)] 
Verify that things that are supposed to be numbers actually are

26 years agoMove query-result-sorting info from struct validate to struct query.
danw [Tue, 17 Mar 1998 18:44:59 +0000 (18:44 +0000)] 
Move query-result-sorting info from struct validate to struct query.

26 years agoRemove the `commonly used strings': the compiler should be clever enough
danw [Mon, 16 Mar 1998 20:21:10 +0000 (20:21 +0000)] 
Remove the `commonly used strings': the compiler should be clever enough
to deal by itself

26 years agofix RCS IDs
danw [Tue, 10 Mar 1998 21:09:32 +0000 (21:09 +0000)] 
fix RCS IDs

26 years agoread() in a loop, not all at once, in case packets get split up
danw [Tue, 3 Mar 1998 23:20:03 +0000 (23:20 +0000)] 
read() in a loop, not all at once, in case packets get split up

26 years agoremove unused clients
danw [Tue, 3 Mar 1998 00:05:41 +0000 (00:05 +0000)] 
remove unused clients

26 years agoRemove unused clients
danw [Tue, 3 Mar 1998 00:05:26 +0000 (00:05 +0000)] 
Remove unused clients

26 years agomissing from previous commit
danw [Tue, 3 Mar 1998 00:04:19 +0000 (00:04 +0000)] 
missing from previous commit

26 years agooff-by-one error in dequoting quoted hostnames
danw [Fri, 27 Feb 1998 20:53:42 +0000 (20:53 +0000)] 
off-by-one error in dequoting quoted hostnames

26 years agofix bug introduced in previous patch: `[' is no longer a glob character,
danw [Tue, 24 Feb 1998 18:28:40 +0000 (18:28 +0000)] 
fix bug introduced in previous patch: `[' is no longer a glob character,
but you still need to not `canonicalize' the name "[NONE]"

26 years agoAdd -I$(BUILDTOP)/db for moira_schema.h
danw [Mon, 23 Feb 1998 19:25:09 +0000 (19:25 +0000)] 
Add -I$(BUILDTOP)/db for moira_schema.h

26 years agoUse moira_schema.h
danw [Mon, 23 Feb 1998 19:24:28 +0000 (19:24 +0000)] 
Use moira_schema.h
Check return value of malloc (or use xmalloc to malloc-or-die).
Prevent a handful of buffer overruns

26 years agoUse moira_schema.h
danw [Mon, 23 Feb 1998 19:23:34 +0000 (19:23 +0000)] 
Use moira_schema.h

26 years agoUse moira_schema.h
danw [Mon, 23 Feb 1998 19:23:27 +0000 (19:23 +0000)] 
Use moira_schema.h
(and check a few modby fields that were being missed)

26 years agobuild moira_schema.h and moira_schema.c from the schema.sql file.
danw [Mon, 23 Feb 1998 19:23:00 +0000 (19:23 +0000)] 
build moira_schema.h and moira_schema.c from the schema.sql file.
They contain data on the lengths of fields, which can be used by the
various programs

26 years agoput db before server in SUBDIRS line
danw [Mon, 23 Feb 1998 19:21:56 +0000 (19:21 +0000)] 
put db before server in SUBDIRS line

26 years agodon't call the callback if it's NULL...
danw [Thu, 19 Feb 1998 21:22:25 +0000 (21:22 +0000)] 
don't call the callback if it's NULL...

26 years agoadd <sys/types.h> before <sys/uio.h>
danw [Sun, 15 Feb 1998 18:13:12 +0000 (18:13 +0000)] 
add <sys/types.h> before <sys/uio.h>

26 years agopunt mrgdb
danw [Sun, 15 Feb 1998 17:48:29 +0000 (17:48 +0000)] 
punt mrgdb

26 years agofix RCS Id strings
danw [Fri, 13 Feb 1998 21:32:26 +0000 (21:32 +0000)] 
fix RCS Id strings

26 years agoAvoid buffer overruns and check return value of malloc()
danw [Sun, 8 Feb 1998 20:37:50 +0000 (20:37 +0000)] 
Avoid buffer overruns and check return value of malloc()

26 years agofix bug with -nomenu and one-character input fields ([15776] in bugs)
danw [Sun, 8 Feb 1998 20:16:38 +0000 (20:16 +0000)] 
fix bug with -nomenu and one-character input fields ([15776] in bugs)

26 years agooops. put :s in RCS $Id strings so RCS notices them and DTRT
danw [Sun, 8 Feb 1998 19:31:15 +0000 (19:31 +0000)] 
oops. put :s in RCS $Id strings so RCS notices them and DTRT

26 years agoreturn MR_ARG_TOO_LONG rather than silently truncating long inputs
danw [Sun, 8 Feb 1998 18:47:34 +0000 (18:47 +0000)] 
return MR_ARG_TOO_LONG rather than silently truncating long inputs

26 years agoMove all host access checking out of qsetup into qaccess where it belongs.
danw [Sun, 8 Feb 1998 18:42:37 +0000 (18:42 +0000)] 
Move all host access checking out of qsetup into qaccess where it belongs.
Allow a user to move machines between subnets if they're on both subnet
ACLs.
Also, fix update_list bug from [1150] in moira

26 years agoCheck that machines are in the valid range for their subnet
danw [Sun, 8 Feb 1998 17:34:51 +0000 (17:34 +0000)] 
Check that machines are in the valid range for their subnet

26 years agohesiod.pc: generate cluster info by both short name and FQDN
danw [Sun, 8 Feb 1998 17:27:48 +0000 (17:27 +0000)] 
hesiod.pc: generate cluster info by both short name and FQDN
hosts.pc: don't put machines in subdomains into the hosts.out

26 years agofix signed/unsigned char lossage
danw [Sat, 7 Feb 1998 22:37:53 +0000 (22:37 +0000)] 
fix signed/unsigned char lossage

26 years agoadd return lost in previous changes
danw [Sat, 7 Feb 1998 22:06:51 +0000 (22:06 +0000)] 
add return lost in previous changes

26 years ago#include <sys/time.h> for gettimeofday
danw [Sat, 7 Feb 1998 22:04:31 +0000 (22:04 +0000)] 
#include <sys/time.h> for gettimeofday

26 years agosgi needs NEED_GETUSERSHELL
danw [Sat, 7 Feb 1998 17:50:44 +0000 (17:50 +0000)] 
sgi needs NEED_GETUSERSHELL

26 years agofix prototyping problems
danw [Sat, 7 Feb 1998 17:50:30 +0000 (17:50 +0000)] 
fix prototyping problems

26 years agos/strsave/strdup
danw [Sat, 7 Feb 1998 17:50:16 +0000 (17:50 +0000)] 
s/strsave/strdup

26 years ago#include <sys/time> for gettimeofday
danw [Sat, 7 Feb 1998 17:49:53 +0000 (17:49 +0000)] 
#include <sys/time> for gettimeofday

26 years agorename struct qelem to struct mqelem to avoid conflicts with the REAL
danw [Sat, 7 Feb 1998 17:49:24 +0000 (17:49 +0000)] 
rename struct qelem to struct mqelem to avoid conflicts with the REAL
struct qelem

26 years agoclean util/et if we make it
danw [Sat, 7 Feb 1998 17:47:44 +0000 (17:47 +0000)] 
clean util/et if we make it

26 years agosecond code style cleanup: void/void * usage, proper #includes. try to
danw [Thu, 5 Feb 1998 22:50:19 +0000 (22:50 +0000)] 
second code style cleanup: void/void * usage, proper #includes. try to
pacify gcc -Wall.
fix rcsid strings and copyrights

26 years agouse CODE=ANSI_C option to proc
danw [Thu, 5 Feb 1998 22:40:55 +0000 (22:40 +0000)] 
use CODE=ANSI_C option to proc

26 years agoMove around GDSS_INC to make sure we get the gdss.h with prototypes
danw [Thu, 5 Feb 1998 22:40:36 +0000 (22:40 +0000)] 
Move around GDSS_INC to make sure we get the gdss.h with prototypes

26 years agoWe're not using -DSYSV for anything now.
danw [Thu, 5 Feb 1998 22:40:15 +0000 (22:40 +0000)] 
We're not using -DSYSV for anything now.
#define USELOCALLIBS so we get the newer version of com_err

26 years agoadd prototypes
danw [Thu, 5 Feb 1998 22:15:39 +0000 (22:15 +0000)] 
add prototypes

26 years agofix some #ifdef SYSV cruft
danw [Thu, 5 Feb 1998 22:15:19 +0000 (22:15 +0000)] 
fix some #ifdef SYSV cruft

26 years agoImport latest com_err sources from Athena
danw [Thu, 5 Feb 1998 22:12:59 +0000 (22:12 +0000)] 
Import latest com_err sources from Athena

26 years agoupdate for new util/et
danw [Thu, 5 Feb 1998 22:12:45 +0000 (22:12 +0000)] 
update for new util/et

26 years agogive course lockers www dirs too
danw [Mon, 2 Feb 1998 23:27:01 +0000 (23:27 +0000)] 
give course lockers www dirs too

26 years agoCreate a world-readable www directory in new user homedirs
danw [Sat, 31 Jan 1998 19:52:33 +0000 (19:52 +0000)] 
Create a world-readable www directory in new user homedirs

26 years agobuild directory.gen and ndb.gen
danw [Thu, 15 Jan 1998 19:04:23 +0000 (19:04 +0000)] 
build directory.gen and ndb.gen

26 years agoupdated mailhub.sh (no lastname aliases, and other fixes) (from tom)
danw [Thu, 15 Jan 1998 19:02:51 +0000 (19:02 +0000)] 
updated mailhub.sh (no lastname aliases, and other fixes) (from tom)

26 years agoDHCP db DCM (from tom)
danw [Thu, 15 Jan 1998 19:01:38 +0000 (19:01 +0000)] 
DHCP db DCM (from tom)

26 years agoMoira -> MITdir DCM (from tom)
danw [Thu, 15 Jan 1998 19:01:23 +0000 (19:01 +0000)] 
Moira -> MITdir DCM (from tom)

26 years agodon't do lastname aliases (from tom)
danw [Thu, 15 Jan 1998 18:51:20 +0000 (18:51 +0000)] 
don't do lastname aliases (from tom)

26 years agoChange `SMS' to `Moira' where possible.
danw [Wed, 7 Jan 1998 17:12:39 +0000 (17:12 +0000)] 
Change `SMS' to `Moira' where possible.
Fix `MR', `MOIRA', and `an Moira query' created by earlier attempts
at this.

26 years agoUpdate for current file locations (/moira, not /u1/sms) and Oracle
danw [Wed, 7 Jan 1998 17:10:30 +0000 (17:10 +0000)] 
Update for current file locations (/moira, not /u1/sms) and Oracle
changes

26 years agoremove SMS reference
danw [Wed, 7 Jan 1998 17:10:07 +0000 (17:10 +0000)] 
remove SMS reference

26 years agomrtest doesn't use libss any more
danw [Wed, 7 Jan 1998 17:09:50 +0000 (17:09 +0000)] 
mrtest doesn't use libss any more

26 years agoremove RS/6000 references
danw [Wed, 7 Jan 1998 17:09:39 +0000 (17:09 +0000)] 
remove RS/6000 references
move log from /usr/tmp to /var/tmp

26 years agoRemove bit about `default shell' since chsh doesn't actually do that.
danw [Wed, 7 Jan 1998 17:08:24 +0000 (17:08 +0000)] 
Remove bit about `default shell' since chsh doesn't actually do that.
propagation happens overnight, not in a few hours

26 years agorefer to MIT.EDU, not ATHENA.MIT.EDU
danw [Wed, 7 Jan 1998 17:06:33 +0000 (17:06 +0000)] 
refer to MIT.EDU, not ATHENA.MIT.EDU
change quoting example since lcs doesn't expand to ptt.lcs any more
propagation happens overnight, not in a few hours

26 years agoUpdate sample transcript to match the client.
danw [Wed, 7 Jan 1998 17:05:25 +0000 (17:05 +0000)] 
Update sample transcript to match the client.
Say propagation happens overnight, not in a few hours

26 years agoSMS/Moira cleanup
danw [Wed, 7 Jan 1998 17:01:56 +0000 (17:01 +0000)] 
SMS/Moira cleanup
also, modernize one of the examples (`Atkinson 304' doesn't exist
in the new Senior House)

26 years agoMove moira-log to /var/tmp instead of /usr/tmp
danw [Wed, 7 Jan 1998 17:00:03 +0000 (17:00 +0000)] 
Move moira-log to /var/tmp instead of /usr/tmp

26 years agoeliminate use of the `register' keyword: let the compiler decide
danw [Tue, 6 Jan 1998 20:39:18 +0000 (20:39 +0000)] 
eliminate use of the `register' keyword: let the compiler decide

26 years agoCode style cleanup. (No functional changes)
danw [Mon, 5 Jan 1998 19:51:32 +0000 (19:51 +0000)] 
Code style cleanup. (No functional changes)

26 years agocant_fix takes an argument
danw [Mon, 5 Jan 1998 15:00:49 +0000 (15:00 +0000)] 
cant_fix takes an argument

26 years agoassume POSIX
danw [Mon, 5 Jan 1998 14:59:45 +0000 (14:59 +0000)] 
assume POSIX

26 years agoRewrite functions to avoid having SQL DECLARE SECTIONs around function
danw [Mon, 5 Jan 1998 14:59:11 +0000 (14:59 +0000)] 
Rewrite functions to avoid having SQL DECLARE SECTIONs around function
arguments. (preparation for ANSI function declarations)

26 years agoRemove unused elements from an SQL query
danw [Mon, 5 Jan 1998 14:57:26 +0000 (14:57 +0000)] 
Remove unused elements from an SQL query

26 years agoremove unused code (including the function this file is named after,
danw [Mon, 5 Jan 1998 14:56:48 +0000 (14:56 +0000)] 
remove unused code (including the function this file is named after,
now making its name _completely_ obscure)

26 years agoremove some #ifdef DEBUG code and simplify around it
danw [Mon, 5 Jan 1998 14:55:53 +0000 (14:55 +0000)] 
remove some #ifdef DEBUG code and simplify around it

26 years agoThere's already a string-uppercasifier in strs.c. No need to define
danw [Mon, 5 Jan 1998 14:55:19 +0000 (14:55 +0000)] 
There's already a string-uppercasifier in strs.c. No need to define
another one here.

26 years agoassume POSIX (uname vs gethostname)
danw [Mon, 5 Jan 1998 14:54:47 +0000 (14:54 +0000)] 
assume POSIX (uname vs gethostname)

26 years agoremove redundant initialization
danw [Mon, 5 Jan 1998 14:54:24 +0000 (14:54 +0000)] 
remove redundant initialization

26 years agoWe're warehouse.gen, not sis.gen
danw [Mon, 5 Jan 1998 14:54:09 +0000 (14:54 +0000)] 
We're warehouse.gen, not sis.gen

26 years agoremove a redundant comparison
danw [Mon, 5 Jan 1998 14:53:53 +0000 (14:53 +0000)] 
remove a redundant comparison
remove code that would free non-malloced memory

26 years agoNULL != ""
danw [Mon, 5 Jan 1998 14:53:00 +0000 (14:53 +0000)] 
NULL != ""

26 years agoFix a comment, un-#if 0 some code that shouldn't have been #if 0'ed
danw [Mon, 5 Jan 1998 14:52:46 +0000 (14:52 +0000)] 
Fix a comment, un-#if 0 some code that shouldn't have been #if 0'ed

26 years agoupdate timing estimates to match current moira reality
danw [Mon, 5 Jan 1998 14:51:43 +0000 (14:51 +0000)] 
update timing estimates to match current moira reality

26 years agoremove a redundant initialization
danw [Mon, 5 Jan 1998 14:51:25 +0000 (14:51 +0000)] 
remove a redundant initialization

26 years agoadd a prototype to make the compiler not promote char->int
danw [Mon, 5 Jan 1998 14:51:10 +0000 (14:51 +0000)] 
add a prototype to make the compiler not promote char->int

26 years agoRemove an unused variable, add some {}s
danw [Mon, 5 Jan 1998 14:50:16 +0000 (14:50 +0000)] 
Remove an unused variable, add some {}s

26 years agoRemove some unused vars/code
danw [Mon, 5 Jan 1998 14:49:21 +0000 (14:49 +0000)] 
Remove some unused vars/code
Use "%ld" when printing longs
Spell "successfully" successfully

26 years agoFix a bug in AskFSInfo (= vs ==)
danw [Mon, 5 Jan 1998 14:48:41 +0000 (14:48 +0000)] 
Fix a bug in AskFSInfo (= vs ==)

26 years agoremove a redundant initialization
danw [Mon, 5 Jan 1998 14:46:54 +0000 (14:46 +0000)] 
remove a redundant initialization
assume HAS_VSPRINTF

26 years agoif /usr/etc/credentials.local exists, append it to the credentials
danw [Mon, 22 Dec 1997 21:34:27 +0000 (21:34 +0000)] 
if /usr/etc/credentials.local exists, append it to the credentials
feed from moira.

26 years agoUse `critical_alert', not `send_zgram' when the server dies
danw [Sat, 20 Dec 1997 20:56:32 +0000 (20:56 +0000)] 
Use `critical_alert', not `send_zgram' when the server dies
unexpectedly, so that it appears in the critical.log

26 years agosync with server: "[" isn't a wildcard character in oracle, so don't
danw [Tue, 16 Dec 1997 20:53:00 +0000 (20:53 +0000)] 
sync with server: "[" isn't a wildcard character in oracle, so don't
escape it.

26 years agoDon't delete quotas when changing a filesys from ERR to AFS.
danw [Mon, 1 Dec 1997 20:49:47 +0000 (20:49 +0000)] 
Don't delete quotas when changing a filesys from ERR to AFS.
(Looks like it was tripping on some code intended for the NFS->AFS migration?)

26 years agoFix data for geml to make `qy _help geml' work
danw [Tue, 11 Nov 1997 22:51:42 +0000 (22:51 +0000)] 
Fix data for geml to make `qy _help geml' work

26 years agoAdded a command-line arg, to allow the administrator to load only one
dkk [Tue, 4 Nov 1997 22:00:55 +0000 (22:00 +0000)] 
Added a command-line arg, to allow the administrator to load only one
of student or staff data files (instead of both together).  The
frequency of the two data files varied greatly, so the script was
being used only as an example until these changes were applied.

The script also now uses a separate directory (/moira/load/).

26 years agoMuch revision from previous instructions, most of it apparently not
dkk [Tue, 4 Nov 1997 21:52:05 +0000 (21:52 +0000)] 
Much revision from previous instructions, most of it apparently not
checked in before (was named INSTRUCTIONS.new).  Made the instructions
more into a shell script (in several stages).  THIS PROCEDURE WAS USED
in October 1997 to resynchronize the athena.mit.edu AFS cell with Moira.

26 years agooops. we were filtering out lincoln labs in two different places
danw [Mon, 3 Nov 1997 04:44:13 +0000 (04:44 +0000)] 
oops. we were filtering out lincoln labs in two different places

26 years agominor bugfix to previous commit
danw [Sun, 2 Nov 1997 18:57:18 +0000 (18:57 +0000)] 
minor bugfix to previous commit

26 years agosupport for Lincoln Lab people: load with class LINCOLN and a high uid
danw [Sun, 2 Nov 1997 18:55:08 +0000 (18:55 +0000)] 
support for Lincoln Lab people: load with class LINCOLN and a high uid

This page took 0.081808 seconds and 4 git commands to generate.