]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-windows-aklog-20070809
authorJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 9 Aug 2007 23:54:07 +0000 (23:54 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 9 Aug 2007 23:54:07 +0000 (23:54 +0000)
correct an error message

(cherry picked from commit 25a64a7eb219e3946e5a45f27e14fc53d43d7fcc)

src/WINNT/aklog/aklog.c

index 25a62b044d01bd6d4a97c4f1efadc27dba3e8959..803e2709afa516ce63e8086328c79c182059735b 100644 (file)
@@ -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 ;