[676] in Kerberos_V5_Development

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

changing krb5_send_tgs()

jtkohl@ATHENA.MIT.EDU (jtkohl@ATHENA.MIT.EDU)
Wed Apr 17 15:20:27 1991

a) it's only used by gc_2tgt.c and gc_via_tgt.c

b) to do some proper reply matching, either the caller(s) need access to the
assembled request, or krb5_send_tgs() needs to interpret the returned packet.

currently, krb5_send_tgs() returns the raw reply, since it may be an error or
a tgs_rep, and the caller currently deals with the reply.

so, I think we need either:
	send_tgs decoding and validating the return packet -or-
	a send_tgs interface to allocate and return the request structure to
the caller

I'd prefer the second, in case there's some other need for the caller to
inspect the request packet.

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