[344] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

Will the real pre-beta3 please stand up!

daemon@ATHENA.MIT.EDU (Jim Miller)
Fri Sep 17 19:08:34 1993

From: jim@bilbo.suite.com (Jim Miller)
Date: Fri, 17 Sep 93 17:56:20 -0500
To: tytso@MIT.EDU
Cc: krb5-bugs@MIT.EDU, kerberos@MIT.EDU
Reply-To: Jim_Miller@suite.com


> Could you please tell me where you got your Kerberos
> "pre-beta3" distribution from which you've been
> sending patches?  Neither the beta 2 distribution, the
> pre-beta 3 distribution I sent out, or the current MIT
> source tree has any reference to a krb5_cred_info
> structure.  In addition the f_cred_enc.c which was
> distributed in the pre-beta3 distribution looks
> nothing like the one you included: 

> 


Sure.  Back in April you sent out the following e-mail:

------

Reply-To: tytso@athena.mit.edu@suite.com
Date: Fri, 30 Apr 93 00:27:26 -0400
From: Theodore Ts'o <tytso@athena.mit.edu>
To: kerberos@athena.mit.edu
Subject: Kerberos V5 beta 3 distribution has been delayed.
Address: 1 Amherst St., Cambridge, MA 02139
Phone: (617) 253-8091

[stuff deleted]

... I have prepared a Beta-3 prelease distribution.
WARNING!  THIS DISTRIBUTION IS FOR ADVENTUROUS AND BLEADING-EDGE PEOPLE
ONLY.  It will not compile out of the box on all platforms; and very
little testing has been done.  Furthermore, not all bug fixes which have
been reported to me have been fixed in this release yet.  However, I
hope that it proves useful to at least a few poeple.

It can be found on athena-dist.mit.edu, in /pub/kerberos/dist/930429.
The file KRB-CRED-patches.tar.Z contains patches to krb5-pb3.tar.Z to
reflect a recent change to the new KRB-CRED message format.  I didn't
have time to integrate it, and so you will have to do it yourself.

[stuff deleted]

------

The cred_info stuff is in KRB-CRED-patches.tar.Z.  This archive contains new  
versions of the following files:

bsd/forward.c
include/krb5/krb5.h
lib/asn.1/crep2kcrep.c
lib/asn.1/kcrep2crep.c
lib/asn.1/kpwds2pwds.c
lib/asn.1/KRB5-asn.py
lib/asn.1/pwds2kpwds.c
lib/free/f_cred_enc.c

These files use a krb5_cred_info structure defined in the new krb5.h:

typedef struct _krb5_cred {
    krb5_ticket **tickets;		/* tickets */
    krb5_enc_data enc_part;		/* encrypted part */
} krb5_cred;

typedef struct _krb5_cred_info {
    krb5_keyblock* session;             /* session key used to encrypt */
					/* ticket */
    krb5_principal client;              /* client name/realm, optional */
    krb5_principal server;              /* server name/realm, optional */
    krb5_flags flags;			/* ticket flags, optional */
    krb5_ticket_times times;		/* auth, start, end, renew_till, */
                                        /* optional */
    krb5_address **caddrs;		/* array of ptrs to addresses */
} krb5_cred_info;

typedef struct _krb5_cred_enc_part {
    krb5_int32 nonce;                   /* nonce, optional */
    krb5_timestamp timestamp;           /* client time */
    krb5_int32 usec;                    /* microsecond portion of time */
    krb5_address *s_address;            /* sender address, optional */
    krb5_address *r_address;            /* recipient address, optional */
    krb5_cred_info **ticket_info;
} krb5_cred_enc_part;    



Have I jump the gun a bit by playing with KRB-CRED-patches.tar.Z?


Jim_Miller@suite.com

home help back first fref pref prev next nref lref last post