nfs not working with kerberos

Luca Lauretta patrickroy at hotmail.it
Mon May 7 04:07:17 EDT 2007


hi i'm struggling in configuring nfsv4 working with mit kerberos v5


/etc/exports on server (sequoia)

#/home/condivisa sughero.reti.dist.unige.it(rw,sync)
/home/condivisa gss/krb5(rw,fsid=0,insecure,no_subtree_check,no_root_squash)
#/home/prova sughero.reti.dist.unige.it(rw,sync)
/home/prova gss/krb5(rw,sync)

(commented lines are to do more testing, same for different options in 
gss/krb5 lines; without kerberos i get to mount the filesystems)

/etc/fstab on client (sughero)

sequoia:/home/condivisa /home/importata nfs defaults,noauto,sec=krb5
sequoia:/home/prova /home/verifica nfs defaults,noauto,sec=krb5



from server (sequoia) /var/log/daemon.log i get:

localhost mountd[30504]: mount request from unknown host 130.251.17.158 for 
/home/condivisa (/home/condivisa)

(130.251.17.158 is sughero, even if it says unknown host and i get to 
connect to sughero thru other services, like ssh)

from client (sughero) /var/log/daemon.log i get:

localhost rpc.gssd[7950]: WARNING: Failed to obtain machine credentials for 
connection to server sequoia.reti.dist.unige.it

when i try to mount the filesystem (for example mount /home/importata) i 
get:
mount: sequoia:/home/condivisa failed, reason given by server: Permission 
denied (i use gnomed debian 2.14.3, no ldap netapp and similars)

i hope you can find the solution, i'm going out crazy

thank you

_________________________________________________________________
Calcio, Quiz, Sudoku, Scacchi
 Inizia la sfida su Messenger, GRATIS! 
http://www.messenger.it/giochi_e_attivita.html




More information about the Kerberos mailing list