krb5.git
31 years agoDon't check file descriptor for secondary port if it is not defined
Theodore Tso [Tue, 21 Sep 1993 23:23:17 +0000 (23:23 +0000)]
Don't check file descriptor for secondary port if it is not defined

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

31 years agoRemove deference of freed structure
Theodore Tso [Tue, 21 Sep 1993 23:22:19 +0000 (23:22 +0000)]
Remove deference of freed structure

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

31 years agoChange to get the admin server to obtain the correct service key when
Theodore Tso [Tue, 21 Sep 1993 23:18:39 +0000 (23:18 +0000)]
Change to get the admin server to obtain the correct service key when
operating in a freign realm.

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

31 years agoChange the version one credentials cache code so that the length field
Theodore Tso [Fri, 10 Sep 1993 22:07:29 +0000 (22:07 +0000)]
Change the version one credentials cache code so that the length field
is used in the DCE version of Kerberos.

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

31 years agoChanges from jik so that the .k5login file is honored even if it is
Theodore Tso [Wed, 1 Sep 1993 21:46:53 +0000 (21:46 +0000)]
Changes from jik so that the .k5login file is honored even if it is
owned by root.

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

31 years agoChanged krb5_generate_authenticator to accept a princiapl instead of
Theodore Tso [Wed, 1 Sep 1993 20:20:14 +0000 (20:20 +0000)]
Changed krb5_generate_authenticator to accept a princiapl instead of
a credentials structure for the second argument.

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

31 years agoWrong free routine was being called
Theodore Tso [Wed, 1 Sep 1993 19:58:53 +0000 (19:58 +0000)]
Wrong free routine was being called

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

31 years agoModifications supplied by Ari Medvinsky to include the authorization
Theodore Tso [Wed, 1 Sep 1993 19:03:28 +0000 (19:03 +0000)]
Modifications supplied by Ari Medvinsky to include the authorization
data field in the authenticator.

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

31 years agoChange export warning notice from "is assumed to require an export license"
Theodore Tso [Wed, 1 Sep 1993 03:21:21 +0000 (03:21 +0000)]
Change export warning notice from "is assumed to require an export license"
to "may require..."

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

31 years agoFix typo in TGS_NAME
Theodore Tso [Wed, 18 Aug 1993 18:33:19 +0000 (18:33 +0000)]
Fix typo in TGS_NAME

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

31 years agoPart of library directory reorg... the DONE file contains the list of
Theodore Tso [Tue, 17 Aug 1993 20:10:05 +0000 (20:10 +0000)]
Part of library directory reorg... the DONE file contains the list of
object files to be included in the library.

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

31 years agoFix to ignore all CVS directories...
Theodore Tso [Tue, 17 Aug 1993 20:09:09 +0000 (20:09 +0000)]
Fix to ignore all CVS directories...

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

31 years agoThis shouldn't have been here...
Theodore Tso [Tue, 17 Aug 1993 20:05:15 +0000 (20:05 +0000)]
This shouldn't have been here...

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

31 years agoFix memory leak; free_principal now frees entire kerberos principal
Theodore Tso [Tue, 17 Aug 1993 20:03:24 +0000 (20:03 +0000)]
Fix memory leak; free_principal now frees entire kerberos principal
structure!

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

31 years agoCleaned up TGTNAME define; now KRB5_TGS_NAME
Theodore Tso [Tue, 17 Aug 1993 03:58:24 +0000 (03:58 +0000)]
Cleaned up TGTNAME define; now KRB5_TGS_NAME

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

31 years agoRemove debugging syslogs
Theodore Tso [Tue, 17 Aug 1993 03:49:35 +0000 (03:49 +0000)]
Remove debugging syslogs

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

31 years agoImproved logging of TGS and AS error cases
Theodore Tso [Tue, 17 Aug 1993 02:43:46 +0000 (02:43 +0000)]
Improved logging of TGS and AS error cases

Fixed interrealm authentication; will now give out tickets for foreign
interrealm requests.

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

