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

31 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

32 years agoFixed name of acl file, removed unecessary define
Theodore Tso [Wed, 30 Sep 1992 14:17:46 +0000 (14:17 +0000)]
Fixed name of acl file, removed unecessary define

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

32 years agoAdded make depend target
Theodore Tso [Wed, 30 Sep 1992 14:11:12 +0000 (14:11 +0000)]
Added make depend target

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

32 years agoChange to use default principal from the cache if it exists.
Theodore Tso [Wed, 30 Sep 1992 14:09:54 +0000 (14:09 +0000)]
Change to use default principal from the cache if it exists.
Change to use preauthentication.

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

32 years agoFixed prototypes for massive change in kdc_util.c, policy.c, and
Theodore Tso [Wed, 30 Sep 1992 14:08:49 +0000 (14:08 +0000)]
Fixed prototypes for massive change in kdc_util.c, policy.c, and
do_{as,tgs}_req.c

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

32 years agoMassive changes to do_as_req.c, do_tgs_req.c, kdc_util.c, and policy.c
Theodore Tso [Wed, 30 Sep 1992 14:08:14 +0000 (14:08 +0000)]
Massive changes to do_as_req.c, do_tgs_req.c, kdc_util.c, and policy.c
Fixed bug so that renewable/forwardable/proxiable/tickets work on all
tickets, not just the TGS server.  Fixed bug so that proxiable tickets
don't work on TGT tickets.

Revamped structure to make things cleaner, and easier to understand.  Nearly
all of the validation routines have been moved to a validate_as_request
and a validate_tgs_request subroutine in kdc_util.c.

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

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

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

32 years ago*** empty log message ***
Theodore Tso [Wed, 30 Sep 1992 13:24:49 +0000 (13:24 +0000)]
*** empty log message ***

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

32 years ago(Hopefully final) rearrangement of KDC database structure
Theodore Tso [Tue, 29 Sep 1992 20:26:18 +0000 (20:26 +0000)]
(Hopefully final) rearrangement of KDC database structure

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

32 years agoAdded KRB5_KDB_PWCHANGE_SERVICE
Theodore Tso [Tue, 29 Sep 1992 20:01:47 +0000 (20:01 +0000)]
Added KRB5_KDB_PWCHANGE_SERVICE

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

32 years agoFixed error message texts
Theodore Tso [Tue, 29 Sep 1992 16:50:26 +0000 (16:50 +0000)]
Fixed error message texts

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

32 years agoAdded errors KDC_PREAUTH_FAILED and KDC_SERVER_NOMATCH
Theodore Tso [Tue, 29 Sep 1992 16:49:32 +0000 (16:49 +0000)]
Added errors KDC_PREAUTH_FAILED and KDC_SERVER_NOMATCH

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

32 years ago*** empty log message ***
Theodore Tso [Tue, 29 Sep 1992 14:51:34 +0000 (14:51 +0000)]
*** empty log message ***

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

32 years agoNew optional argument for specifiying which port to use
Theodore Tso [Tue, 29 Sep 1992 14:47:04 +0000 (14:47 +0000)]
New optional argument for specifiying which port to use

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

32 years agoAdded support for preauthentication
Theodore Tso [Tue, 29 Sep 1992 14:43:06 +0000 (14:43 +0000)]
Added support for preauthentication

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

32 years agoFixup RM_CMD vs RM
Theodore Tso [Tue, 29 Sep 1992 14:41:33 +0000 (14:41 +0000)]
Fixup RM_CMD vs RM

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

32 years agoRedone format of klist output
Theodore Tso [Tue, 29 Sep 1992 14:40:05 +0000 (14:40 +0000)]
Redone format of klist output

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

32 years agoAdded include of sys/types.h
Theodore Tso [Tue, 29 Sep 1992 14:39:34 +0000 (14:39 +0000)]
Added include of sys/types.h

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

32 years agoAdded support for alternate key/salt; attempt to use a V4 salttype if
Theodore Tso [Tue, 29 Sep 1992 14:38:48 +0000 (14:38 +0000)]
Added support for alternate key/salt; attempt to use a V4 salttype if
possible.

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

32 years agostruct gss_channel_bindings_desc -> gss_channel_bindings_struct
Theodore Tso [Tue, 29 Sep 1992 14:37:19 +0000 (14:37 +0000)]
struct gss_channel_bindings_desc -> gss_channel_bindings_struct

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