krb5.git
26 years agoFri Aug 7 00:56:30 1998 Matthew D Hancher <mdh@mit.edu>
Matthew Hancher [Sat, 8 Aug 1998 02:45:34 +0000 (02:45 +0000)]
Fri Aug  7 00:56:30 1998  Matthew D Hancher  <mdh@mit.edu>

* ftpcmd.y: Replace old KERBEROS #ifdef's with KRB5_KRB4_COMPAT
so that K4 compatibility support actually gets compiled in.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10792 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoForgot to check in the ChangeLog. :)
Matthew Hancher [Sat, 8 Aug 1998 02:44:44 +0000 (02:44 +0000)]
Forgot to check in the ChangeLog. :)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10791 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoFri Aug 7 22:39:47 1998 Matthew D Hancher <mdh@mit.edu>
Matthew Hancher [Sat, 8 Aug 1998 02:41:31 +0000 (02:41 +0000)]
Fri Aug  7 22:39:47 1998  Matthew D Hancher  <mdh@mit.edu>

* ftp.c (do_auth): Make verbosity not disappear if GSSAPI fails.
(getreply): Move 'S:' and 'P:' from verbose to debug.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10790 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoRemoved unneeded prototypes
Miro Jurisic [Fri, 7 Aug 1998 15:52:44 +0000 (15:52 +0000)]
Removed unneeded prototypes

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10789 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * ftp.c (getreply): Restore proper setting of safe. This variable
Tom Yu [Fri, 7 Aug 1998 15:47:38 +0000 (15:47 +0000)]
* ftp.c (getreply): Restore proper setting of safe.  This variable
was previously being set to the value of code rather than to the
boolean expression (code == 631), which it had been previously.
The bug resulted in all replies from the server being parsed as
krb_safe messages even when they were krb_priv messages.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10788 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * rd_safe.c (krb_rd_safe): Fix up call to quad_cksum()
Tom Yu [Fri, 7 Aug 1998 15:44:33 +0000 (15:44 +0000)]
* rd_safe.c (krb_rd_safe): Fix up call to quad_cksum()

* mk_safe.c (krb_mk_safe): Fix up call to quad_cksum().

* tf_util.c (tf_init): Add call to getuid() to initialize me.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10787 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoAdded Kerberos v5 68K glue generation files
Miro Jurisic [Fri, 7 Aug 1998 15:40:12 +0000 (15:40 +0000)]
Added Kerberos v5 68K glue generation files

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10786 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoFri Aug 7 00:56:30 1998 Matthew D Hancher <mdh@mit.edu>
Matthew Hancher [Fri, 7 Aug 1998 05:02:20 +0000 (05:02 +0000)]
Fri Aug  7 00:56:30 1998  Matthew D Hancher  <mdh@mit.edu>

* ftpd.c: (pass): Make daemon not lose for homedirs on
root-squashing filesystems.
(auth_data): Fix that godawful "error: No error" message
when gss_acquire_cred() fails.
(user): Fix getusershell() code so it works more than once.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10785 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoprof_tree.c: (profile_delete_node_relation): Fix bug where deleting a
Theodore Tso [Fri, 7 Aug 1998 02:03:31 +0000 (02:03 +0000)]
prof_tree.c: (profile_delete_node_relation): Fix bug where deleting a
node would corrupt the linked list.

