]> granicus.if.org Git - sudo/commit
Use krb5_princ_component() instead of krb5_princ_realm() for MIT Kerberos
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 14 Apr 2003 20:49:27 +0000 (20:49 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 14 Apr 2003 20:49:27 +0000 (20:49 +0000)
commit4a2da4c9657212bac6397d6321fbfd0c65f30d12
tree9ee07e48e45b498c1e31e65a9c7cf72ab0f9adae
parent86febe03ae84c0eaca0fa41c8300dd02ac4c3622
Use krb5_princ_component() instead of krb5_princ_realm() for MIT Kerberos
like we did before I messed things up ;-)

Use krb5_principal_get_comp_string() to do the same thing w/ Heimdal.
I'm not sure if the component should be 0 or 1 in this case.

#define ENCTYPE_DES_CBC_MD5 ETYPE_DES_CBC_MD5 for Heimdal since
older versions lack ENCTYPE_DES_CBC_MD5.  This is gross and there
should be a configure check for this I guess.
auth/kerb5.c