securID code fixes
authorSam Hartman <hartmans@mit.edu>
Tue, 19 Oct 2010 19:50:37 +0000 (19:50 +0000)
committerSam Hartman <hartmans@mit.edu>
Tue, 19 Oct 2010 19:50:37 +0000 (19:50 +0000)
commitb066ddfa869b362f7055b2532977a0f2d3860b35
treeb93277cfccf409f0d44b093d79f6971162c41d24
parent04e4c9cb9821c5a444f69f13d95333de0d4412ba
securID code fixes

Fixes to get securID preauth plugin working. A separate patch will
address error handling and build issues.

* Permit a preauth plugin to return KRB5KDC_ERR_PREAUTH_REQUIRED from
  the verify entry point.

* If verify_securid2 fails, save the return value and return that
  rather than success after dealing with encoding the out_edata

* Use the client key not the securid principal key for the sam
  checksum

* indicate that securID is hardware authentication

ticket: 6805
target_version: 1.9
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24465 dc483132-0cff-0310-8789-dd5450dbe970
src/kdc/kdc_preauth.c
src/plugins/preauth/securid_sam2/extern.h
src/plugins/preauth/securid_sam2/securid2.c
src/plugins/preauth/securid_sam2/securid_sam2_main.c