From: Andrew Deason Date: Thu, 21 Apr 2011 19:24:45 +0000 (-0500) Subject: aklog: Return token when performing 524 conversion X-Git-Tag: upstream/1.8.0_pre1^2~3839 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=65186d8390a06fb0b7331b2472db07b6fb306446;p=packages%2Fo%2Fopenafs.git aklog: Return token when performing 524 conversion We weren't actually returning a token and username from rxkad_get_converted_token. Do so. This is a 1.6-specific change. This issue was fixed on master when aklog was changed to use the new SetTokenEx family of pioctls in commit 53837416cbed3ba4d11f63015e1f13800519f2ed. Change-Id: I4c85c03be00c45fdae5657554dcd85b3a6301b23 Reviewed-on: http://gerrit.openafs.org/4513 Reviewed-by: Simon Wilkinson Tested-by: BuildBot Reviewed-by: Derrick Brashear --- diff --git a/src/aklog/aklog.c b/src/aklog/aklog.c index 10184b6c9..ba6d7ad30 100644 --- a/src/aklog/aklog.c +++ b/src/aklog/aklog.c @@ -823,6 +823,9 @@ rxkad_get_converted_token(krb5_context context, krb5_creds *v5cred, *tokenPtr = token; *userPtr = strdup(username); + *tokenPtr = token; + *userPtr = strdup(username); + return 0; } #endif