krb5.git
25 years agoMerged lxs' changes (removed 3des code from export list)
Miro Jurisic [Tue, 27 Oct 1998 21:52:56 +0000 (21:52 +0000)]
Merged lxs' changes (removed 3des code from export list)

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

25 years agoAdd -A (require authentication but not necessarily authorization) and
Dan Winship [Mon, 26 Oct 1998 19:00:46 +0000 (19:00 +0000)]
Add -A (require authentication but not necessarily authorization) and
-C (user wants local credentials) flags to ftpd.

If -C is set, write out forwarded credentials to disk and use krb524 to
get krb4 tickets as well. If user doesn't forward credentials, require
a password even if auth was successful and use that to get credentials.

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

25 years ago * ftp.M: Add documentation for new ccc and cprotect commands.
Geoffrey King [Mon, 26 Oct 1998 11:46:30 +0000 (11:46 +0000)]
* ftp.M: Add documentation for new ccc and cprotect commands.
Also, add previously omitted command line options -u and -t and
"passive" command to the man page.

* main.c (main): Print out a usage message instead of just
"unknown option."

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

25 years agoftpd.c (pass): Wait 5 seconds before returning "password
Theodore Tso [Sat, 24 Oct 1998 00:25:41 +0000 (00:25 +0000)]
ftpd.c (pass): Wait 5 seconds before returning "password
incorrect", and only allow three bad passwords.  Then
return an 421 reply code before closing the connection and
going away.

ftpcmd.y (cmd): Don't allow the PORT command to accept a port
number lower than 1024; this prevents some nasty ftp
"bounce attacks" to SMTP ports, etc.

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

25 years agoMerged in smcguire's fixes
Miro Jurisic [Fri, 23 Oct 1998 23:18:56 +0000 (23:18 +0000)]
Merged in smcguire's fixes

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

25 years agoUpdated deslib binaries
Miro Jurisic [Fri, 23 Oct 1998 23:12:40 +0000 (23:12 +0000)]
Updated deslib binaries

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

25 years agoAdded Mac DES shared library
Miro Jurisic [Fri, 23 Oct 1998 05:05:22 +0000 (05:05 +0000)]
Added Mac DES shared library

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

25 years agoFixed build instructions and upped version to 1.1a4
Miro Jurisic [Wed, 21 Oct 1998 21:59:34 +0000 (21:59 +0000)]
Fixed build instructions and upped version to 1.1a4

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

25 years agoAdded CodeWarrior Pro4 projects and docs, updated the Mac makefile to automagically...
Miro Jurisic [Wed, 21 Oct 1998 21:51:20 +0000 (21:51 +0000)]
Added CodeWarrior Pro4 projects and docs, updated the Mac makefile to automagically build CW projects, updated CCache lib files

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

25 years agoupdate ftpd man page to fully match reality (-a, -c, -u, CCC)
Dan Winship [Tue, 20 Oct 1998 20:35:54 +0000 (20:35 +0000)]
update ftpd man page to fully match reality (-a, -c, -u, CCC)

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

25 years ago * telnet.c (telnet): Cosmetic change: Put a newline after "Waiting
Geoffrey King [Sat, 10 Oct 1998 10:32:34 +0000 (10:32 +0000)]
    * telnet.c (telnet): Cosmetic change: Put a newline after "Waiting
        for encryption to be negotiated..." so that the response
        "[ Kerberos V5 accepts you as ``gjking@ATHENA.MIT.EDU'' ]" doesn't
        run off the end of the line.

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

25 years agokrshd.c (doit): Apply ghudson's patch so that rshd passes the port
Theodore Tso [Thu, 8 Oct 1998 05:51:33 +0000 (05:51 +0000)]
krshd.c (doit): Apply ghudson's patch so that rshd passes the port
numbers for the local and foreign addresses so that the V4 encrypted
RCP will work correctly.  [krb5-appl/638]

v4rcp.c (answer_auth): Apply ghudson's patch so that if KRB5LOCALPORT
and KRB5REMOTEPORT are set, use them to set the foreign and
local ports so that encrypted rcp for the same machine.
[krb5-appl/638]

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

25 years ago * ftpd.c: Add support for restricted users, as requested in
Geoffrey King [Thu, 8 Oct 1998 05:21:56 +0000 (05:21 +0000)]
* ftpd.c: Add support for restricted users, as requested in
[krb5-appl/481].  Users that appear in /etc/ftpusers, followed
by the keyword "restrict" will be granted access, but a chroot()
will be done to their home directory.

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

26 years agocmdtab.c: Update help message for passive mode so that it
Theodore Tso [Fri, 2 Oct 1998 20:23:31 +0000 (20:23 +0000)]
cmdtab.c: Update help message for passive mode so that it
indicates that the "passive" command toggles passive mode.

main.c (main): Make passive mode off by default.

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

26 years agoAdd support for changing the master key for a database as part of
Theodore Tso [Wed, 30 Sep 1998 04:03:35 +0000 (04:03 +0000)]
Add support for changing the master key for a database as part of
creating a dump of the database.

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

26 years agoDon't use h_errno, it's not fully portable, and it's not worth it
Theodore Tso [Tue, 29 Sep 1998 23:26:45 +0000 (23:26 +0000)]
Don't use h_errno, it's not fully portable, and it's not worth it

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

26 years agoDon't use h_errno at all; it doesn't work on all platforms (for
Theodore Tso [Tue, 29 Sep 1998 23:26:19 +0000 (23:26 +0000)]
Don't use h_errno at all; it doesn't work on all platforms (for
example HPUX), and it's just not worth the effort to disambiguate
between the different reasons why gethostbyname() might have failed.

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

26 years agoWe shouldn't try to use the CCache API on Unix systems. (The maze of
Theodore Tso [Sat, 26 Sep 1998 02:34:56 +0000 (02:34 +0000)]
We shouldn't try to use the CCache API on Unix systems.  (The maze of
#ifdef's was confusing.)

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

26 years ago * mkrel: Add fixes to deal with "tails" on release directories,
Tom Yu [Fri, 25 Sep 1998 00:05:59 +0000 (00:05 +0000)]
* mkrel: Add fixes to deal with "tails" on release directories,
e.g. for beta releases.

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

26 years agoresurrecting
Tom Yu [Mon, 21 Sep 1998 22:30:28 +0000 (22:30 +0000)]
resurrecting

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

26 years agooop
Tom Yu [Mon, 21 Sep 1998 22:06:56 +0000 (22:06 +0000)]
oop

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

26 years agorestoring deleted files
Tom Yu [Mon, 21 Sep 1998 22:06:07 +0000 (22:06 +0000)]
restoring deleted files

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

26 years agofix incorrect version
Tom Yu [Mon, 21 Sep 1998 21:40:25 +0000 (21:40 +0000)]
fix incorrect version

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

26 years agoresurrect accidentally deleted files
Tom Yu [Mon, 21 Sep 1998 21:37:40 +0000 (21:37 +0000)]
resurrect accidentally deleted files

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

26 years agorestore accidentally deleted files
Tom Yu [Mon, 21 Sep 1998 21:33:13 +0000 (21:33 +0000)]
restore accidentally deleted files

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

26 years agomerge of tlyu-3des-k4
Tom Yu [Sat, 19 Sep 1998 02:32:21 +0000 (02:32 +0000)]
merge of tlyu-3des-k4

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

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