]> andersk Git - moira.git/log
moira.git
21 years agoUse krb5 auth, not krb4. moira-krb5
zacheiss [Mon, 4 Nov 2002 02:57:02 +0000 (02:57 +0000)] 
Use krb5 auth, not krb4.

21 years agozero out the authenticator before starting.
zacheiss [Mon, 19 Aug 2002 18:36:44 +0000 (18:36 +0000)] 
zero out the authenticator before starting.

21 years agoOnly check the return value of krb5_init_context if we actually called
zacheiss [Mon, 19 Aug 2002 18:23:50 +0000 (18:23 +0000)] 
Only check the return value of krb5_init_context if we actually called
it.  Use krb5_error_code everywhere for sanity reasons.

21 years agoUse krb5_error_code for return value of krb5 library functions.
zacheiss [Mon, 19 Aug 2002 17:43:11 +0000 (17:43 +0000)] 
Use krb5_error_code for return value of krb5 library functions.

21 years agoUse krb5_error_code for return value of krb5 library functions. Reset
zacheiss [Mon, 19 Aug 2002 17:42:45 +0000 (17:42 +0000)] 
Use krb5_error_code for return value of krb5 library functions.  Reset
auth_con to NULL after freeing since it's global.

21 years agoUse krb5_error_code instead of int for krb5 library function return values.
zacheiss [Mon, 19 Aug 2002 17:42:10 +0000 (17:42 +0000)] 
Use krb5_error_code instead of int for krb5 library function return values.

21 years agoInitialize a few more things to NULL.
zacheiss [Thu, 15 Aug 2002 11:46:50 +0000 (11:46 +0000)] 
Initialize a few more things to NULL.
krb5_free_data_contents checks internally if its argument needs to be
freed, so we don't have to.

21 years agoInitial cut of krb5 support.
zacheiss [Wed, 14 Aug 2002 21:30:10 +0000 (21:30 +0000)] 
Initial cut of krb5 support.

21 years agoChange a bunch of
zacheiss [Wed, 14 Aug 2002 14:01:21 +0000 (14:01 +0000)] 
Change a bunch of

#endif FOO

to

#endif /* FOO */

to make the compiler less bitchy.

21 years agoSome globals that really should be wrapped in
zacheiss [Tue, 13 Aug 2002 15:51:51 +0000 (15:51 +0000)] 
Some globals that really should be wrapped in
EXEC SQL BEGIN/END DECLARE SECTION.

21 years agoWhitespace police.
zacheiss [Tue, 13 Aug 2002 15:50:14 +0000 (15:50 +0000)] 
Whitespace police.

21 years agoFix a case where we could use the value of "status" before we've
zacheiss [Tue, 13 Aug 2002 15:49:56 +0000 (15:49 +0000)] 
Fix a case where we could use the value of "status" before we've
initialized it.

21 years agoFix compilation using SunSoft cc, just in case we want it.
zacheiss [Tue, 13 Aug 2002 15:49:31 +0000 (15:49 +0000)] 
Fix compilation using SunSoft cc, just in case we want it.

21 years agoRedo argument parsing to be more consistant with other applications.
zacheiss [Sat, 10 Aug 2002 09:36:00 +0000 (09:36 +0000)] 
Redo argument parsing to be more consistant with other applications.
Gain ability to specify non-default server in the process.

21 years agoDon't complain for quota deltas < 400MB.
zacheiss [Thu, 8 Aug 2002 16:31:39 +0000 (16:31 +0000)] 
Don't complain for quota deltas < 400MB.

21 years agoSupport setting container lists.
zacheiss [Tue, 6 Aug 2002 22:09:24 +0000 (22:09 +0000)] 
Support setting container lists.

21 years agoCall mr_access() in AddList so we can bomb out before asking the user
zacheiss [Tue, 6 Aug 2002 22:08:31 +0000 (22:08 +0000)] 
Call mr_access() in AddList so we can bomb out before asking the user
for all of the list info.

21 years agoOne more missing LOWER(), this time in get_machines_of_container().
zacheiss [Fri, 2 Aug 2002 15:21:27 +0000 (15:21 +0000)] 
One more missing LOWER(), this time in get_machines_of_container().

