auth: Set correct flags in token_extractRxkad
authorAndrew Deason <adeason@sinenomine.net>
Thu, 14 Apr 2011 19:36:36 +0000 (14:36 -0500)
committerDerrick Brashear <shadow@dementia.org>
Mon, 18 Apr 2011 12:17:26 +0000 (05:17 -0700)
commitfa6339d7ffc884b5251b3afe947bc39be350c118
tree388f0a147389528e188682046d7049220aceacbb
parent03edae9cc562524c04e06734d12d87b9a7a4622c
auth: Set correct flags in token_extractRxkad

The flags that token_extractRxkad returns are flags that are passed to
ktc_SetToken, not the flags that are passed directly to the PSetTokens
pioctl. So, we should be setting AFS_SETTOK_SETPAG, which is
interpreted by ktc_SetToken.

Change-Id: Id63ba4d5874e43c8d1f02817bf33975516a974be
Reviewed-on: http://gerrit.openafs.org/4480
Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/auth/token.c