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

Re: Processing keytab in memory



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

This is a digitally signed message part