]> andersk Git - moira.git/log
moira.git
26 years agoDon't bother unsetting dcm_enable if we're running in -n mode.
danw [Tue, 14 Apr 1998 18:54:44 +0000 (18:54 +0000)] 
Don't bother unsetting dcm_enable if we're running in -n mode.

26 years agouppercasify location in get_host
danw [Sat, 11 Apr 1998 18:45:52 +0000 (18:45 +0000)] 
uppercasify location in get_host

26 years agoSet timeout when select()ing, so incrementals will get a chance to run
danw [Tue, 7 Apr 1998 17:53:45 +0000 (17:53 +0000)] 
Set timeout when select()ing, so incrementals will get a chance to run
even when there's no network traffic.

26 years agoIgnore SIGPIPE
danw [Mon, 6 Apr 1998 15:59:21 +0000 (15:59 +0000)] 
Ignore SIGPIPE

26 years agoClean up properly if there's an Oracle error, instead of just exiting.
danw [Wed, 1 Apr 1998 17:32:53 +0000 (17:32 +0000)] 
Clean up properly if there's an Oracle error, instead of just exiting.

Provide more useful messages in a few places.

COMMIT in a bunch of places so the `inprogress' flag toggles are seen
by other clients. (This required rewriting do_hosts, because
committing will close any open cursors.)

26 years agofix for queries with LIKE clause at the end of the qualifier
danw [Wed, 1 Apr 1998 03:04:21 +0000 (03:04 +0000)] 
fix for queries with LIKE clause at the end of the qualifier

26 years agofix get_list_info modtime format
danw [Wed, 1 Apr 1998 03:02:01 +0000 (03:02 +0000)] 
fix get_list_info modtime format

26 years agoUse free_rtn_tuples to clean up client state rather than doing it
danw [Tue, 31 Mar 1998 16:08:07 +0000 (16:08 +0000)] 
Use free_rtn_tuples to clean up client state rather than doing it
wrong by hand.

26 years agobring back copy_argv... it does a strtrim(), which mr_copy_args
danw [Tue, 31 Mar 1998 06:47:20 +0000 (06:47 +0000)] 
bring back copy_argv... it does a strtrim(), which mr_copy_args
doesn't

26 years agoif the server is SLEEPY (got a SIGUSR1), close the database the next
danw [Mon, 30 Mar 1998 16:19:17 +0000 (16:19 +0000)] 
if the server is SLEEPY (got a SIGUSR1), close the database the next
time around the main loop. (This got left out in the mrgdb rewrite.)

26 years agowarn if user tries to create/rename a list to a username
danw [Thu, 26 Mar 1998 21:24:28 +0000 (21:24 +0000)] 
warn if user tries to create/rename a list to a username

26 years agoGet username from Kerberos ticket file instead of utmp, since utmp
danw [Thu, 26 Mar 1998 21:07:13 +0000 (21:07 +0000)] 
Get username from Kerberos ticket file instead of utmp, since utmp
loses sometimes. Fixes [1151] in Moira.

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

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