(profile_add_node): Fix another linked list corruption problem where
an insertion into the middle of the linked list didn't update a
previous link.  [krb5-libs/615]

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10784 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoBumpder to 1.0.5b5
Miro Jurisic [Tue, 4 Aug 1998 21:20:15 +0000 (21:20 +0000)]
Bumpder to 1.0.5b5

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10775 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoFixed 68K testtrack library export name
Miro Jurisic [Tue, 4 Aug 1998 21:11:30 +0000 (21:11 +0000)]
Fixed 68K testtrack library export name

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10774 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoAdded import list and rearranged some code
Miro Jurisic [Tue, 4 Aug 1998 01:23:55 +0000 (01:23 +0000)]
Added import list and rearranged some code

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10773 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoStarted glue
Miro Jurisic [Tue, 4 Aug 1998 00:31:46 +0000 (00:31 +0000)]
Started glue

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10772 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoUpped to 1.0.5b4
Miro Jurisic [Thu, 30 Jul 1998 17:19:53 +0000 (17:19 +0000)]
Upped to 1.0.5b4

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10765 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoAdded pointers to documentation and CFM-68K
Miro Jurisic [Thu, 30 Jul 1998 17:14:30 +0000 (17:14 +0000)]
Added pointers to documentation and CFM-68K

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10764 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoFixed ALRT resources (new resource format)
Miro Jurisic [Thu, 30 Jul 1998 16:54:05 +0000 (16:54 +0000)]
Fixed ALRT resources (new resource format)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10763 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoFixed to punt "# TEMPLATE BEGINS HERE"
Miro Jurisic [Thu, 30 Jul 1998 16:15:29 +0000 (16:15 +0000)]
Fixed to punt "# TEMPLATE BEGINS HERE"

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10762 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoAdded templatify.pl to snapshot files; removed bogus "# TEMPLATE BEGINS HERE"
Miro Jurisic [Thu, 30 Jul 1998 16:14:36 +0000 (16:14 +0000)]
Added templatify.pl to snapshot files; removed bogus "# TEMPLATE BEGINS HERE"

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10761 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoFixed 68K TestTrack lib fragment name
Miro Jurisic [Thu, 30 Jul 1998 15:41:20 +0000 (15:41 +0000)]
Fixed 68K TestTrack lib fragment name

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10760 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoAdded .doc files describing the custom CWP2 projects
Miro Jurisic [Wed, 29 Jul 1998 20:01:03 +0000 (20:01 +0000)]
Added .doc files describing the custom CWP2 projects

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10758 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoUpped to 1.0.5b3
Miro Jurisic [Wed, 29 Jul 1998 19:42:34 +0000 (19:42 +0000)]
Upped to 1.0.5b3

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10757 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoDon't need SAP timebomb stuff anymore; changed name of the binary
Miro Jurisic [Wed, 29 Jul 1998 19:41:54 +0000 (19:41 +0000)]
Don't need SAP timebomb stuff anymore; changed name of the binary

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10756 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoDon't need SAP timebomb stuff anymore
Miro Jurisic [Wed, 29 Jul 1998 19:41:26 +0000 (19:41 +0000)]
Don't need SAP timebomb stuff anymore

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10755 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoUpdated Readme with smcguire's additions
Miro Jurisic [Wed, 29 Jul 1998 19:40:33 +0000 (19:40 +0000)]
Updated Readme with smcguire's additions

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10754 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoAdded testtrack.h to the snapshot
Miro Jurisic [Wed, 29 Jul 1998 19:40:14 +0000 (19:40 +0000)]
Added testtrack.h to the snapshot

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10753 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoAdded TestTrack library files from MITAthenaLib 0.4.1
Miro Jurisic [Wed, 29 Jul 1998 18:48:10 +0000 (18:48 +0000)]
Added TestTrack library files from MITAthenaLib 0.4.1

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10752 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoApply ghudson's patch so that rlogin -a no longer dumps core.
Geoffrey King [Mon, 27 Jul 1998 04:10:35 +0000 (04:10 +0000)]
Apply ghudson's patch so that rlogin -a no longer dumps core.
[krb5-appl/612]

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10750 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * wrap_size_limit.c (krb5_gss_wrap_size_limit): Fix to round down
Tom Yu [Sat, 25 Jul 1998 01:15:34 +0000 (01:15 +0000)]
* wrap_size_limit.c (krb5_gss_wrap_size_limit): Fix to round down
by 8 even if the req_output_size-ohlen is a multiple of 8, since
the wrap token is always padded regardless of whether it's a
mutiple of 8 bytes.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10737 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoFork into the background by default, also add a -nofork command line option
Geoffrey King [Fri, 24 Jul 1998 23:41:43 +0000 (23:41 +0000)]
Fork into the background by default, also add a -nofork command line option

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10736 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoRenamed snapshot target output directory (again)
Miro Jurisic [Fri, 24 Jul 1998 04:14:58 +0000 (04:14 +0000)]
Renamed snapshot target output directory (again)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10731 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoRenamed snapshot target output directory
Miro Jurisic [Fri, 24 Jul 1998 04:09:56 +0000 (04:09 +0000)]
Renamed snapshot target output directory

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10730 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoAdded everything for snapshot target
Miro Jurisic [Fri, 24 Jul 1998 03:58:26 +0000 (03:58 +0000)]
Added everything for snapshot target

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10729 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoAdded script that undoes Makefile autogeneration
Miro Jurisic [Fri, 24 Jul 1998 03:58:07 +0000 (03:58 +0000)]
Added script that undoes Makefile autogeneration

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10728 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoReplaced old binhex file with separate project and resource files
Miro Jurisic [Fri, 24 Jul 1998 03:41:27 +0000 (03:41 +0000)]
Replaced old binhex file with separate project and resource files

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10727 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoTypos and minor fixes
Miro Jurisic [Fri, 24 Jul 1998 02:48:02 +0000 (02:48 +0000)]
Typos and minor fixes

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10726 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoRemoved mac dirs we don't really use
Miro Jurisic [Fri, 24 Jul 1998 02:46:04 +0000 (02:46 +0000)]
Removed mac dirs we don't really use

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10725 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoRemoved unneeded sh scripts
Miro Jurisic [Thu, 23 Jul 1998 23:26:16 +0000 (23:26 +0000)]
Removed unneeded sh scripts

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10724 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoAdded CW projects for our private C and runtime libs
Miro Jurisic [Thu, 23 Jul 1998 21:01:01 +0000 (21:01 +0000)]
Added CW projects for our private C and runtime libs

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10723 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoFixed typos and changed to building C and runtime libs from CW projects
Miro Jurisic [Thu, 23 Jul 1998 20:18:12 +0000 (20:18 +0000)]
Fixed typos and changed to building C and runtime libs from CW projects

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10722 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoBumped to 1.0.5b2
Miro Jurisic [Thu, 23 Jul 1998 20:17:16 +0000 (20:17 +0000)]
Bumped to 1.0.5b2

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10721 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoChanged for new runtime and C libraries (now built from our own CW projects)
Miro Jurisic [Thu, 23 Jul 1998 20:13:56 +0000 (20:13 +0000)]
Changed for new runtime and C libraries (now built from our own CW projects)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10720 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoovsec_kadmd.c (main): Cast gss_nt_krb5_name to gss_OID
Geoffrey King [Wed, 22 Jul 1998 04:31:50 +0000 (04:31 +0000)]
ovsec_kadmd.c (main): Cast gss_nt_krb5_name to gss_OID
to avoid compiler warnings.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10714 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * replay.c (kdc_check_lookaside):
Tom Yu [Wed, 22 Jul 1998 00:47:49 +0000 (00:47 +0000)]
* replay.c (kdc_check_lookaside):
(kdc_insert_lookaside): Add code to originating address of packet,
  as krb4 initial ticket requests don't contain an address.  This
  would cause a subtle problem wherein two simultaneous krb4 initial
  ticket requests for the same principal originating from different
  addresses would result in both replies containing the same
