[OpenAFS] Kerberos 5, AFS, and no krb524d

Nicholas Henke henken@seas.upenn.edu
09 Jun 2003 17:17:38 -0400


On Mon, 2003-06-09 at 17:12, Douglas E. Engert wrote:
> 
> No, dont try that yet. 
> But lets cheat, and try ading the line: 

Ok...

> 
> strncpy(aclient.cell, "roughneck.liniac.upenn.edu", MAXKTCREALMLEN - 1);
> in ak5log_main.c 
> at line 542: 
> 
> 
>    537      } else {
>    538         strncpy(aclient.name, username, MAXKTCNAMELEN - 1);
>    539         strcpy(aclient.instance, "");
>    540         strncpy(aclient.cell, c.realm, MAXKTCREALMLEN - 1);
>    541      }
>    542 strncpy(aclient.cell, "roughneck.liniac.upenn.edu", MAXKTCREALMLEN - 1);
>    543      if (dflag) {
>    544          sprintf(msgbuf, "Setting tokens. %s / %s @ %s \n",
>    545              aclient.name, aclient.instance, aclient.cell );
>    546          params.pstdout(msgbuf);
> 

Seems this is not the problem.

henken@roughneck src $ ./ak5log -d
Authenticating to cell roughneck.liniac.upenn.edu.
Getting tickets: afs/roughneck.liniac.upenn.edu@UPENN.EDU
About to resolve name henken to id
Id 2
Set username to AFS ID 2
Setting tokens. AFS ID 2 /  @ roughneck.liniac.upenn.edu

henken@roughneck src $ bos listusers roughneck.liniac.upenn.edu
SUsers are: afsadmin.roughneck.liniac.upenn.edu
afsadmin/roughneck.liniac.upenn.edu henken

henken@roughneck src $ bos listkeys roughneck.liniac.upenn.edu
bos: you are not authorized for this operation error encountered while
listing keys

Nic
-- 
Nicholas Henke
Penguin Herder & Linux Cluster System Programmer
Liniac Project - Univ. of Pennsylvania