[krbdev.mit.edu #8016] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Thu Sep 18 16:46:09 EDT 2014


Restore providing password TGTs for the ksu target

The use of "stored" was originally for marking whether or not creds
had been found in the source cache and copied to the target. If it was
false, the obtain-a-TGT-using-a-password path would be triggered and
it would populate the target ccache directly.

When the intermediate cache was introduced (in commit dccc80a), the
variable started marking whether or not creds had been copied to the
intermediate cache, and this was then used to decide whether or not to
copy creds to the target cache.

The obtain-a-TGT-using-a-password path began storing its creds in the
temporary cache as well, but neglected to set the flag so that the
creds would be copied to the target cache later, so the target ccache
would never be created and populated with the newly-obtained TGT.

(cherry picked from commit 005f4eb3ccc1092f4a43afc4d6a4fabfa20b2b41)

https://github.com/krb5/krb5/commit/8bfc5060eb3b863a1805efab45749d6e55239e6e
Author: Nalin Dahyabhai <nalin at redhat.com>
Committer: Tom Yu <tlyu at mit.edu>
Commit: 8bfc5060eb3b863a1805efab45749d6e55239e6e
Branch: krb5-1.13
 src/clients/ksu/main.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)



More information about the krb5-bugs mailing list