31 years agoWhen creating a build tree, don't bother with the CVS directories
Theodore Tso [Tue, 17 Aug 1993 01:18:05 +0000 (01:18 +0000)]
When creating a build tree, don't bother with the CVS directories

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

31 years agoLibrary directory reorganization; there are now crypto and krb5 directories,
Theodore Tso [Wed, 4 Aug 1993 06:01:35 +0000 (06:01 +0000)]
Library directory reorganization; there are now crypto and krb5 directories,
for the libcrypto.a and libkrb5.a files, respectively.  The directories
which contained files making up those libraries have been moved under those
directories.

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

31 years agoLibrary directory reorganization; there are now crypto and krb5 directories,
Theodore Tso [Wed, 4 Aug 1993 05:29:05 +0000 (05:29 +0000)]
Library directory reorganization; there are now crypto and krb5 directories,
for the libcrypto.a and libkrb5.a files, respectively.  The directories
which contained files making up those libraries have been moved under those
directories.

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

31 years agoNeed to include osconf.h for porting to Linux
Theodore Tso [Thu, 29 Jul 1993 04:37:41 +0000 (04:37 +0000)]
Need to include osconf.h for porting to Linux

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

31 years agoelement_KRB5_12 really should be element_KRB5_15; brain-damanaged
Theodore Tso [Thu, 29 Jul 1993 04:33:35 +0000 (04:33 +0000)]
element_KRB5_12 really should be element_KRB5_15; brain-damanaged
MIPS cc didn't notice this!?!

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

31 years agoRename sendto to krb4_sendto, to avoid conflict with libc version
Theodore Tso [Thu, 29 Jul 1993 04:19:40 +0000 (04:19 +0000)]
Rename sendto to krb4_sendto, to avoid conflict with libc version

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

31 years agoMove #includes for porting fixes
Theodore Tso [Thu, 29 Jul 1993 04:18:26 +0000 (04:18 +0000)]
Move #includes for porting fixes

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

31 years agoMoved #include of kdb5_edit.h past the declaration of struct saltblock,
Theodore Tso [Thu, 29 Jul 1993 04:09:21 +0000 (04:09 +0000)]
Moved #include of kdb5_edit.h past the declaration of struct saltblock,
since kdb5_edit.h requires it.

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

31 years agoRemoved ccimake and imake; those are executables
Theodore Tso [Thu, 29 Jul 1993 04:07:17 +0000 (04:07 +0000)]
Removed ccimake and imake; those are executables

Fixed project.tmpl to use the mk_cmds in the util directory.

Linux porting changes.

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

31 years agoAdded configuration file for Linux
Theodore Tso [Thu, 29 Jul 1993 03:25:50 +0000 (03:25 +0000)]
Added configuration file for Linux

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

31 years agofixed mk_req and rd_req
Tom Yu [Wed, 14 Jul 1993 21:37:53 +0000 (21:37 +0000)]
fixed mk_req and rd_req

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

31 years agoMake sure krb5_init_ets() only initalizes the error tables once
Theodore Tso [Sat, 10 Jul 1993 02:43:16 +0000 (02:43 +0000)]
Make sure krb5_init_ets() only initalizes the error tables once

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

31 years agoFix broken kerberos database restore
Theodore Tso [Sat, 10 Jul 1993 02:39:47 +0000 (02:39 +0000)]
Fix broken kerberos database restore

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

31 years agoAdded new configuration variable to take into account ISODE 7.0 versus
Theodore Tso [Fri, 2 Jul 1993 20:00:44 +0000 (20:00 +0000)]
Added new configuration variable to take into account ISODE 7.0 versus
older versions of ISODE.

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

31 years agoLet's not depend on SourceTop for now...
Theodore Tso [Fri, 2 Jul 1993 03:09:59 +0000 (03:09 +0000)]
Let's not depend on SourceTop for now...

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

31 years agoChanged LnCmd to include the -f option, so that it won't fail if the
Theodore Tso [Fri, 2 Jul 1993 02:55:35 +0000 (02:55 +0000)]
Changed LnCmd to include the -f option, so that it won't fail if the
link already exists.

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

