From 25a64a7eb219e3946e5a45f27e14fc53d43d7fcc Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Thu, 9 Aug 2007 23:53:07 +0000 Subject: [PATCH] windows-aklog-20070809 correct an error message --- src/WINNT/aklog/aklog.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) 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 ; -- 2.39.5