address.

* kdc_util.h: Modify prototype for lookaside functions.

* dispatch.c (dispatch): Update to new calling conventions of the
lookaside functions.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10713 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoCall krb5_klog_reopen in kadm_svc_run upon receiving a SIGHUP. Use
Geoffrey King [Tue, 21 Jul 1998 21:03:41 +0000 (21:03 +0000)]
Call krb5_klog_reopen in kadm_svc_run upon receiving a SIGHUP.  Use
sigaction instead of signal if POSIX_SIGNALS is defined.  All of the
calls to signal and sigaction are now in a separate function
setup_signal_handlers, as the kdc code does.  Also, since reset_db no
longer does anything, change the name of signal_request_reset to the
more descriptive signal_request_hup, and request_reset_db to
request_hup (paralleling the nomenclature in the kdc code).

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10712 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * schpw.c (process_chpw_request): Cast to krb5_octet * instead of
Ezra Peisach [Mon, 20 Jul 1998 15:34:04 +0000 (15:34 +0000)]
* schpw.c (process_chpw_request): Cast to krb5_octet * instead of
  char * for krb5_address.contents type.

This is a char * to unsigned char * warning fix.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10711 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * acl_files.c: Include stdlib.h if present
Ezra Peisach [Mon, 20 Jul 1998 15:24:04 +0000 (15:24 +0000)]
* acl_files.c: Include stdlib.h if present