31 years agoDefine IsodeIncl; the link to the isode include hierarchy is now generated
Theodore Tso [Fri, 4 Jun 1993 05:59:14 +0000 (05:59 +0000)]
Define IsodeIncl; the link to the isode include hierarchy is now generated
at "make include" time.

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

31 years agoWrong version of .rconf added to repository during CVS check in
Theodore Tso [Fri, 4 Jun 1993 05:53:19 +0000 (05:53 +0000)]
Wrong version of .rconf added to repository during CVS check in

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

31 years agoInitial revision
Theodore Tso [Thu, 3 Jun 1993 19:29:40 +0000 (19:29 +0000)]
Initial revision

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

31 years agoInitial revision
Theodore Tso [Thu, 3 Jun 1993 12:31:48 +0000 (12:31 +0000)]
Initial revision

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

31 years agoChanged to support double-precision math; some broken awk's can't handle
Theodore Tso [Thu, 3 Jun 1993 12:27:22 +0000 (12:27 +0000)]
Changed to support double-precision math; some broken awk's can't handle
numbers as big as this script needs to manipulate.

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

31 years agoPortability changes
Theodore Tso [Thu, 3 Jun 1993 12:25:24 +0000 (12:25 +0000)]
Portability changes

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

31 years agoChange DEFAULT_ACL_NAME to DEFAULT_ADMIN_ACL
Theodore Tso [Thu, 3 Jun 1993 12:23:39 +0000 (12:23 +0000)]
Change DEFAULT_ACL_NAME to DEFAULT_ADMIN_ACL

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

31 years agoChange DEFAULT_DBM_FILE to DEFAULT_KDB_FILE. Include krb5/osconf
Theodore Tso [Thu, 3 Jun 1993 12:22:18 +0000 (12:22 +0000)]
Change DEFAULT_DBM_FILE to DEFAULT_KDB_FILE.  Include krb5/osconf

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

31 years agoChange to reflect new calling interface for krb5_sname_to_principal
Theodore Tso [Thu, 3 Jun 1993 12:21:57 +0000 (12:21 +0000)]
Change to reflect new calling interface for krb5_sname_to_principal

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

31 years agoRemove DependTarget (done by default)
Theodore Tso [Thu, 3 Jun 1993 12:20:49 +0000 (12:20 +0000)]
Remove DependTarget (done by default)

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

31 years agoChange to work with Kerboers Imake structure
Theodore Tso [Thu, 3 Jun 1993 12:18:48 +0000 (12:18 +0000)]
Change to work with Kerboers Imake structure

Changed to include Kerberos libraries.

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

31 years agoChange dependencies on path.h to KRB5_PATH_TTY, KRB5_PATH_LOGIN, etc
Theodore Tso [Thu, 3 Jun 1993 12:18:16 +0000 (12:18 +0000)]
Change dependencies on path.h to KRB5_PATH_TTY, KRB5_PATH_LOGIN, etc

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

31 years agoAllow variable $(INCLUDES)
Theodore Tso [Thu, 3 Jun 1993 12:17:05 +0000 (12:17 +0000)]
Allow variable $(INCLUDES)

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

31 years agoVax doesn't need machine/endian.h (our vax doesn't have it)
Theodore Tso [Thu, 3 Jun 1993 12:16:16 +0000 (12:16 +0000)]
Vax doesn't need machine/endian.h (our vax doesn't have it)

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

31 years agoChanged so that kerberos5.c would compile with the ENCRYPTION option
Theodore Tso [Thu, 3 Jun 1993 12:15:18 +0000 (12:15 +0000)]
Changed so that kerberos5.c would compile with the ENCRYPTION option
turned off.

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

31 years agoAdded support for credentials forwarding
Theodore Tso [Thu, 3 Jun 1993 12:14:18 +0000 (12:14 +0000)]
Added support for credentials forwarding

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

