[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Processing keytab in memory



Thanks for the info, and the warning. :-)

Terry

On 11/30/05, Andrew Bartlett <abartlet@samba.org> wrote:
On Wed, 2005-11-30 at 17:47 -0800, T C wrote:
> That's good to know.  But how easy is it to build krb5_keytab_entry
> from individual fields?  Or is that function intended for adding an
> entry from one keytab to another only?

I fill out the keytab both from a plaintext password and from a keyblock
here in Samba4.  See for an example:
ftp://ftp.samba.org/pub/unpacked/samba4/source/auth/kerberos/kerberos_util.c

(Watch out, the GPL will stain your fingers if you copy&paste ;-)

Andrew Bartlett

--
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Student Network Administrator, Hawker College   http://hawkerc.net


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBDjlecz4A8Wyi0NrsRAvEsAKCjlTGFc8BR6RStw3Gv5LOgylnDjACgqICv
ke+HsoW8HxRVsM3kzJ3ZfEU=
=PX0V
-----END PGP SIGNATURE-----