(for malloc declarations)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10710 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoRemove the variable use_other_realm, is not actually necessary for the
Geoffrey King [Sun, 19 Jul 1998 02:13:59 +0000 (02:13 +0000)]
Remove the variable use_other_realm, is not actually necessary for the
new -r realm code.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10709 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoReplaced preprocessor symbol _MACINTOSH with macintosh, since macintosh is the standa...
Miro Jurisic [Fri, 17 Jul 1998 20:39:56 +0000 (20:39 +0000)]
Replaced preprocessor symbol _MACINTOSH with macintosh, since macintosh is the standard symbol defined by all Mac compiler (oh, sure, it doesn't have _. but at least it's always there)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10653 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoFixed build instructions
Miro Jurisic [Fri, 17 Jul 1998 20:35:56 +0000 (20:35 +0000)]
Fixed build instructions

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10652 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * krb524d.c (main): Accept a -r command line option to specify
Geoffrey King [Fri, 17 Jul 1998 08:18:37 +0000 (08:18 +0000)]
    * krb524d.c (main): Accept a -r command line option to specify
        a realm other than the default one.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10651 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * tcl_kadm5.c (parse_tl_data): Change cast from char * to
Ezra Peisach [Thu, 16 Jul 1998 16:01:37 +0000 (16:01 +0000)]
    * tcl_kadm5.c (parse_tl_data): Change cast from char * to
                krb5_octet *.
        (tcl_kadm5_free_principal_ent, tcl_kadm5_free_policy_ent): Add
                cast to value returned by Tcl_GetHashValue.

        * tcl_ovsec_kadm.c (tcl_ovsec_kadm_free_principal_ent): Cast
                return of Tcl_GetHashValue.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10650 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * changepw.c (krb5_change_password): Changes casts from char * to
Ezra Peisach [Thu, 16 Jul 1998 14:01:13 +0000 (14:01 +0000)]
* changepw.c (krb5_change_password): Changes casts from char * to
          krb5_octet * to match krb5_address structure elements.

Essentially char * vs. unsigned char * warning...

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10649 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * configure.in: Add CHECK_SIGNALS so that POSIX_SIGNALS gets
Tom Yu [Wed, 15 Jul 1998 22:44:32 +0000 (22:44 +0000)]
* configure.in: Add CHECK_SIGNALS so that POSIX_SIGNALS gets
defined.

* main.c (request_hup): Remove call to signal, as this isn't
needed on BSD-ish systems and for sysV-ish systems we use
sigaction anyway.
(setup_signal_handlers): Fix typo.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10648 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * gic_pwd.c (krb5_get_init_creds_password): Remove unused argument
Ezra Peisach [Wed, 15 Jul 1998 15:49:07 +0000 (15:49 +0000)]
* gic_pwd.c (krb5_get_init_creds_password): Remove unused argument
  to sprintf().

