- Modifié
2 fed 14 à jour
Serveur
(exports)
/home/PegMich/shared 192.168.0.11(rw,sync,all_squash)
hosts.allow
portmap:192.168.0.11
lockd:192.168.0.11
mountd:192.168.0.11
rquotad:192.168.0.11
statd:192.168.0.11
=====
Client
hosts.allow
portmap:192.168.0.10
lockd:192.168.0.10
mountd:192.168.0.10
rquotad:192.168.0.10
statd:192.168.0.10
fstab
192.168.0.10:/home/PegMich/shared /home/mich/shared nfs auto,user,rw 0 0
Sur le client toujours
mount -a
mount.nfs: access denied by server while mounting 192.168.0.10:/home/PegMich/shared
J'ai bien sur autorisé nfs dans le parefeu du serveur (je l'ai meme desactivé un instant et j'ai la meme erreur)
Dans /var/log/messages du client j'ai ca
peggyx rpc.idmapd[1239]: nss_getpwnam: name 'PegMich' not found in domain 'localdomain'
depuis le client
showmount -e 192.168.0.10
Export list for 192.168.0.10:
/home/PegMich/shared 192.168.0.11
Mike
Serveur
(exports)
/home/PegMich/shared 192.168.0.11(rw,sync,all_squash)
hosts.allow
portmap:192.168.0.11
lockd:192.168.0.11
mountd:192.168.0.11
rquotad:192.168.0.11
statd:192.168.0.11
=====
Client
hosts.allow
portmap:192.168.0.10
lockd:192.168.0.10
mountd:192.168.0.10
rquotad:192.168.0.10
statd:192.168.0.10
fstab
192.168.0.10:/home/PegMich/shared /home/mich/shared nfs auto,user,rw 0 0
Sur le client toujours
mount -a
mount.nfs: access denied by server while mounting 192.168.0.10:/home/PegMich/shared
J'ai bien sur autorisé nfs dans le parefeu du serveur (je l'ai meme desactivé un instant et j'ai la meme erreur)
Dans /var/log/messages du client j'ai ca
peggyx rpc.idmapd[1239]: nss_getpwnam: name 'PegMich' not found in domain 'localdomain'
depuis le client
showmount -e 192.168.0.10
Export list for 192.168.0.10:
/home/PegMich/shared 192.168.0.11
Mike