Getting principal from krb5_principal

Digant Kasundra digant at uta.edu
Mon Aug 30 17:43:46 EDT 2004


If I have a pointer to kadm5_principal_ent_t (called entry, lets say), looks
like I can get to krb5_principal using entry->principal.
 
But how can I parse that into something useful?  Looks like
entry->principal->realm might give me the realm.  But then there is a *data
in the struct.  Is that the principal value?  Am I making any sense?
 
-- DK


More information about the Kerberos mailing list