[OpenAFS] Problem getting AFS tokens on debian...

Jan Pospisil honik@kma.zcu.cz
Mon, 18 Jan 2010 15:37:09 +0100 (CET)

Hello OpenAFS gurus :),

I am having problems getting AFS tokens probably after one of recent system 
upgrade. I am using debian testing on x86_64 with
- *krb5* version 1.8+dfsg~alpha1-2
- *openafs* version 1.4.11+dfsg-6
(in particular m-a build of openafs-modules-2.6.30-2-amd64 
version 1.4.11+dfsg-6+2.6.30-8squeeze1)
- kernel from linux-image-2.6.30-2-amd64 ver. 2.6.30-8squeeze1

The afsd is runnig fine, I can see the AFS tree, I have the proper krb5 tickets, 
but I am not able to get the AFS tokens:

honik@aither:~$ klist -e
Ticket cache: FILE:/tmp/krb5cc_6141
Default principal: honik@ZCU.CZ

Valid starting     Expires            Service principal
01/18/10 15:21:14  01/18/10 23:21:10  krbtgt/ZCU.CZ@ZCU.CZ
 	renew until 02/02/10 15:21:10, Etype (skey, tkt): AES-256 CTS mode with 
96-bit SHA-1 HMAC, Triple DES cbc mode with HMAC/sha1

honik@aither:~$ aklog -d -c zcu.cz
Authenticating to cell zcu.cz (server oknos.zcu.cz).
Trying to authenticate to user's realm ZCU.CZ.
Getting tickets: afs/zcu.cz@ZCU.CZ
Kerberos error code returned by get_cred : -1765328184
aklog: Couldn't get zcu.cz AFS tickets:
aklog: unknown RPC error (-1765328184) while getting AFS tickets

honik@aither:~$ klog
klog: unknown RPC error (-1765328370) Unable to authenticate to use afs/zcu.cz

(both klog/aklog are from the openafs-krb5 package ver. 1.4.11+dfsg-6).
I tried also kernel 2.6.32-trunk-amd64, but it didn't help neither.

Does someone has an idea what might be wrong?
Do you know what those RPC errors mean?
Or do you have some debugging hints how to find the core of the problem?

Thanks in advance.
Jan Pospisil

Jan Pospisil, Ph.D.           e-mail: honik@kma.zcu.cz
University of West Bohemia    phone:  (+420) 37763-2675
Department of Mathematics     fax:    (+420) 37763-2602
Plzen, Czech Republic         address: Univerzitni 22, 306 14