From: Jeffrey Altman Date: Thu, 9 Aug 2007 23:54:07 +0000 (+0000) Subject: DEVEL15-windows-aklog-20070809 X-Git-Tag: openafs-devel-1_5_22~2 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=8d95fc364ed0cd3bf4fb51c9265bd7b139ee4742;p=packages%2Fo%2Fopenafs.git DEVEL15-windows-aklog-20070809 correct an error message (cherry picked from commit 25a64a7eb219e3946e5a45f27e14fc53d43d7fcc) --- diff --git a/src/WINNT/aklog/aklog.c b/src/WINNT/aklog/aklog.c index 25a62b044..803e2709a 100644 --- a/src/WINNT/aklog/aklog.c +++ b/src/WINNT/aklog/aklog.c @@ -219,16 +219,6 @@ void ViceIDToUsername(char *username, char *realm_of_user, char *realm_of_cell, printf("Id %d\n", viceId); } - /* - * This is a crock, but it is Transarc's crock, so - * we have to play along in order to get the - * functionality. The way the afs id is stored is - * as a string in the username field of the token. - * Contrary to what you may think by looking at - * the code for tokens, this hack (AFS ID %d) will - * not work if you change %d to something else. - */ - /* * This code is taken from cklog -- it lets people * automatically register with the ptserver in foreign cells @@ -266,7 +256,7 @@ void ViceIDToUsername(char *username, char *realm_of_user, char *realm_of_cell, } if ((*status = ktc_SetToken(aserver, atoken, aclient, 0))) { - printf("%s: unable to obtain tokens for cell %s " + printf("%s: unable to set tokens for cell %s " "(status: %d).\n", progname, cell_to_use, status); *status = AKLOG_TOKEN; return ;