krb5.git
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

31 years agoAdded macros for FD_SET and company, if not otherwise defined
Theodore Tso [Thu, 3 Jun 1993 00:06:48 +0000 (00:06 +0000)]
Added macros for FD_SET and company, if not otherwise defined

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

31 years agoAdded message type number for KRB5_CRED message
Theodore Tso [Thu, 3 Jun 1993 00:06:31 +0000 (00:06 +0000)]
Added message type number for KRB5_CRED message

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

31 years agoChanged prototype of krb5_sname_to_principal
Theodore Tso [Thu, 3 Jun 1993 00:06:08 +0000 (00:06 +0000)]
Changed prototype of krb5_sname_to_principal

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

31 years agoAdded the kdc_cred structures
Theodore Tso [Thu, 3 Jun 1993 00:05:17 +0000 (00:05 +0000)]
Added the kdc_cred structures

Removed FD_SET commands to a better place (sysincls.h)

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

31 years agoAdded definition for DEFAULT_DBM_FILE
Theodore Tso [Thu, 3 Jun 1993 00:04:47 +0000 (00:04 +0000)]
Added definition for DEFAULT_DBM_FILE

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

31 years agoRemove default flag which diallowed skey operation
Theodore Tso [Thu, 3 Jun 1993 00:04:26 +0000 (00:04 +0000)]
Remove default flag which diallowed skey operation

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

31 years agoChange KDC_TKT_COMMON_MASK for proper KDC operation
Theodore Tso [Thu, 3 Jun 1993 00:03:54 +0000 (00:03 +0000)]
Change KDC_TKT_COMMON_MASK for proper KDC operation

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

31 years agoAdd definition for DEFAULT_ACL_NAME
Theodore Tso [Thu, 3 Jun 1993 00:03:38 +0000 (00:03 +0000)]
Add definition for DEFAULT_ACL_NAME

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

31 years agoChange DEFAULT_DBM_FILE to DEFAULT_KDB_FILE
Theodore Tso [Thu, 3 Jun 1993 00:03:22 +0000 (00:03 +0000)]
Change DEFAULT_DBM_FILE to DEFAULT_KDB_FILE

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

31 years agoFix typo for dbname
Theodore Tso [Thu, 3 Jun 1993 00:02:16 +0000 (00:02 +0000)]
Fix typo for dbname

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

31 years agoFix typo
Theodore Tso [Thu, 3 Jun 1993 00:02:01 +0000 (00:02 +0000)]
Fix typo

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

31 years agoChanged Kerberos V4 libraries configuration
Theodore Tso [Thu, 3 Jun 1993 00:00:56 +0000 (00:00 +0000)]
Changed Kerberos V4 libraries configuration

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

31 years agoChecked in changes from ISI
Theodore Tso [Wed, 2 Jun 1993 13:31:03 +0000 (13:31 +0000)]
Checked in changes from ISI

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

31 years ago*** empty log message ***
Theodore Tso [Tue, 13 Apr 1993 19:56:34 +0000 (19:56 +0000)]
*** empty log message ***

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

31 years agoWith prasad's changes to implement forwarding accept and reject options,
Theodore Tso [Mon, 12 Apr 1993 16:40:40 +0000 (16:40 +0000)]
With prasad's changes to implement forwarding accept and reject options,
sent 3/30/93.

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

31 years agoAdded fixes for doing ASN.1 breakdown to find KDC-REQ-BODY for checksuming
Theodore Tso [Mon, 15 Mar 1993 16:16:48 +0000 (16:16 +0000)]
Added fixes for doing ASN.1 breakdown to find KDC-REQ-BODY for checksuming
purposes.

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

31 years agoAdded changes from HP to checksum actual asn.1 KDC-REQ-BODY structure,
Theodore Tso [Mon, 15 Mar 1993 15:46:51 +0000 (15:46 +0000)]
Added changes from HP to checksum actual asn.1 KDC-REQ-BODY structure,
instead of encoding and decoding it.

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