* t_ref_kerb.out: Fix test case for zephyr principal to reflect
  addition to conv_princ.c

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10647 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoThe projects in this file are out of date
Miro Jurisic [Tue, 14 Jul 1998 16:51:42 +0000 (16:51 +0000)]
The projects in this file are out of date

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10646 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoAdded dist-clean target
Miro Jurisic [Tue, 14 Jul 1998 16:49:48 +0000 (16:49 +0000)]
Added dist-clean target

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10645 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoChanged root to work from MPW
Miro Jurisic [Tue, 14 Jul 1998 16:23:15 +0000 (16:23 +0000)]
Changed root to work from MPW

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10644 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoUpdated for new Mac builds (MacPerl)
Miro Jurisic [Tue, 14 Jul 1998 16:10:11 +0000 (16:10 +0000)]
Updated for new Mac builds (MacPerl)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10643 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoUpdated to CW Pro 2, grayed out change password button
Miro Jurisic [Tue, 14 Jul 1998 15:36:15 +0000 (15:36 +0000)]
Updated to CW Pro 2, grayed out change password button

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10642 dc483132-0cff-0310-8789-dd5450dbe970

26 years agochanges for independent Mac builds
Miro Jurisic [Tue, 14 Jul 1998 15:34:52 +0000 (15:34 +0000)]
changes for independent Mac builds

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10641 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoBumped to 1.0.5b1 and added 'vers' 2 resource
Miro Jurisic [Tue, 14 Jul 1998 15:33:43 +0000 (15:33 +0000)]
Bumped to 1.0.5b1 and added 'vers' 2 resource

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10640 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoFixed fat library target (version resources were missing)
Miro Jurisic [Tue, 14 Jul 1998 15:33:11 +0000 (15:33 +0000)]
Fixed fat library target (version resources were missing)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10639 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoAdded separation of fragments and autogeneration of error tables, some cleanup
Miro Jurisic [Tue, 14 Jul 1998 15:23:13 +0000 (15:23 +0000)]
Added separation of fragments and autogeneration of error tables, some cleanup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10638 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoUpdated to the most recent export list
Miro Jurisic [Tue, 14 Jul 1998 15:22:21 +0000 (15:22 +0000)]
Updated to the most recent export list

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10637 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoAdded new Mac files
Miro Jurisic [Tue, 14 Jul 1998 15:18:46 +0000 (15:18 +0000)]
Added new Mac files

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10636 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoMac: now calling NewCWindow when possible; changed GetNextEvent to WaitNextEvent
Miro Jurisic [Tue, 14 Jul 1998 15:14:45 +0000 (15:14 +0000)]
Mac: now calling NewCWindow when possible; changed GetNextEvent to WaitNextEvent

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10635 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoAdded magic incantations for Macintosh CFM-68K
Miro Jurisic [Tue, 14 Jul 1998 15:13:15 +0000 (15:13 +0000)]
Added magic incantations for Macintosh CFM-68K

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10634 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoAdded magic incantations for Macontosh CFM-68K
Miro Jurisic [Tue, 14 Jul 1998 15:12:49 +0000 (15:12 +0000)]
Added magic incantations for Macontosh CFM-68K

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10633 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoPreliminary fixes for AIX4.3:
Sam Hartman [Sun, 12 Jul 1998 20:59:42 +0000 (20:59 +0000)]
Preliminary fixes for AIX4.3:

* Fix static libs on platforms using .a for shared libs

* Fix utmp handling for non-hpux platforms with ut_exit different from utmpx.
* Include librarymacros  in ss configure.in

