Hello,

 I'm getting troubles to access my afs folders after loggin with
pam_openafs_session.so (with using aklog).
 I'm running Debian Etch with custom kernel 2.6.18
and openafs 1.4.2-4.

 When I use kinit, I get the correct kerberos and afs tickets and
tokens :

[EMAIL PROTECTED]:~$ kinit 
[EMAIL PROTECTED]'s Password: 
[EMAIL PROTECTED]:~$ klist 
Credentials cache: FILE:/tmp/krb5cc_38257
        Principal: [EMAIL PROTECTED]

  Issued           Expires          Principal
Feb 19 11:25:28  Feb 19 22:25:47  krbtgt/[EMAIL PROTECTED]
Feb 19 11:25:28  Feb 19 22:25:47  [EMAIL PROTECTED]
[EMAIL PROTECTED]:~$ tokens 

Tokens held by the Cache Manager:

User's (AFS ID 38257) tokens for [EMAIL PROTECTED] [Expires Feb 19 22:49]
   --End of list--
[EMAIL PROTECTED]:~$ 

 When I log with ssh, I do not obtain afs tokens but I do obtain
kerberos tickets, and if I type aklog I obtain wrong afs tokens and I
got a Permission denied on my folders :

[EMAIL PROTECTED]> ssh [EMAIL PROTECTED]
[EMAIL PROTECTED]'s password: 
Linux linux-pourri 2.6.18-3-686 #1 SMP Mon Dec 4 16:41:14 UTC 2006 i686

The programs included with the Debian GNU/Linux system are free
software; the exact distribution terms for each program are described
in the individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Feb 19 12:22:37 2007 from arcadia.staff.epita.fr
[EMAIL PROTECTED]:~$ klist 
Credentials cache: FILE:/tmp/krb5cc_38257
        Principal: [EMAIL PROTECTED]

  Issued           Expires          Principal
Feb 19 11:25:28  Feb 19 22:25:47  krbtgt/[EMAIL PROTECTED]
Feb 19 11:25:28  Feb 19 22:25:47  [EMAIL PROTECTED]
[EMAIL PROTECTED]:~$ tokens 

Tokens held by the Cache Manager:

   --End of list--
[EMAIL PROTECTED]:~$ aklog 
[EMAIL PROTECTED]:~$ tokens 

Tokens held by the Cache Manager:

User's (AFS ID 38257) tokens for [EMAIL PROTECTED] [Expires Feb 19 22:25]
   --End of list--
[EMAIL PROTECTED]:~$ ls -l /afs/epitech.net/users/ept4/vadot_e/
ls: /afs/epitech.net/users/ept4/vadot_e/: Permission denied
[EMAIL PROTECTED]:~$ 

 When I log on physical on the computer it do the same than ssh except
I automatically got afs tokens without typing aklog. There is a
problem for the ssh login but my question is not there.

 Why do I got tokens @epitech.net with aklog and @EPITECH.NET (which
works) with kinit ? Do I got something wrong in my openafs
configuration ?

 Many thanks and sorry for the long post.

-- 
Emmanuel Vadot          System & Network Administrator [root & bocal]
[EMAIL PROTECTED]     14-16 rue Voltaire 94270 Le Kremlin-Bicetre
01 44 08 01 91          06 83 14 62 92
_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info

Reply via email to