31 years agoAdded support for credentials forwarding
Theodore Tso [Thu, 3 Jun 1993 12:13:44 +0000 (12:13 +0000)]
Added support for credentials forwarding

Support both V4 and V5 authentication.

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

31 years agoFixed logic bug which lead to a security bug when both .rhosts and
Theodore Tso [Thu, 3 Jun 1993 12:12:49 +0000 (12:12 +0000)]
Fixed logic bug which lead to a security bug when both .rhosts and
Kerberos-mediated logins were done.

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

31 years agoDefine #KERBEROS, so things don't break
Theodore Tso [Thu, 3 Jun 1993 12:12:07 +0000 (12:12 +0000)]
Define #KERBEROS, so things don't break

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

31 years agoAdded forward.c -- credentials forwarding
Theodore Tso [Thu, 3 Jun 1993 12:11:09 +0000 (12:11 +0000)]
Added forward.c -- credentials forwarding

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

31 years agoChanged organization; server and client in separate directories
Theodore Tso [Thu, 3 Jun 1993 12:10:22 +0000 (12:10 +0000)]
Changed organization; server and client in separate directories

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

31 years agoRemove LintTarget (done by default)
Theodore Tso [Thu, 3 Jun 1993 12:09:58 +0000 (12:09 +0000)]
Remove LintTarget (done by default)

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

31 years agoChanged organization; server and client in separate directories
Theodore Tso [Thu, 3 Jun 1993 12:08:25 +0000 (12:08 +0000)]
Changed organization; server and client in separate directories

Fixed bad printf format.

Changed convert_sname_principal interface.

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

31 years agoRemove lint target (added by default)
Theodore Tso [Thu, 3 Jun 1993 12:07:59 +0000 (12:07 +0000)]
Remove lint target (added by default)

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

31 years agoInclude telnet as one of the applications to build
Theodore Tso [Thu, 3 Jun 1993 12:07:18 +0000 (12:07 +0000)]
Include telnet as one of the applications to build

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

31 years agoChange DEFAULT_DBM_FILE to DEFUALT_KDB_FILE
Theodore Tso [Thu, 3 Jun 1993 12:06:52 +0000 (12:06 +0000)]
Change DEFAULT_DBM_FILE to DEFUALT_KDB_FILE

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

31 years agoAdded OS_Telnet name of 4.3bsd. Use gawk instead of awk for this architecture
Theodore Tso [Thu, 3 Jun 1993 11:56:13 +0000 (11:56 +0000)]
Added OS_Telnet name of 4.3bsd.  Use gawk instead of awk for this architecture

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

31 years agoFixed OS_TelnetName to be Ultrix4.2
Theodore Tso [Thu, 3 Jun 1993 11:55:53 +0000 (11:55 +0000)]
Fixed OS_TelnetName to be Ultrix4.2

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

31 years agoSunOS does have setenv. Fixed typo in HasGcc
Theodore Tso [Thu, 3 Jun 1993 11:55:22 +0000 (11:55 +0000)]
SunOS does have setenv.  Fixed typo in HasGcc

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

31 years agoChanges to move ss and et into the build tree. Changes to explicitly grab
Theodore Tso [Thu, 3 Jun 1993 11:54:30 +0000 (11:54 +0000)]
Changes to move ss and et into the build tree.  Changes to explicitly grab
Kerberos V4 libraries.  Changes to make install locations more configurable.

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

31 years agoChanges to include ss and et as part of the Kerberos V5 build
Theodore Tso [Thu, 3 Jun 1993 11:53:21 +0000 (11:53 +0000)]
Changes to include ss and et as part of the Kerberos V5 build

Changes to improve configurability of where Kerberos's data files live.

Changes to move the Imake macros closer to those used by X11.

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

31 years agoLots of changes to bring Imake.tmpl closer to the X11 standard
Theodore Tso [Thu, 3 Jun 1993 11:52:55 +0000 (11:52 +0000)]
Lots of changes to bring Imake.tmpl closer to the X11 standard

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

