* kinit.c (krb5_validate_tgt): new function, takes a credential cache with an
authorKen Raeburn <raeburn@mit.edu>
Sat, 4 May 1996 00:42:57 +0000 (00:42 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sat, 4 May 1996 00:42:57 +0000 (00:42 +0000)
commit41ff69a113dfbc64a94217f84262289b3211ccfc
tree5b75f07c0f2baa788e45e8fb04a874729c96d20d
parent8cf993958d6781c0de6daf7d6ed944f6aab54ce1
* kinit.c (krb5_validate_tgt): new function, takes a credential cache with an
tgt with the "invalid flag" set, and asks the kdc to validate it. Wipes cache
and stores only the newly validated credential. (After all, there won't be any
others, because the invalid krbtgt couldn't have gotten them.) Most of the code
is taken from krb5_mk_req, since it did the right thing.
(main): add -v option, validates the ticket already in the selected cache.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7894 dc483132-0cff-0310-8789-dd5450dbe970
src/clients/kinit/ChangeLog
src/clients/kinit/kinit.c