31 years agoFixed bug in TGS validation logic which prevented you from getting a
Theodore Tso [Fri, 12 Mar 1993 15:58:28 +0000 (15:58 +0000)]
Fixed bug in TGS validation logic which prevented you from getting a
forwarded ticket from a TGT

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

31 years ago*** empty log message ***
Theodore Tso [Wed, 10 Mar 1993 00:31:23 +0000 (00:31 +0000)]
*** empty log message ***

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

31 years agoInitial Version
Theodore Tso [Tue, 9 Mar 1993 23:45:26 +0000 (23:45 +0000)]
Initial Version

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

31 years agoInitial revision
Theodore Tso [Tue, 9 Mar 1993 23:01:50 +0000 (23:01 +0000)]
Initial revision

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

31 years agoTake out VPATH; take out special cases Krb5Root for RS/6000 and decmips
Theodore Tso [Tue, 9 Mar 1993 22:55:41 +0000 (22:55 +0000)]
Take out VPATH; take out special cases Krb5Root for RS/6000 and decmips

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

31 years agoAdded configuration controls for Kdb5Dir (where to put the Kerberos
Theodore Tso [Tue, 9 Mar 1993 22:54:56 +0000 (22:54 +0000)]
Added configuration controls for Kdb5Dir (where to put the Kerberos
database).

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

31 years agoMerged in sandia's new secuireid code
Theodore Tso [Fri, 26 Feb 1993 22:04:13 +0000 (22:04 +0000)]
Merged in sandia's new secuireid code

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

31 years agoFixed secureid declarations
Theodore Tso [Fri, 26 Feb 1993 22:03:55 +0000 (22:03 +0000)]
Fixed secureid declarations

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

31 years agoFixed so that if the passed in addresses is NULL, default to using local
Theodore Tso [Fri, 26 Feb 1993 21:10:45 +0000 (21:10 +0000)]
Fixed so that if the passed in addresses is NULL, default to using local
host address.

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

31 years agoFixed stupid typo
Theodore Tso [Fri, 26 Feb 1993 21:04:32 +0000 (21:04 +0000)]
Fixed stupid typo

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

31 years agoWork around code where malloc(0) returns 0
Theodore Tso [Fri, 26 Feb 1993 21:01:19 +0000 (21:01 +0000)]
Work around code where malloc(0) returns 0

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

31 years agoThe authdata field of the credential wasn't being copied. Fixed
Theodore Tso [Fri, 26 Feb 1993 20:56:22 +0000 (20:56 +0000)]
The authdata field of the credential wasn't being copied.  Fixed

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

31 years agoDo the right thing if the passed auth data is null
Theodore Tso [Fri, 26 Feb 1993 20:48:56 +0000 (20:48 +0000)]
Do the right thing if the passed auth data is null

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

31 years agoIn krb5_copy_addresses(), do the right thing if the passed address is NULL.
Theodore Tso [Fri, 26 Feb 1993 20:46:59 +0000 (20:46 +0000)]
In krb5_copy_addresses(), do the right thing if the passed address is NULL.
Lint cleanup

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

31 years agoRenamed read_password.c -> read_passwd.c, and string_to_key.c to
Theodore Tso [Fri, 26 Feb 1993 20:36:37 +0000 (20:36 +0000)]
Renamed read_password.c -> read_passwd.c, and string_to_key.c to
str_to_key.c, to avoid 14 char length problems.

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

31 years agoRenamed copy_checksum.c to copy_cksum.c, to avoid 14 char length problems
Theodore Tso [Fri, 26 Feb 1993 20:36:15 +0000 (20:36 +0000)]
Renamed copy_checksum.c to copy_cksum.c, to avoid 14 char length problems

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

31 years agoAdded include for <errno.h>
Theodore Tso [Fri, 26 Feb 1993 20:34:20 +0000 (20:34 +0000)]
Added include for <errno.h>
Backup definition for MAXPATHLEN

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

31 years agoFixed locking #includes
Theodore Tso [Fri, 26 Feb 1993 20:31:08 +0000 (20:31 +0000)]
Fixed locking #includes
Changed name for default KDB file name
Changed format of KDB to have a version number, for compatibility
in the future (and yet still be compatible for this change).
Fixed typo in alternative salt encoding code.

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

31 years agoAdded missing osconf.h include
Theodore Tso [Fri, 26 Feb 1993 00:13:47 +0000 (00:13 +0000)]
Added missing osconf.h include

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

31 years agoChange DEFAULT_DBM_FILE -> DEFAULT_KDB_FILE (latter is defined in osconf.h)
Theodore Tso [Fri, 26 Feb 1993 00:06:48 +0000 (00:06 +0000)]
Change DEFAULT_DBM_FILE -> DEFAULT_KDB_FILE (latter is defined in osconf.h)

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

31 years agoAdded fix to avoid the malloc(0) problem
Theodore Tso [Tue, 23 Feb 1993 14:19:33 +0000 (14:19 +0000)]
Added fix to avoid the malloc(0) problem

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

31 years agoAdded #define for errno.h
Theodore Tso [Tue, 23 Feb 1993 00:56:31 +0000 (00:56 +0000)]
Added #define for errno.h

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

31 years agoAdded include for errno.h
Theodore Tso [Tue, 23 Feb 1993 00:55:50 +0000 (00:55 +0000)]
Added include for errno.h

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

31 years agoAdded include for errno.h; check for length = 0 before allocating: for
Theodore Tso [Tue, 23 Feb 1993 00:54:21 +0000 (00:54 +0000)]
Added include for errno.h; check for length = 0 before allocating: for
malloc()'s where malloc(0) can return 0.

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

31 years agoAdded define for <errno.h>
Theodore Tso [Tue, 23 Feb 1993 00:48:38 +0000 (00:48 +0000)]
Added define for <errno.h>

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

31 years agoPortability changes for unicos and sysvimp
Theodore Tso [Tue, 23 Feb 1993 00:47:49 +0000 (00:47 +0000)]
Portability changes for unicos and sysvimp

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

31 years agoAdded include for errno.h; added support for fchmod()
Theodore Tso [Tue, 23 Feb 1993 00:45:00 +0000 (00:45 +0000)]
Added include for errno.h; added support for fchmod()

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

31 years agoAdded include for errno.h; added support for systems w/o fchmod()
Theodore Tso [Tue, 23 Feb 1993 00:42:40 +0000 (00:42 +0000)]
Added include for errno.h; added support for systems w/o fchmod()

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

31 years agoAdded include for errno.h
Theodore Tso [Tue, 23 Feb 1993 00:37:26 +0000 (00:37 +0000)]
Added include for errno.h

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

31 years agoRemove silly call to V4 string_to_key. get_in_tkt does the right
Theodore Tso [Sat, 20 Feb 1993 00:58:46 +0000 (00:58 +0000)]
Remove silly call to V4 string_to_key.  get_in_tkt does the right
thing automatically.

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

31 years agoRemove dependency on V4 kerberos library --- shouldn't need it
Theodore Tso [Sat, 20 Feb 1993 00:58:33 +0000 (00:58 +0000)]
Remove dependency on V4 kerberos library --- shouldn't need it

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

31 years agoReturn sane error message if passwed in argument is NULL
Theodore Tso [Fri, 19 Feb 1993 00:27:13 +0000 (00:27 +0000)]
Return sane error message if passwed in argument is NULL

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

31 years agoSandia bug; return sane error message if passed in argument is NULL
Theodore Tso [Fri, 19 Feb 1993 00:26:30 +0000 (00:26 +0000)]
Sandia bug; return sane error message if passed in argument is NULL

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

31 years agoSandia bug fix. The client address field is optional
Theodore Tso [Fri, 19 Feb 1993 00:23:23 +0000 (00:23 +0000)]
Sandia bug fix.  The client address field is optional

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

31 years agoFix silly bug in kpasswd that caused it to report "out of memory"
Theodore Tso [Mon, 11 Jan 1993 15:14:43 +0000 (15:14 +0000)]
Fix silly bug in kpasswd that caused it to report "out of memory"
every time it is run on some machines.

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

31 years agoAdded declaration for gen_new
Theodore Tso [Mon, 11 Jan 1993 14:24:54 +0000 (14:24 +0000)]
Added declaration for gen_new

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

31 years agoFix logic in fcc_close(); krb5_fcc_close_file() should be called if
Theodore Tso [Wed, 6 Jan 1993 00:31:46 +0000 (00:31 +0000)]
Fix logic in fcc_close(); krb5_fcc_close_file() should be called if
a file is open.  Using MAYBE_CLOSE() was just the wrong thing to use.

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

31 years agoFixed initialization of krb5_scc_data's file member
Theodore Tso [Wed, 6 Jan 1993 00:20:13 +0000 (00:20 +0000)]
Fixed initialization of krb5_scc_data's file member

Free allocated memories on error.

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

31 years agoBugs found in fcc_gennew.c:
Theodore Tso [Wed, 6 Jan 1993 00:10:14 +0000 (00:10 +0000)]
Bugs found in fcc_gennew.c:
    1) krb5_ccache fd not initialized (should be set to -1 to indicate file
        is closed)
    2) Extra close of file during normal execution causes problems in a
        multi-threaded environment and is never necessary (close deleted).
    3) Garbage Collection.  Errors left memory allocated.

