[958] in Kerberos_V5_Development

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

Relocating some routines

daemon@ATHENA.MIT.EDU (Richard Basch)
Sun Dec 3 04:16:29 1995

Date: Sun, 3 Dec 1995 04:15:18 -0500
To: cvs-krb5@MIT.EDU, krbdev@MIT.EDU
From: "Richard Basch" <basch@lehman.com>

I am trying to complete some of the multiple encryption type support,
and it appears that I need to relocate some routines between some
libraries.

Specifically, I am trying to allow one to be able to specify the set and
order of the encryption types that should be returned to the client by
the KDC in a tgs_req.  Currently, it is a hard-coded list in
krb5/krb/init_ctx.c.  I wanted to be able to change that to looking in
the krb5.conf, but I am finding krb5_string_to_enctype() resides in
libkadm.a.

I want to move *PART* of str_conv.c to libkrb.a, specifically:
	krb5_string_to_enctype		krb5_enctype_to_string
	krb5_string_to_salttype		krb5_salttype_to_string
	krb5_string_to_cksumtype	krb5_cksumtype_to_string

The other routines appear to be a lot more geared toward libkadm.a, and
should remain there.

Objections? Comments?

Richard Basch                   URL: http://web.mit.edu/basch/www/home.html
Lehman Brothers, Inc.           Email: basch@lehman.com, basch@mit.edu
101 Hudson St., 33rd Floor      Fax:   +1-201-524-5828
Jersey City, NJ  07302-3988     Voice: +1-201-524-5049


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