[OpenAFS] Installing on debian Problem to get token

admin@tbb.sk admin@tbb.sk
Tue, 28 Jul 2009 21:36:31 +0200


Toto je zpr va s v¡ce Ÿ stmi ve form tu MIME. 
--=_alternative 006B7D93C1257601_=
Content-Type: text/plain; charset="US-ASCII"

Hallo,

I am installing AFS on Debian Lenny, I have used this manual 
http://techpubs.spinlocksolutions.com/dklar/afs.html.

All is ok.  All is working.


 When I restart server I have problem to get token.


kinit -p root/admin   OK

afs1:~# kinit -p roman/admin
Password for roman/admin@BB.TBB.SK:
afs1:~# klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: roman/admin@BB.TBB.SK

Valid starting     Expires            Service principal
07/28/09 21:29:22  07/29/09 07:29:22  krbtgt/BB.TBB.SK@BB.TBB.SK
  renew until 07/29/09 21:29:15


Kerberos 4 ticket cache: /tmp/tkt0
klist: You have no tickets cached

aklog  

afs1:~# aklog -c bb.tbb.sk -k BB.TBB.SK -d
Authenticating to cell bb.tbb.sk (server afs1.bb.tbb.sk).
We were told to authenticate to realm BB.TBB.SK.
Getting tickets: afs/bb.tbb.sk@BB.TBB.SK
Getting tickets: afs/bb.tbb.sk@BB.TBB.SK
Getting tickets: afs@BB.TBB.SK
Using Kerberos V5 ticket natively
About to resolve name root.admin to id in cell bb.tbb.sk.
Id 1
Set username to AFS ID 1
Setting tokens. AFS ID 1 /  @ BB.TBB.SK
aklog: unable to obtain tokens for cell bb.tbb.sk (status: 11862788).
afs1:~# 

I also try klog:

afs1:~# klog -cell bb.tbb.sk -principal root/admin
Password for root/admin@BB.TBB.SK:
klog: a pioctl failed Unable to store tokens for cell bb.tbb.sk

Does anybody have any idea ?


Thanks







Roman Valuch
 

--=_alternative 006B7D93C1257601_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Hallo,</font>
<br>
<br><font size=2 face="sans-serif">I am installing AFS on Debian Lenny,
I have used this manual http://techpubs.spinlocksolutions.com/dklar/afs.html.</font>
<br>
<br><font size=2 face="sans-serif">All is ok. &nbsp;All is working.</font>
<br>
<br>
<br><font size=2 face="sans-serif">&nbsp;When I restart server I have problem
to get token.</font>
<br>
<br>
<br><font size=2 face="sans-serif"><b>kinit -p root/admin &nbsp; OK</b><br>
</font>
<br><font size=2 face="sans-serif">afs1:~# kinit -p roman/admin</font>
<br><font size=2 face="sans-serif">Password for roman/admin@BB.TBB.SK:</font>
<br><font size=2 face="sans-serif">afs1:~# klist</font>
<br><font size=2 face="sans-serif">Ticket cache: FILE:/tmp/krb5cc_0</font>
<br><font size=2 face="sans-serif">Default principal: roman/admin@BB.TBB.SK</font>
<br>
<br><font size=2 face="sans-serif">Valid starting &nbsp; &nbsp; Expires
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Service principal</font>
<br><font size=2 face="sans-serif">07/28/09 21:29:22 &nbsp;07/29/09 07:29:22
&nbsp;krbtgt/BB.TBB.SK@BB.TBB.SK</font>
<br><font size=2 face="sans-serif">&nbsp; renew until 07/29/09 21:29:15</font>
<br>
<br>
<br><font size=2 face="sans-serif">Kerberos 4 ticket cache: /tmp/tkt0</font>
<br><font size=2 face="sans-serif">klist: You have no tickets cached</font>
<br>
<br><font size=2 face="sans-serif"><b>aklog </b>&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br>
<br><font size=2 face="sans-serif">afs1:~# aklog -c bb.tbb.sk -k BB.TBB.SK
-d</font>
<br><font size=2 face="sans-serif">Authenticating to cell bb.tbb.sk (server
afs1.bb.tbb.sk).</font>
<br><font size=2 face="sans-serif">We were told to authenticate to realm
BB.TBB.SK.</font>
<br><font size=2 face="sans-serif">Getting tickets: afs/bb.tbb.sk@BB.TBB.SK</font>
<br><font size=2 face="sans-serif">Getting tickets: afs/bb.tbb.sk@BB.TBB.SK</font>
<br><font size=2 face="sans-serif">Getting tickets: afs@BB.TBB.SK</font>
<br><font size=2 face="sans-serif">Using Kerberos V5 ticket natively</font>
<br><font size=2 face="sans-serif">About to resolve name root.admin to
id in cell bb.tbb.sk.</font>
<br><font size=2 face="sans-serif">Id 1</font>
<br><font size=2 face="sans-serif">Set username to AFS ID 1</font>
<br><font size=2 face="sans-serif">Setting tokens. AFS ID 1 / &nbsp;@ BB.TBB.SK</font>
<br><font size=2 face="sans-serif">aklog: unable to obtain tokens for cell
bb.tbb.sk (status: 11862788).</font>
<br><font size=2 face="sans-serif">afs1:~# </font>
<br>
<br><font size=2 face="sans-serif">I also try klog:</font>
<br>
<br><font size=2 face="sans-serif">afs1:~#<b> klog -cell bb.tbb.sk -principal
root/admin</b></font>
<br><font size=2 face="sans-serif">Password for root/admin@BB.TBB.SK:</font>
<br><font size=2 face="sans-serif">klog: a pioctl failed Unable to store
tokens for cell bb.tbb.sk</font>
<br>
<br><font size=2 face="sans-serif">Does anybody have any idea ?</font>
<br>
<br>
<br><font size=2 face="sans-serif">Thanks</font>
<br>
<br>
<br>
<br>
<br>
<br><font size=2 face="sans-serif"><br>
<br>
Roman Valuch<br>
 <br>
</font>
--=_alternative 006B7D93C1257601_=--