From: pato@apollo.com (Joe Pato)
Date: Fri, 27 Sep 91 16:40:40 EDT
To: krb5-bugs@MIT.EDU

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

31 years agoAdd missing SRCS definition necessary for make depend to work
Theodore Tso [Sat, 12 Dec 1992 03:07:41 +0000 (03:07 +0000)]
Add missing SRCS definition necessary for make depend to work

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

32 years agoDeclare environ to be an extern variable
Theodore Tso [Tue, 10 Nov 1992 14:41:01 +0000 (14:41 +0000)]
Declare environ to be an extern variable

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

32 years agoChange to reflect Beta 2 distribution
Theodore Tso [Wed, 30 Sep 1992 14:36:27 +0000 (14:36 +0000)]
Change to reflect Beta 2 distribution

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

32 years agoKRB5_PADATA_ENC_RANDOM --> KRB5_PADATA_ENC_TIMESTAMP
Theodore Tso [Wed, 30 Sep 1992 14:33:37 +0000 (14:33 +0000)]
KRB5_PADATA_ENC_RANDOM --> KRB5_PADATA_ENC_TIMESTAMP

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

32 years ago KRB5_PADATA_ENC_RANDOM --> KRB5_PADATA_ENC_TIMESTAMP
Theodore Tso [Wed, 30 Sep 1992 14:33:06 +0000 (14:33 +0000)]
 KRB5_PADATA_ENC_RANDOM --> KRB5_PADATA_ENC_TIMESTAMP

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

32 years agoNew dump version that includes the alternate key, alternate salt,
Theodore Tso [Wed, 30 Sep 1992 14:31:36 +0000 (14:31 +0000)]
New dump version that includes the alternate key, alternate salt,
as well as extra expansion fields.

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

32 years ago*** empty log message ***
Theodore Tso [Wed, 30 Sep 1992 14:29:59 +0000 (14:29 +0000)]
*** empty log message ***

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

32 years agoChanges to support VAX9000 cross compiling
Theodore Tso [Wed, 30 Sep 1992 14:23:56 +0000 (14:23 +0000)]
Changes to support VAX9000 cross compiling
Also change so that debugging information is there by default, and that
cc is used instead of GCC (for saber debugging)

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