[22318] in Kerberos

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

Getting principal from krb5_principal

daemon@ATHENA.MIT.EDU (Digant Kasundra)
Mon Aug 30 17:47:09 2004

Message-ID: <CEE4E6ECB6C98C4281D09A17EC3DC0ED08616E68@exchange.uta.edu>
From: Digant Kasundra <digant@uta.edu>
To: kerberos@mit.edu
Date: Mon, 30 Aug 2004 16:43:46 -0500
MIME-Version: 1.0
Content-Type: text/plain
Errors-To: kerberos-bounces@mit.edu

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
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

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