Use first principal in keytab when verifying creds
authorGreg Hudson <ghudson@mit.edu>
Mon, 28 Mar 2011 17:05:54 +0000 (17:05 +0000)
committerGreg Hudson <ghudson@mit.edu>
Mon, 28 Mar 2011 17:05:54 +0000 (17:05 +0000)
commit4a1f0e044964b19a262fe88c4cde44836c368183
tree475aaf448196793b6939f5f0494e7ce7f6e8b614
parent810ed2c9a3fd1431db55e40baee8e4ec42329dbf
Use first principal in keytab when verifying creds

In krb5_verify_init_creds(), use the first principal in the keytab
to verify the credentials instead of the result of
krb5_sname_to_principal().  Also add tests.

ticket: 6887

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24749 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/krb/Makefile.in
src/lib/krb5/krb/t_vfy_increds.c [new file with mode: 0644]
src/lib/krb5/krb/t_vfy_increds.py [new file with mode: 0644]
src/lib/krb5/krb/vfy_increds.c