* Remove declarations of h_errno

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10632 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoAdded a call to signal() in request_hup() so that the signal handler
Geoffrey King [Sat, 11 Jul 1998 05:42:27 +0000 (05:42 +0000)]
Added a call to signal() in request_hup() so that the signal handler
gets reset after each SIGHUP, since this does not happen automatically
in System V's signal handling system.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10631 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * kadm_server.c (kadm_ser_cpw): Re-enable "old-style" password
Tom Yu [Fri, 10 Jul 1998 01:54:05 +0000 (01:54 +0000)]
* kadm_server.c (kadm_ser_cpw): Re-enable "old-style" password
  changing.  Yes, it's potentially a problem due to lack of quality
checking, but we'll live with that because we can use
key-hash-based checks too.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10630 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoThu Jul 9 19:35:01 1998 Matthew D Hancher <mdh@mit.edu>
Matthew Hancher [Thu, 9 Jul 1998 23:42:03 +0000 (23:42 +0000)]
Thu Jul  9 19:35:01 1998  Matthew D Hancher  <mdh@mit.edu>

* tf_util.c (tf_init): Fixed a potential race condition in the opening
of v4 ticket files. tf_init() was calling lstat() followed by fopen().
Now it calls fopen() and then calls lstat() and fstat() to check file
ownership and to check that it opened the file it thought it did. I
patched the shared memory code similarly, but since nothing uses it I
don't have a good way to test it properly.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10629 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoPerl versions of the conversion utilities
Theodore Tso [Thu, 9 Jul 1998 19:18:35 +0000 (19:18 +0000)]
Perl versions of the conversion utilities

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10628 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoThese additions cause the KDC to react to SIGHUP by closing and
Geoffrey King [Wed, 8 Jul 1998 09:12:05 +0000 (09:12 +0000)]
These additions cause the KDC to react to SIGHUP by closing and
reopening its log files, so that logfile management utilities
may now compress old logs and then kill -HUP the KDC process
to get them to use fresh log files.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10627 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoThird time's the charm.... *sigh* (ya irix6.3/gcc fix)
Matthew Hancher [Wed, 8 Jul 1998 06:05:48 +0000 (06:05 +0000)]
Third time's the charm.... *sigh* (ya irix6.3/gcc fix)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10626 dc483132-0cff-0310-8789-dd5450dbe970