21 years agoAdd 2 missing LOWER()'s to fix non-recursive case of
zacheiss [Fri, 2 Aug 2002 15:12:27 +0000 (15:12 +0000)] 
Add 2 missing LOWER()'s to fix non-recursive case of
get_subcontainers_of_container query.

21 years agoHandle the case of a user using a PIN for preauthentication (instead of
zacheiss [Fri, 2 Aug 2002 10:36:36 +0000 (10:36 +0000)] 
Handle the case of a user using a PIN for preauthentication (instead of
six words) who has a preassigned username, and call register_user()
before we end up in PSWD().

21 years agoSupport setting/displaying publicflg for containers, and displaying
zacheiss [Fri, 2 Aug 2002 10:32:25 +0000 (10:32 +0000)] 
Support setting/displaying publicflg for containers, and displaying
associated list for containers.  We don't provide UI for calling the
set_container_list query because it's not something a user should ever
need to do.

21 years agoRenumber CON_foo #defines for addition of publicflg argument to queries.
zacheiss [Fri, 2 Aug 2002 10:31:32 +0000 (10:31 +0000)] 
Renumber CON_foo #defines for addition of publicflg argument to queries.

21 years agoAdd list_id and publicflg columns to containers table.
zacheiss [Fri, 2 Aug 2002 10:30:58 +0000 (10:30 +0000)] 
Add list_id and publicflg columns to containers table.

21 years agoAdd MR_CONTAINER_NO_PARENT error code.
zacheiss [Fri, 2 Aug 2002 10:30:32 +0000 (10:30 +0000)] 
Add MR_CONTAINER_NO_PARENT error code.

21 years agoMajor update to container related code.
zacheiss [Fri, 2 Aug 2002 10:30:07 +0000 (10:30 +0000)] 
Major update to container related code.

- Make container name in container-related queries case insensitive.
- Implement get_container_list and set_container_list queries for
  associating a container with a list.
- Add a publicflg to containers, analagous to what's already there for
  and update acl'ing semantics to use it.
- Pass associated container list to incremental programs for container
  table incrementals.

Not guaranteed to be bug free, but seems to all work, and it's time to
checkpoint this work.

21 years agoDocument how to clear a list's membership acl.
zacheiss [Mon, 17 Jun 2002 18:47:12 +0000 (18:47 +0000)] 
Document how to clear a list's membership acl.

21 years agoA DCM for new calendar service, and Makefile.in glue to install it.
zacheiss [Sun, 19 May 2002 21:53:38 +0000 (21:53 +0000)] 
A DCM for new calendar service, and Makefile.in glue to install it.

21 years agoThreshold should be based on number of old lines, not number of new lines.
zacheiss [Wed, 15 May 2002 20:25:05 +0000 (20:25 +0000)] 
Threshold should be based on number of old lines, not number of new lines.

22 years agoNuke stray ;
zacheiss [Thu, 9 May 2002 03:47:53 +0000 (03:47 +0000)] 
Nuke stray ;

22 years agoNeed an "ORDER BY status", since we want the status 0 account if there's
zacheiss [Thu, 9 May 2002 00:45:17 +0000 (00:45 +0000)] 
Need an "ORDER BY status", since we want the status 0 account if there's
both a status 0 and a status 3 present.

22 years agoNew text for Sloan PIN screen, courtesy of vgifford.
zacheiss [Thu, 9 May 2002 00:44:31 +0000 (00:44 +0000)] 
New text for Sloan PIN screen, courtesy of vgifford.

22 years agoMake link like for Oracle 8 even more sane; based on link line used by
zacheiss [Wed, 1 May 2002 23:16:50 +0000 (23:16 +0000)] 
Make link like for Oracle 8 even more sane; based on link line used by
Oracle 8.1.7 Pro*C samples.  Link with -R${ORACLE_HOME}/lib so you don't
need to set LD_LIBRARY_PATH.

22 years agoRemove reference to Ingres in error message.
zacheiss [Wed, 1 May 2002 04:38:03 +0000 (04:38 +0000)] 
Remove reference to Ingres in error message.

22 years agoSupport incrementals on the mcntmap table.
zacheiss [Tue, 30 Apr 2002 02:21:25 +0000 (02:21 +0000)] 
Support incrementals on the mcntmap table.

22 years agoAllow for queries on mcntmap table.
zacheiss [Tue, 30 Apr 2002 02:19:03 +0000 (02:19 +0000)] 
Allow for queries on mcntmap table.

22 years agoAllow wildcards in the container related get queries.
zacheiss [Tue, 30 Apr 2002 02:18:15 +0000 (02:18 +0000)] 
Allow wildcards in the container related get queries.

22 years agoLINCOLN users should get preassigned usernames.
zacheiss [Tue, 30 Apr 2002 02:17:16 +0000 (02:17 +0000)] 
LINCOLN users should get preassigned usernames.

22 years agoInclude link line for Oracle 8 Pro*C.
zacheiss [Tue, 30 Apr 2002 02:00:59 +0000 (02:00 +0000)] 
Include link line for Oracle 8 Pro*C.

Regenerate configure.

22 years agoDon't prototype these ourself; ubik.h does.
zacheiss [Tue, 30 Apr 2002 01:59:32 +0000 (01:59 +0000)] 
Don't prototype these ourself; ubik.h does.

22 years agoPortability nit for AFS versions > 3.4a. Make sure AFSCONF_CLIENTNAME
zacheiss [Tue, 30 Apr 2002 01:58:59 +0000 (01:58 +0000)] 
Portability nit for AFS versions > 3.4a.  Make sure AFSCONF_CLIENTNAME
is defined.

22 years agoCoupon for use in summer 2002 mailing.
zacheiss [Thu, 18 Apr 2002 03:54:42 +0000 (03:54 +0000)] 
Coupon for use in summer 2002 mailing.

22 years agoInclude status 9 users.
zacheiss [Fri, 5 Apr 2002 22:53:50 +0000 (22:53 +0000)] 
Include status 9 users.

22 years agodisplay new user statuses correctly.
zacheiss [Fri, 29 Mar 2002 02:24:49 +0000 (02:24 +0000)] 
display new user statuses correctly.

22 years agoregister_user() on a registered Kerberos-only account should provide you
zacheiss [Fri, 29 Mar 2002 02:24:25 +0000 (02:24 +0000)] 
register_user() on a registered Kerberos-only account should provide you
with a status 1 account.

22 years agoNew #defines for Kerberos-only account user statuses.
zacheiss [Fri, 29 Mar 2002 02:23:56 +0000 (02:23 +0000)] 
New #defines for Kerberos-only account user statuses.

22 years agoProvide support for Kerberos-only accounts.
zacheiss [Fri, 29 Mar 2002 02:23:33 +0000 (02:23 +0000)] 
Provide support for Kerberos-only accounts.

22 years agoInclude billing contact for hosts, and blank field where it would go for
zacheiss [Wed, 27 Mar 2002 14:51:56 +0000 (14:51 +0000)] 
Include billing contact for hosts, and blank field where it would go for
subnets.

22 years agoFrom dtanner: better handling of group security policies.
zacheiss [Fri, 22 Mar 2002 06:55:03 +0000 (06:55 +0000)] 
From dtanner:  better handling of group security policies.

22 years agoCheck for libk5crypto before libcrypto, so openssl's libcrypto doesn't
zacheiss [Thu, 21 Mar 2002 00:05:52 +0000 (00:05 +0000)] 
Check for libk5crypto before libcrypto, so openssl's libcrypto doesn't
give us a false positive.  Regenerate configure.

22 years agoNeed to handle new subnet status in AskMCDInfo(), too.
zacheiss [Wed, 20 Mar 2002 12:55:43 +0000 (12:55 +0000)] 
Need to handle new subnet status in AskMCDInfo(), too.

22 years agoReport the new equipment codes for some classes of hosts, as requested
zacheiss [Wed, 20 Mar 2002 04:02:09 +0000 (04:02 +0000)] 
Report the new equipment codes for some classes of hosts, as requested
by TNS folks.

22 years agoSplit "Resnet" subnet status out into Dorm and ILG statuses; this was
zacheiss [Wed, 20 Mar 2002 04:01:00 +0000 (04:01 +0000)] 
Split "Resnet" subnet status out into Dorm and ILG statuses; this was
requested for billing purposes.

22 years agoUnpack tarfile in a temporary directory to avoid changing the
zacheiss [Tue, 19 Mar 2002 22:07:06 +0000 (22:07 +0000)] 
Unpack tarfile in a temporary directory to avoid changing the
permissions of the directory we unpack into.

22 years agoAlways reports email addresses of the form username@MIT.EDU, regardless
zacheiss [Fri, 15 Mar 2002 18:11:19 +0000 (18:11 +0000)] 
Always reports email addresses of the form username@MIT.EDU, regardless
of user's mail forwarding.

22 years agoDouble size of max_row_count.
zacheiss [Mon, 11 Mar 2002 18:47:13 +0000 (18:47 +0000)] 
Double size of max_row_count.

22 years agoTweak wording of help text for PIN screen.
zacheiss [Wed, 6 Mar 2002 17:02:38 +0000 (17:02 +0000)] 
Tweak wording of help text for PIN screen.

22 years agobreak out of case statement, don't fall through.
zacheiss [Sun, 3 Mar 2002 10:19:15 +0000 (10:19 +0000)] 
break out of case statement, don't fall through.

22 years agoDon't put deactivated users in generated acl files.
zacheiss [Wed, 27 Feb 2002 09:53:12 +0000 (09:53 +0000)] 
Don't put deactivated users in generated acl files.

22 years agoChanges to deal with new args being passed by moirad for MACHINE members
zacheiss [Tue, 26 Feb 2002 09:00:57 +0000 (09:00 +0000)] 
Changes to deal with new args being passed by moirad for MACHINE members
of lists.

22 years agoGet the mach_id and list_id the right way.
zacheiss [Tue, 26 Feb 2002 09:00:14 +0000 (09:00 +0000)] 
Get the mach_id and list_id the right way.

22 years agoAdd PIN column to the users table.
zacheiss [Mon, 25 Feb 2002 16:41:51 +0000 (16:41 +0000)] 
Add PIN column to the users table.

22 years agoIf a user has the secure bit set and a PIN defined in the database, ask
zacheiss [Mon, 25 Feb 2002 16:41:17 +0000 (16:41 +0000)] 
If a user has the secure bit set and a PIN defined in the database, ask
them for that, not their six words.  Functionality requested by Sloan.

22 years agoAdd a "PIN" screen that's an alternative to the six words screen;
zacheiss [Mon, 25 Feb 2002 16:40:23 +0000 (16:40 +0000)] 
Add a "PIN" screen that's an alternative to the six words screen;
functionality requested by Sloan so they don't need to do personalized
mailings to get the account coupon to incoming students.

22 years agoCheck the exit value of checkpc and lpc.
zacheiss [Sat, 23 Feb 2002 03:53:49 +0000 (03:53 +0000)] 
Check the exit value of checkpc and lpc.

22 years agoPunt on the "NONE" stuff; the TNS folks decided they liked empty fields more.
zacheiss [Tue, 5 Feb 2002 17:32:45 +0000 (17:32 +0000)] 
Punt on the "NONE" stuff; the TNS folks decided they liked empty fields more.

22 years agoInclude creation time for hosts; set it to NONE for private subnets.
zacheiss [Mon, 4 Feb 2002 18:17:30 +0000 (18:17 +0000)] 
Include creation time for hosts; set it to NONE for private subnets.
Set location for private subnets to NONE.
Close filehandles before doing the tar.

22 years agoInclude private subnets and hosts on unbilled networks in feed to
zacheiss [Mon, 4 Feb 2002 05:21:34 +0000 (05:21 +0000)] 
Include private subnets and hosts on unbilled networks in feed to
IP billing system.  Add a script to unpack the tar file, and Makefile.in
changes to install the DCM programs.

22 years agoCleanup of previous revision. Parse argv only once, building an array
zacheiss [Thu, 24 Jan 2002 06:39:54 +0000 (06:39 +0000)] 
Cleanup of previous revision.  Parse argv only once, building an array
of services we were passed on the command line.  Makes "dcm -f" (with no
service args) work as a side effect; it's unclear if this is a good thing.

Add comments that mention possibility of race conditions.

22 years agoBe more paranoid:
zacheiss [Tue, 22 Jan 2002 14:19:52 +0000 (14:19 +0000)] 
Be more paranoid:

   - Check that we received a file that isn't zero length.

   - Check that the old aliases file is present.

   - Check that the new and old versions don't differ by more than 10%
     in number of lines.

   - Check that we've restarted sendmail successfully before exiting.

22 years agoCheck the return value of system() the right way.
zacheiss [Fri, 18 Jan 2002 23:39:08 +0000 (23:39 +0000)] 
Check the return value of system() the right way.

22 years agoFirst cut of a DCM for stellar, and Makefile.in changes to install it.
zacheiss [Fri, 18 Jan 2002 06:54:45 +0000 (06:54 +0000)] 
First cut of a DCM for stellar, and Makefile.in changes to install it.

22 years agoDo more clever locking to prevent two DCMs from stepping on each other.
zacheiss [Fri, 18 Jan 2002 00:00:35 +0000 (00:00 +0000)] 
Do more clever locking to prevent two DCMs from stepping on each other.
Specifically:

- Always check if the inprogress flag is set in the servers or
  serverhosts tables before setting it.

- When running dcm with specific services on the command line,
  still do interval checking; if the DCM has been run too
  recently, refuse to run.

- Provide a -f/-force flag to override the interval checking.

22 years agonew status for GigE private subnets.
zacheiss [Wed, 16 Jan 2002 21:40:39 +0000 (21:40 +0000)] 
new status for GigE private subnets.

22 years agoNew status for GigE private subnets.
zacheiss [Wed, 16 Jan 2002 21:39:20 +0000 (21:39 +0000)] 
New status for GigE private subnets.

22 years agoTreat MACHINE list membership info as public information.
zacheiss [Sat, 22 Dec 2001 02:43:46 +0000 (02:43 +0000)] 
Treat MACHINE list membership info as public information.

22 years agoSupport MACHINE members of lists.
zacheiss [Fri, 14 Dec 2001 21:04:54 +0000 (21:04 +0000)] 
Support MACHINE members of lists.

22 years ago_list_queries returns a client dependent list, so don't cache that data.
zacheiss [Mon, 26 Nov 2001 18:20:28 +0000 (18:20 +0000)] 
_list_queries returns a client dependent list, so don't cache that data.

If we skip over an entry in the queries array because our client is too
old to know about it, we still need to increment our position in the array.

22 years agoUse ps -ef; ps -el truncates too much of the process name.
zacheiss [Sat, 24 Nov 2001 00:08:46 +0000 (00:08 +0000)] 
Use ps -ef; ps -el truncates too much of the process name.

22 years agoAdd new instructions for running perl script to deal with null instance
zacheiss [Mon, 5 Nov 2001 23:04:07 +0000 (23:04 +0000)] 
Add new instructions for running perl script to deal with null instance
KERBEROS members of lists.

22 years agoDon't require a valid account number if we're setting a host to be deleted.
zacheiss [Mon, 5 Nov 2001 20:38:35 +0000 (20:38 +0000)] 
Don't require a valid account number if we're setting a host to be deleted.

22 years agoSome cleanup. strncpy instead of strcpy, and deal with the case of the
zacheiss [Fri, 26 Oct 2001 01:57:24 +0000 (01:57 +0000)] 
Some cleanup.  strncpy instead of strcpy, and deal with the case of the
encoding of the string being longer than PR_MAXNAMELEN.

22 years agoBugfix to add member functionality (broken when MoiraConnect was turned
jis [Wed, 24 Oct 2001 01:10:50 +0000 (01:10 +0000)] 
Bugfix to add member functionality (broken when MoiraConnect was turned
into Moira).

22 years agoRevert back to rev 1.2. Code to deal with null kerberos principals
zacheiss [Tue, 23 Oct 2001 21:43:59 +0000 (21:43 +0000)] 
Revert back to rev 1.2.   Code to deal with null kerberos principals
causes subtle prdb weirdness.  Should debug this later.

22 years agoCheck if we have strvis() so we can use it. Regenerate configure.
zacheiss [Tue, 23 Oct 2001 19:36:28 +0000 (19:36 +0000)] 
Check if we have strvis() so we can use it.  Regenerate configure.

22 years agoDeal with pts groups with whitespace and other "weird" characters in
zacheiss [Tue, 23 Oct 2001 19:35:56 +0000 (19:35 +0000)] 
Deal with pts groups with whitespace and other "weird" characters in
them, since users can create them.  The implementation of
strvis/strunvis is from OpenBSD.

22 years agoBugfix for attempting to remove members from a list when you do not have
jis [Tue, 23 Oct 2001 00:37:22 +0000 (00:37 +0000)] 
Bugfix for attempting to remove members from a list when you do not have
sufficient access.

22 years agoQuick and dirty fix: Don't call register_user() for LINCOLN users with
zacheiss [Sun, 21 Oct 2001 23:34:05 +0000 (23:34 +0000)] 
Quick and dirty fix:  Don't call register_user() for LINCOLN users with
prechosen usernames; we don't want them to have PO boxes.

This is temporary.  To implement this functionality for real, we should
add a "Kerberos only" user status.

22 years agoMake Moira Java Object thread safe (provide mutex locking of a sorts)
jis [Sun, 21 Oct 2001 18:43:58 +0000 (18:43 +0000)] 
Make Moira Java Object thread safe (provide mutex locking of a sorts)

22 years agoGive version 2 queries their own validate struct so they still work.
zacheiss [Thu, 18 Oct 2001 14:02:12 +0000 (14:02 +0000)] 
Give version 2 queries their own validate struct so they still work.

22 years agoSet creation time and creator information for new users.
zacheiss [Wed, 17 Oct 2001 21:35:48 +0000 (21:35 +0000)] 
Set creation time and creator information for new users.

22 years agoDisplay user creation times.
zacheiss [Wed, 17 Oct 2001 21:34:19 +0000 (21:34 +0000)] 
Display user creation times.

22 years agoDeal with tracking creation times for users.
zacheiss [Wed, 17 Oct 2001 21:34:06 +0000 (21:34 +0000)] 
Deal with tracking creation times for users.

22 years agoAdd U_CREATED and U_CREATOR #defines.
zacheiss [Wed, 17 Oct 2001 21:33:13 +0000 (21:33 +0000)] 
Add U_CREATED and U_CREATOR #defines.

22 years agoAdd created and creator columns to the users table.
zacheiss [Wed, 17 Oct 2001 21:32:45 +0000 (21:32 +0000)] 
Add created and creator columns to the users table.

22 years agoBuild the webmoira dir if we've generated a Makefile in it.
zacheiss [Tue, 9 Oct 2001 14:33:10 +0000 (14:33 +0000)] 
Build the webmoira dir if we've generated a Makefile in it.

22 years agoAC_SUBST the directory webmoira src lives in.
zacheiss [Tue, 9 Oct 2001 14:32:31 +0000 (14:32 +0000)] 
AC_SUBST the directory webmoira src lives in.

22 years agoDeal with arch-specific flags to build shared objects. This is kind of
zacheiss [Tue, 9 Oct 2001 14:17:35 +0000 (14:17 +0000)] 
Deal with arch-specific flags to build shared objects.  This is kind of
gross, and we should think about replacing it with libtool at some
point.

Regenerate configure.

22 years agoAbstract out flags we need to build shared objects.
zacheiss [Tue, 9 Oct 2001 14:15:53 +0000 (14:15 +0000)] 
Abstract out flags we need to build shared objects.

22 years agomissed 2 classes in CLASSES; now make clean really does.
zacheiss [Tue, 9 Oct 2001 13:33:47 +0000 (13:33 +0000)] 
missed 2 classes in CLASSES; now make clean really does.

22 years agoWe use AC_CANONICAL_HOST in configure.in now, so we need these.
zacheiss [Tue, 9 Oct 2001 10:22:13 +0000 (10:22 +0000)] 
We use AC_CANONICAL_HOST in configure.in now, so we need these.

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