You are not logged in.
Hello
I made a nfs4 server with kerberos 5 on a gentoo, and a client on archlinux.
I can now mount my filesystem (folder server2) but on the client I get :
CC file '/tmp/krb5cc_machine_NFSDOMAIN' owned by 0, not 1000
WARNING: Failed to create krb5 context for user with uid 1000 for server max-server2
then when I do :
$stat server2
File: `server2'
Size: 4096 Blocks: 8 IO Block: 131072 répertoire
Device: 12h/18d Inode: 40962 Links: 8
Access: (0755/drwxr-xr-x) Uid: ( 1000/ max) Gid: ( 100/ users)
it's ok, but then :
$ls server2
ls: ne peut ouvrir le répertoire server2: Permission non accordée
$stat server2
stat: ne peut évaluer `server2': Permission non accordée
there is wrong permission...
then
$sudo chown max:users /tmp/krb5cc_machine_NFSDOMAIN
$stat server2
File: `server2'
Size: 4096 Blocks: 8 IO Block: 131072 répertoire
Device: 12h/18d Inode: 40962 Links: 8
Access: (0755/drwxr-xr-x) Uid: ( 1000/ max) Gid: ( 100/ users)
$ls server2
all my files ....
It's very strange ....
How can I do to get /tmp/krb5cc_machine_NFSDOMAIN owned ny 1000 and not 0 ...
CC file '/tmp/krb5cc_machine_NFSDOMAIN' owned by 0, not 1000
WARNING: Failed to create krb5 context for user with uid 1000 for server max-server2
because I think it's the problem...
I look and the net but found nothing (not my exacte case or no solution).
Could you help me please.
Thank you in advance
PS : sorry for my bad english
Last edited by akira86 (2009-10-31 16:44:01)
Offline