31 years agoLots of changes to bring the macros used closer to the X11 imake rules
Theodore Tso [Thu, 3 Jun 1993 11:51:51 +0000 (11:51 +0000)]
Lots of changes to bring the macros used closer to the X11 imake rules

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

31 years agoChanged to use a search list of preauthentication techniques
Theodore Tso [Thu, 3 Jun 1993 11:50:52 +0000 (11:50 +0000)]
Changed to use a search list of preauthentication techniques

Changed to support getting an initial ticket from a service key.

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

31 years agoFixes to improve logging and cleanup deallocation strategy
Theodore Tso [Thu, 3 Jun 1993 11:49:53 +0000 (11:49 +0000)]
Fixes to improve logging and cleanup deallocation strategy

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

31 years agoPass in actual packet to process_tgs_req so that two different checksumming
Theodore Tso [Thu, 3 Jun 1993 11:48:28 +0000 (11:48 +0000)]
Pass in actual packet to process_tgs_req so that two different checksumming
can be done, in case of ASN.1 screwup.

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

31 years agoFixed #ifdef 0 --> #if 0
Theodore Tso [Thu, 3 Jun 1993 11:48:11 +0000 (11:48 +0000)]
Fixed #ifdef 0 --> #if 0

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

31 years agoChanged function delcaration to support doing two ways of checksumming
Theodore Tso [Thu, 3 Jun 1993 11:47:12 +0000 (11:47 +0000)]
Changed function delcaration to support doing two ways of checksumming
a TGS_REQ, because of an ASN.1 encoding screwup.

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

31 years agoChanged deallocation strategy to be cleaner
Theodore Tso [Thu, 3 Jun 1993 11:46:23 +0000 (11:46 +0000)]
Changed deallocation strategy to be cleaner

Changes to support two variants on the checksumming behavior to fix
ASN.1 encoding screwup.

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

31 years agoFixed bug where a freed structure was being derefenced
Theodore Tso [Thu, 3 Jun 1993 11:42:29 +0000 (11:42 +0000)]
Fixed bug where a freed structure was being derefenced

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

31 years agoImprove error message logging
Theodore Tso [Thu, 3 Jun 1993 11:40:01 +0000 (11:40 +0000)]
Improve error message logging

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

31 years agoPortability changes
Theodore Tso [Thu, 3 Jun 1993 11:33:33 +0000 (11:33 +0000)]
Portability changes

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

31 years ago*** empty log message ***
Theodore Tso [Thu, 3 Jun 1993 11:31:22 +0000 (11:31 +0000)]
*** empty log message ***

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

31 years agoChanged to only encode the rtime if it is non-zero in the structure
Theodore Tso [Thu, 3 Jun 1993 00:27:43 +0000 (00:27 +0000)]
Changed to only encode the rtime if it is non-zero in the structure

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

31 years agoChanged to only encode the from time if it is non-zero in the structure
Theodore Tso [Thu, 3 Jun 1993 00:27:21 +0000 (00:27 +0000)]
Changed to only encode the from time if it is non-zero in the structure

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

31 years agoPatch so that a ticket with no host address generate the correct
Theodore Tso [Thu, 3 Jun 1993 00:25:41 +0000 (00:25 +0000)]
Patch so that a ticket with no host address generate the correct
ASN.1 code.  (The host address field is optional!!!)

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

31 years agoChange to generate the renew_time if it was non-zero in the structure,
Theodore Tso [Thu, 3 Jun 1993 00:24:52 +0000 (00:24 +0000)]
Change to generate the renew_time if it was non-zero in the structure,
instead of depending on the ticket flags.

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

31 years agoChnages to support the new KRB5_CRED message
Theodore Tso [Thu, 3 Jun 1993 00:24:28 +0000 (00:24 +0000)]
Chnages to support the new KRB5_CRED message

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

31 years agoNew routines to support the new KRB_CRED structure
Theodore Tso [Thu, 3 Jun 1993 00:24:05 +0000 (00:24 +0000)]
New routines to support the new KRB_CRED structure

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

31 years agoInitial revision
Theodore Tso [Thu, 3 Jun 1993 00:24:01 +0000 (00:24 +0000)]
Initial revision

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

