On Wed, 2005-11-30 at 15:15 -0800, T C wrote: > I can extract the entries and store the info into database, but how do > I build the key table in memory later using these separate pieces of > info, without the blob? See krb5_kt_add_entry(). It takes the same krb5_keytab_entry structure that the enumeration gives you. > I can store the blob, but I would rather store small fields of info, > not an arbitrary size piece of data. I need to store some of those > separate fields currently for display purposes anyway. In Samba4, I'm going to store a little metadata (principal, plaintext, kvno, last changed time), then either the blob or a reference to a real keytab. 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