26 years agokadm_ser_wrap.c (kadm_ser_init): Use krb5_425_conv_principal instead
Theodore Tso [Wed, 8 Jul 1998 05:34:11 +0000 (05:34 +0000)]
kadm_ser_wrap.c (kadm_ser_init): Use krb5_425_conv_principal instead
of krb5_build_principal to create the changepw sprinc principal.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10625 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoWed Jul 8 01:10:44 1998 Matthew D Hancher <mdh@mit.edu>
Matthew Hancher [Wed, 8 Jul 1998 05:14:27 +0000 (05:14 +0000)]
Wed Jul  8 01:10:44 1998  Matthew D Hancher  <mdh@mit.edu>

        * aclocal.m4: Allow shared libraries to build properly under Irix
        6.x with gcc. (This is actually a fix of a previous fix that
        didn't make it into ChangeLog.)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10624 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoconv_princ.c: Add additional commonly seen Kerberos V4 services to the
Theodore Tso [Tue, 7 Jul 1998 21:46:12 +0000 (21:46 +0000)]
conv_princ.c: Add additional commonly seen Kerberos V4 services to the
hard-coded list.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10623 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * chk_trans.c: Fix up previous fix; short-circuit out when
Tom Yu [Tue, 7 Jul 1998 20:59:38 +0000 (20:59 +0000)]
* chk_trans.c: Fix up previous fix; short-circuit out when
trans->length == 0.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10622 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoMakefile.in (build_pwfile): Add rule to build the build_pwfile program
Theodore Tso [Fri, 3 Jul 1998 22:34:54 +0000 (22:34 +0000)]
Makefile.in (build_pwfile): Add rule to build the build_pwfile program

kadm_server.c (kadm_ser_cpw): Put the call to the kadm_approve_pw in
the common code, so it's executed even if KADM5 is defined.  Add
appropriate syslogs to the change password processing.

kadm_funcs.c (pwstring;): If NDBM_PW_CHECK is defined, then do the
NDBM-based dictionary check.  Build kadmind4 using the make option
PW_CHECK=-DNDBM_PW_CHECK if this feature is desired.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10621 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoUpdate commands to build the Macintosh MPW Makefile
Theodore Tso [Fri, 3 Jul 1998 00:41:56 +0000 (00:41 +0000)]
Update commands to build the Macintosh MPW Makefile

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10620 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoasn1_encode.c: Make the magic Macintosh EPOCH offset be 70 years
Theodore Tso [Thu, 2 Jul 1998 22:36:50 +0000 (22:36 +0000)]
asn1_encode.c: Make the magic Macintosh EPOCH offset be 70 years
instead of 66 years, since CodeWarrior Pro 2 now bases everything off
of 1900.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10619 dc483132-0cff-0310-8789-dd5450dbe970

26 years agok5unseal.c (kg_unseal): Clean up lint warnings
Theodore Tso [Thu, 2 Jul 1998 22:24:56 +0000 (22:24 +0000)]
k5unseal.c (kg_unseal):  Clean up lint warnings

accept_sec_context.c (krb5_gss_accept_sec_context): Don't return an
error token if we can't provide the server name to the KRB5 error
structure (because cred isn't initialized).

gssapi_krb5.c, gssapi_krb5.h: Export the oid of static arrays as
krb5_gss_oid_array since it's needed by gss_import_sec_context.

import_sec_context.c: Fix up the OID of the mechanism in the imported
security context so that we use the static OID if at all possible.
This is needed since gss_inquire_context() must return a static OID.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10618 dc483132-0cff-0310-8789-dd5450dbe970

26 years agocom_err.c (MacMessageBox): Change TextBox to TETextBox to match up
Theodore Tso [Thu, 2 Jul 1998 22:20:13 +0000 (22:20 +0000)]
com_err.c (MacMessageBox): Change TextBox to TETextBox to match up
with CodeWarrior changes.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10617 dc483132-0cff-0310-8789-dd5450dbe970

26 years agooid_ops.c (generic_gss_release_oid): Recognize our own (new) "self"
Theodore Tso [Thu, 2 Jul 1998 22:12:05 +0000 (22:12 +0000)]
oid_ops.c (generic_gss_release_oid): Recognize our own (new) "self"
oids so that we don't free static oid's.  (exported_name and
nt_service_name_v2).

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10616 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoUpdate ReadMe file so it's a little bit more accurate...
Theodore Tso [Thu, 2 Jul 1998 22:10:16 +0000 (22:10 +0000)]
Update ReadMe file so it's a little bit more accurate...

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10615 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoRemove unneded Includes line
Theodore Tso [Thu, 2 Jul 1998 22:09:58 +0000 (22:09 +0000)]
Remove unneded Includes line

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10614 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoUpdate Macintosh changes to ChangeLog which Marshall made on 1/13/98
Theodore Tso [Thu, 2 Jul 1998 22:00:37 +0000 (22:00 +0000)]
Update Macintosh changes to ChangeLog which Marshall made on 1/13/98

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10613 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoUpdate Macintosh changes to ChangeLog
Theodore Tso [Thu, 2 Jul 1998 21:56:52 +0000 (21:56 +0000)]
Update Macintosh changes to ChangeLog

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10612 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoAdd new GSSAPI functions
Theodore Tso [Thu, 2 Jul 1998 21:53:38 +0000 (21:53 +0000)]
Add new GSSAPI functions

Also comment out __terminate and __initialize functions.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10611 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoUpdate Mac resource file to say 1.0.4b1
Theodore Tso [Thu, 2 Jul 1998 21:47:49 +0000 (21:47 +0000)]
Update Mac resource file to say 1.0.4b1

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10610 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoKerberosHeaders.h: Removed #endif with no matching initial #if
Theodore Tso [Wed, 1 Jul 1998 23:18:28 +0000 (23:18 +0000)]
KerberosHeaders.h: Removed #endif with no matching initial #if
statement.  (How did this compile before?)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10609 dc483132-0cff-0310-8789-dd5450dbe970

26 years agowin-mac.h: Make size_t to be an unsigned long instead of unsigned int
Theodore Tso [Wed, 1 Jul 1998 23:15:18 +0000 (23:15 +0000)]
win-mac.h: Make size_t to be an unsigned long instead of unsigned int

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10608 dc483132-0cff-0310-8789-dd5450dbe970

26 years agochk_trans.c (krb5_check_transited_list): Fix use of an uninitalized
Theodore Tso [Wed, 1 Jul 1998 22:01:29 +0000 (22:01 +0000)]
chk_trans.c (krb5_check_transited_list): Fix use of an uninitalized
variable; apparently the code was depending on the stack garbage being
non-zero(!)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10607 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoFix obvious bug where we were returning a pointer to an automatic
Theodore Tso [Wed, 1 Jul 1998 21:57:42 +0000 (21:57 +0000)]
Fix obvious bug where we were returning a pointer to an automatic
variable which should have been a static.  Fortunately nothing in the
Mac tree was using inet_ntoa()....

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10606 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoCommitted sarac's changes which make the mpw dependencies more sane
Theodore Tso [Wed, 1 Jul 1998 21:56:53 +0000 (21:56 +0000)]
Committed sarac's changes which make the mpw dependencies more sane

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10605 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * mk_priv.c (krb_mk_priv): Fix up call to pcbc_encrypt(). By
Tom Yu [Wed, 24 Jun 1998 07:16:57 +0000 (07:16 +0000)]
* mk_priv.c (krb_mk_priv): Fix up call to pcbc_encrypt().  By
  taking the address of key, the 5th arg to pcbc_encrypt() was
  actually a (char **) cast to a (C_Block *).  The reason for this
  is that a C_Block (actually a des_cblock) is typedef'ed from a
  char[8], which by being in the parameters of the definition of
  krb_mk_priv() becomes of type (char *).  This means that using the
  address operator on key resulted in a pointer to a pointer to a
  char rather than a pointer to a des_cblock, which would have been
  innocuous in this case because pcbc_encrypt() actually takes a
(des_cblock *) as the 5th (ivec) argument.  The moral is to never
  pass around naked arrays as function arguments; instead, pass
  around pointers to arrays to avoid spontaneous conversions to
  pointers sneaking up.  Note that CNS actually uses a (C_Block *)
everywhere, and maybe we should as well.  *whew*

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10603 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoTue Jun 23 06:28:51 1998 Matthew D Hancher <mdh@mit.edu>
Matthew Hancher [Tue, 23 Jun 1998 10:31:49 +0000 (10:31 +0000)]
Tue Jun 23 06:28:51 1998  Matthew D Hancher  <mdh@mit.edu>

* aclocal.m4: added a kluge to get shared libraries to build
        with gcc under Irix 6.3

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10602 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * cnv_tkt_skey.c (krb524_convert_tkt_skey): Handle null address
Tom Yu [Wed, 17 Jun 1998 20:38:09 +0000 (20:38 +0000)]
* cnv_tkt_skey.c (krb524_convert_tkt_skey): Handle null address
fields; actually use saddr (the address from the UDP header) to
generate the ticket address rather than just checking against it.

* conv_creds.c (krb524_convert_creds_plain): Punt address checks.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10601 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoDon't depend on $(RM) macro being defined when building kerbsrc-nt.zip
Theodore Tso [Wed, 27 May 1998 21:31:24 +0000 (21:31 +0000)]
Don't depend on $(RM) macro being defined when building kerbsrc-nt.zip

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10600 dc483132-0cff-0310-8789-dd5450dbe970