krb5.git
26 years agoAdded check for CFM
Miro Jurisic [Tue, 8 Sep 1998 19:56:55 +0000 (19:56 +0000)]
Added check for CFM

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

26 years agoccdefname.c (krb5_cc_default_name): Changed the PC version to use the
Theodore Tso [Tue, 1 Sep 1998 19:45:26 +0000 (19:45 +0000)]
ccdefname.c (krb5_cc_default_name): Changed the PC version to use the
CCache API by default.  Removed the old Macintosh code that had been
commented out.  (If we need to ressurect it, we'll get it from CVS.)

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

26 years agoBoth Macintoshes and Windows use the ccapi as the default credentials
Theodore Tso [Tue, 1 Sep 1998 19:39:26 +0000 (19:39 +0000)]
Both Macintoshes and Windows use the ccapi as the default credentials
cache.

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

26 years agoAdd #ifdef's so that correct header file (cacheapi.h vs. Ccache.h) is used
Theodore Tso [Tue, 1 Sep 1998 19:37:33 +0000 (19:37 +0000)]
Add #ifdef's so that correct header file (cacheapi.h vs. Ccache.h) is used
when building under Windows.

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

26 years agoOf course, the following sentence actually refers to the login function,
Geoffrey King [Sat, 29 Aug 1998 00:10:24 +0000 (00:10 +0000)]
Of course, the following sentence actually refers to the login function,
not the pass function:

Don't reply 230 "User logged in" if the user didn't send a PASS
command; this causes the client to get a bit confused.

ChangeLog:

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

26 years ago * ftpd.c (login): New function. Essentially, the old pass
Geoffrey King [Sat, 29 Aug 1998 00:03:22 +0000 (00:03 +0000)]
   * ftpd.c (login): New function.  Essentially, the old pass
       function has been split into its two logical components, pass and
       login.
       (pass): If auth_ok is true, reply with code 202 to tell the
       user that a PASS command is not necessary.  Also, don't reply
       230 "User logged in" if the user didn't send a PASS command;
       this causes the client to get a bit confused.
       (auth_ok): New function that returns true if either gss_ok or
       kerb_ok is true (all the #ifdefs were beginning to clutter things,
       and it's a good abstraction in case other auth types are ever
       added in the future).
       (user): If GSSAPI or Kerberos v4 authentication succeeds, call
       login immediately, instead of waiting for the client to send "PASS
       dummy."  Also, use #ifdef PARANOID instead of "some paranoid sites
       may wish to uncomment this"

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

26 years ago* cmds.c (user): Replace "oldlevel" with the more descriptive
Geoffrey King [Fri, 28 Aug 1998 22:56:36 +0000 (22:56 +0000)]
* cmds.c (user): Replace "oldlevel" with the more descriptive
"oldclevel".  Also, replace all occurrences of "dlevel" in this
function with "clevel".

* ftp.c (login): Test whether or not the server actually requires
"PASS dummy" by first sending "PWD" and checking the return value.

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

26 years agoAdded timeout to CW AppleEvents
Miro Jurisic [Fri, 28 Aug 1998 20:58:38 +0000 (20:58 +0000)]
Added timeout to CW AppleEvents

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

26 years agoUnlock makefile when building snapshot
Miro Jurisic [Fri, 28 Aug 1998 20:43:25 +0000 (20:43 +0000)]
Unlock makefile when building snapshot

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

26 years agoFixed the snapshot target
Miro Jurisic [Fri, 28 Aug 1998 20:33:44 +0000 (20:33 +0000)]
Fixed the snapshot target

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

26 years agoFixed the makefile target
Miro Jurisic [Fri, 28 Aug 1998 20:25:07 +0000 (20:25 +0000)]
Fixed the makefile target

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

26 years agoAdded perl and AppleScript stuff to automagically build CW projects
Miro Jurisic [Fri, 28 Aug 1998 20:22:33 +0000 (20:22 +0000)]
Added perl and AppleScript stuff to automagically build CW projects

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

26 years agoAdded release notes to the snapshot
Miro Jurisic [Fri, 28 Aug 1998 17:12:55 +0000 (17:12 +0000)]
Added release notes to the snapshot

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

26 years agoAdded release notes
Miro Jurisic [Fri, 28 Aug 1998 17:06:46 +0000 (17:06 +0000)]
Added release notes

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

26 years agoAdded MPW fragment aliasing script
Miro Jurisic [Fri, 28 Aug 1998 17:05:37 +0000 (17:05 +0000)]
Added MPW fragment aliasing script

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

26 years agoFixed typo in makefile
Miro Jurisic [Fri, 28 Aug 1998 16:50:31 +0000 (16:50 +0000)]
Fixed typo in makefile

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

26 years agoFixed dependencies in metaproject
Miro Jurisic [Fri, 28 Aug 1998 16:48:46 +0000 (16:48 +0000)]
Fixed dependencies in metaproject

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

26 years agoAdded CodeWarrior metaproject
Miro Jurisic [Fri, 28 Aug 1998 16:36:26 +0000 (16:36 +0000)]
Added CodeWarrior metaproject

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

26 years agoFixed typo in snapshot target
Miro Jurisic [Fri, 28 Aug 1998 16:10:18 +0000 (16:10 +0000)]
Fixed typo in snapshot target

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

26 years agoFixed typo in snapshot target
Miro Jurisic [Fri, 28 Aug 1998 16:03:14 +0000 (16:03 +0000)]
Fixed typo in snapshot target

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

26 years agoFixed typo in snapshot target
Miro Jurisic [Fri, 28 Aug 1998 16:01:44 +0000 (16:01 +0000)]
Fixed typo in snapshot target

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

26 years agoRemoved all mentions from static libraries and kconfig from readmes and makefile...
Miro Jurisic [Fri, 28 Aug 1998 15:57:00 +0000 (15:57 +0000)]
Removed all mentions from static libraries and kconfig from readmes and makefile; added debugging targets to makefile; upped versio nto 1.1a3

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

26 years agoAdded debugging versions od CCache API libs
Miro Jurisic [Fri, 28 Aug 1998 15:50:58 +0000 (15:50 +0000)]
Added debugging versions od CCache API libs

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

26 years agoAdd support to build the lib/krb5/ccache api directory and include it
Theodore Tso [Mon, 24 Aug 1998 22:01:12 +0000 (22:01 +0000)]
Add support to build the lib/krb5/ccache api directory and include it
in the Windows kerbsrc-nt.zip file.

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

26 years agoAdd windows build instructions to build CCache API Cache
Theodore Tso [Mon, 24 Aug 1998 21:59:14 +0000 (21:59 +0000)]
Add windows build instructions to build CCache API Cache
implementation.

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

26 years agoChanged Mac specific stuff to use CCache API
Miro Jurisic [Fri, 21 Aug 1998 21:38:05 +0000 (21:38 +0000)]
Changed Mac specific stuff to use CCache API

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

26 years agoAdded the CCache API libraries to the snapshot target
Miro Jurisic [Fri, 21 Aug 1998 21:25:41 +0000 (21:25 +0000)]
Added the CCache API libraries to the snapshot target

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

26 years agoAdded the CCache API libraries to the makefile
Miro Jurisic [Fri, 21 Aug 1998 21:03:08 +0000 (21:03 +0000)]
Added the CCache API libraries to the makefile

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

26 years agoAdded the CCAPI library files
Miro Jurisic [Fri, 21 Aug 1998 21:00:56 +0000 (21:00 +0000)]
Added the CCAPI library files

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

26 years agoAdded Frank's CCache API implementation and made it default on the Mac
Miro Jurisic [Thu, 20 Aug 1998 22:31:26 +0000 (22:31 +0000)]
Added Frank's CCache API implementation and made it default on the Mac

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

26 years agoChanged library version to 1.1a1, package version to 1.5a1
Miro Jurisic [Wed, 19 Aug 1998 22:57:25 +0000 (22:57 +0000)]
Changed library version to 1.1a1, package version to 1.5a1

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

26 years ago * conv_princ.c: Add some additional entries to sconv_list that
Tom Yu [Wed, 19 Aug 1998 21:28:22 +0000 (21:28 +0000)]
* conv_princ.c: Add some additional entries to sconv_list that
were forgotten.

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

26 years agoAdd optional support for the CCC (Clear Command Channel) command.
Geoffrey King [Wed, 19 Aug 1998 11:06:25 +0000 (11:06 +0000)]
Add optional support for the CCC (Clear Command Channel) command.
This command is dangerous, since it allows commands to be transmitted
without integrity checking, so the default behavior without the -c
option is still for the server to refuse to accept unprotected
commands.

    * ftpd.c: Add a new command line option, -c, which tells the
    server to accept the CCC command.

    * ftpcmd.y: If the -c option was given, check to make sure the CCC
    command itself was integrity protected, and then set ccc_ok to
    allow future commands to be transmitted as cleartext.
    (getline): Now that CCC is potentially allowed, we must check to
    see if we are parsing an unprotected command even if a security
    context is established (i.e. auth_type is set).

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

26 years agoAdded info about ignorable warniongs to the readme
Miro Jurisic [Tue, 18 Aug 1998 18:40:49 +0000 (18:40 +0000)]
Added info about ignorable warniongs to the readme

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

26 years agoRemoved 68K glue. We are back to static linking
Miro Jurisic [Tue, 18 Aug 1998 18:24:53 +0000 (18:24 +0000)]
Removed 68K glue. We are back to static linking

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

26 years agoChanged MPW crash information
Miro Jurisic [Mon, 17 Aug 1998 20:46:20 +0000 (20:46 +0000)]
Changed MPW crash information

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

26 years agomain.c (main): Declare dst_realm_sz as extern int instead of extern
Geoffrey King [Mon, 17 Aug 1998 08:43:29 +0000 (08:43 +0000)]
main.c (main): Declare dst_realm_sz as extern int instead of extern
char, to agree with its definition in libtelnet/kerberos.c.  This was
causing dst_realm_sz to be zero unexpectedly, and so strncpy was not
copying the -k realm argument into dest_realm.  [krb5-appl/616]

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

26 years ago * krcp.c (error): Don't call rcmd_stream_write if iamremote is not
Geoffrey King [Sat, 15 Aug 1998 05:26:28 +0000 (05:26 +0000)]
* krcp.c (error): Don't call rcmd_stream_write if iamremote is not
  set, because it expects a valid file descriptor [krb5-appl/359].
   Also, remove mistakenly duplicated comment above the function.

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

26 years agoChanged -sym fullpath to -sym on and upped version to 1.0.5b8
Miro Jurisic [Fri, 14 Aug 1998 17:53:36 +0000 (17:53 +0000)]
Changed -sym fullpath to -sym on and upped version to 1.0.5b8

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

26 years agoUpped version to 1.0.5b7
Miro Jurisic [Wed, 12 Aug 1998 17:23:28 +0000 (17:23 +0000)]
Upped version to 1.0.5b7

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

26 years agoFixed glue targets
Miro Jurisic [Wed, 12 Aug 1998 17:22:20 +0000 (17:22 +0000)]
Fixed glue targets

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

26 years ago * ftpcmd.y, ftpd.c: Replace global variable level with clevel and
Geoffrey King [Wed, 12 Aug 1998 07:03:48 +0000 (07:03 +0000)]
* ftpcmd.y, ftpd.c: Replace global variable level with clevel and
  dlevel to allow independence of command and data channel
  protection levels.

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

26 years ago * ftp.c, cmds.c, cmdtab.c, main.c, secure.c, ftp_var.h: Replace
Geoffrey King [Wed, 12 Aug 1998 06:53:38 +0000 (06:53 +0000)]
    * ftp.c, cmds.c, cmdtab.c, main.c, secure.c, ftp_var.h: Replace
        global variable level with separate variables clevel and dlevel
        for the control channel and data channel protection levels,
        respectively, so that the user may specify separate protection
        levels for each channel.  Similarly, functions such as getlevel
        and setlevel are now getclevel/getdlevel, and setclevel/setdlevel.

        * cmdtab.c: Add new FTP commands "cprotect" to allow the user to
        set the control channel protection level (similar to "protect"),
        and "ccc" (Clear Command Channel) which sets the control channel
        protection level to clear (per the RFC).

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

26 years agoWed Aug 12 00:17:09 1998 Matthew D Hancher <mdh@mit.edu>
Matthew Hancher [Wed, 12 Aug 1998 04:19:46 +0000 (04:19 +0000)]
Wed Aug 12 00:17:09 1998  Matthew D Hancher  <mdh@mit.edu>

* Makefile.in (AUTH_DEF): Undefine LOGIN_CAP_F so that telnetd
runs login with -f rather than -F for preauthenticated login,
following the changes in appl/bsd/.

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

26 years agoTue Aug 11 23:38:53 1998 Matthew D Hancher <mdh@mit.edu>
Matthew Hancher [Wed, 12 Aug 1998 03:41:07 +0000 (03:41 +0000)]
Tue Aug 11 23:38:53 1998  Matthew D Hancher  <mdh@mit.edu>

* klist.c (do_ccache): Properly check the return value of
krb5_cc_set_flags() so the right thing happens if there is no CC.

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

26 years agoTue Aug 11 04:30:59 1998 Matthew D Hancher <mdh@mit.edu>
Matthew Hancher [Tue, 11 Aug 1998 08:36:14 +0000 (08:36 +0000)]
Tue Aug 11 04:30:59 1998  Matthew D Hancher  <mdh@mit.edu>

* ftpd.c: Add support for extended logging as per PR#481. Using
the 'l' command line option twice now logs the major file commands,
and using it thrice logs bytecounts for RETR and STOR as well.

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

26 years agoMon Aug 10 17:51:59 1998 Matthew D Hancher <mdh@mit.edu>
Matthew Hancher [Mon, 10 Aug 1998 21:53:22 +0000 (21:53 +0000)]
Mon Aug 10 17:51:59 1998  Matthew D Hancher  <mdh@mit.edu>

* rd_svc_key.c (read_service_key): Don't call krb5_kt_close() if
krb5_kt_resolve() fails, so we don't segfault if the keytab name
is invalid.

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

26 years agoFixed glue targets' dependecnies
Miro Jurisic [Mon, 10 Aug 1998 21:17:15 +0000 (21:17 +0000)]
Fixed glue targets' dependecnies

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

26 years agoAdded glue input files to snapshot list
Miro Jurisic [Mon, 10 Aug 1998 17:15:04 +0000 (17:15 +0000)]
Added glue input files to snapshot list

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

26 years agoAdded glue input files to snapshot list
Miro Jurisic [Mon, 10 Aug 1998 17:14:08 +0000 (17:14 +0000)]
Added glue input files to snapshot list

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

26 years agoChanged location of glue output files
Miro Jurisic [Mon, 10 Aug 1998 17:10:55 +0000 (17:10 +0000)]
Changed location of glue output files

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

26 years agoAdded classic 68K glue directives to the clean targets
Miro Jurisic [Mon, 10 Aug 1998 16:58:35 +0000 (16:58 +0000)]
Added classic 68K glue directives to the clean targets

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

26 years agoAdded classic 68K glue directives to the Makefile template
Miro Jurisic [Mon, 10 Aug 1998 16:42:35 +0000 (16:42 +0000)]
Added classic 68K glue directives to the Makefile template

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

26 years agoAdded classic 68K glue
Miro Jurisic [Mon, 10 Aug 1998 16:33:41 +0000 (16:33 +0000)]
Added classic 68K glue

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

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