31 years agoAdded new error code for bad name type when converting a hostname to
Theodore Tso [Thu, 3 Jun 1993 00:23:02 +0000 (00:23 +0000)]
Added new error code for bad name type when converting a hostname to
a service principal.

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

31 years agoAdded new error: unsupported version in database entry
Theodore Tso [Thu, 3 Jun 1993 00:22:44 +0000 (00:22 +0000)]
Added new error: unsupported version in database entry

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

31 years agoTo support the new KRB5_CRED structures
Theodore Tso [Thu, 3 Jun 1993 00:21:36 +0000 (00:21 +0000)]
To support the new KRB5_CRED structures

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

31 years agoChange to reflect new Imake macros
Theodore Tso [Thu, 3 Jun 1993 00:20:26 +0000 (00:20 +0000)]
Change to reflect new Imake macros

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

31 years agoChanged interface to include canonicalization and different requested
Theodore Tso [Thu, 3 Jun 1993 00:19:07 +0000 (00:19 +0000)]
Changed interface to include canonicalization and different requested
name types.

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

31 years agoChanged so that if there is to DBM translation file, to fall back to
Theodore Tso [Thu, 3 Jun 1993 00:17:53 +0000 (00:17 +0000)]
Changed so that if there is to DBM translation file, to fall back to
conversion to a username.

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

31 years agoMake sendauth() work if the passed-in checksum pointer is NULL
Theodore Tso [Thu, 3 Jun 1993 00:15:09 +0000 (00:15 +0000)]
Make sendauth() work if the passed-in checksum pointer is NULL

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

31 years agoMake sure authorization data in the TGS_REQ is initialized correctly
Theodore Tso [Thu, 3 Jun 1993 00:14:42 +0000 (00:14 +0000)]
Make sure authorization data in the TGS_REQ is initialized correctly

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

31 years agoFix so that recvauth will work even if a null cachename is passed in
Theodore Tso [Thu, 3 Jun 1993 00:14:04 +0000 (00:14 +0000)]
Fix so that recvauth will work even if a null cachename is passed in

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

31 years agoOnly generate a key if it's necessary
Theodore Tso [Thu, 3 Jun 1993 00:13:29 +0000 (00:13 +0000)]
Only generate a key if it's necessary

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

31 years agoPatches to get user-to-user credentials to work correctly
Theodore Tso [Thu, 3 Jun 1993 00:12:41 +0000 (00:12 +0000)]
Patches to get user-to-user credentials to work correctly

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

31 years agoFix bug where an allocated structure was used before it was checked to
Theodore Tso [Thu, 3 Jun 1993 00:11:44 +0000 (00:11 +0000)]
Fix bug where an allocated structure was used before it was checked to
see if it were null.

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

31 years agoRevamped to handle conversion both back and forth between V4 and V5 names
Theodore Tso [Thu, 3 Jun 1993 00:11:05 +0000 (00:11 +0000)]
Revamped to handle conversion both back and forth between V4 and V5 names

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

31 years agoAdded the new util and config-files subdirectories
Theodore Tso [Thu, 3 Jun 1993 00:09:56 +0000 (00:09 +0000)]
Added the new util and config-files subdirectories

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

31 years agoAdded defines for the kerberos database file and the admin acl file
Theodore Tso [Thu, 3 Jun 1993 00:08:50 +0000 (00:08 +0000)]
Added defines for the kerberos database file and the admin acl file

Also added configuration defines KRB5_PATH_TTY, KRB5_PATH_LOGIN, and
KRB5_PATH_RLOGIN.

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

31 years agoAdded support for KRB5_CRED message
Theodore Tso [Thu, 3 Jun 1993 00:08:25 +0000 (00:08 +0000)]
Added support for KRB5_CRED message

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

31 years agoAdded support for KRB5_CRED messages
Theodore Tso [Thu, 3 Jun 1993 00:07:20 +0000 (00:07 +0000)]
Added support for KRB5_CRED messages

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