Wheezy et autofs

Bonjour,
J’ai un serveur de fichier sous lenny avec l’adresse IP 192.168.1.1
son fichier /etc/export :

/etc/exports: the access control list for filesystems which may be exported

/Pub 192.168.0.0/255.255.0.0(rw)
/Photos 192.168.0.0/255.255.0.0(rw)
/home 192.168.0.0/255.255.0.0(rw,crossmnt)
/home/xof 192.168.0.0/255.255.0.0(rw)
/Video 192.168.0.0/255.255.0.0(rw)
/Musique 192.168.0.0/255.255.0.0(rw)

/etc/hosts.allow

/etc/hosts.allow: list of hosts that are allowed to access the system.

See the manual pages hosts_access(5), hosts_options(5)

and /usr/doc/netbase/portmapper.txt.gz

Example: ALL: LOCAL @some_netgroup

ALL: .foobar.edu EXCEPT terminalserver.foobar.edu

ALL: 192.168.1.0/24 192.168.10.0/24 127.0.0.0/8

LTS-begin

The lines between the ‘LTS-begin’ and the ‘LTS-end’ were added

on: ven avr 18 15:25:57 CEST 2003 by the ltsp installation script.

For more information, visit the ltsp homepage

at ltsp.org

bootpd: 0.0.0.0
in.tftpd: 192.168.0. 192.168.10.
portmap: 192.168.0. 192.168.10.
mountd: 192.168.0. 192.168.10.

/etc/hosts.deny

/etc/hosts.deny: list of hosts that are not allowed to access the system.

See the manual pages hosts_access(5), hosts_options(5)

and /usr/doc/netbase/portmapper.txt.gz

Example: ALL: some.host.name, .some.domain

ALL EXCEPT in.fingerd: other.host.name, .other.domain

If you’re going to protect the portmapper use the name “portmap” for the

daemon name. Remember that you can only use the keyword “ALL” and IP

addresses (NOT host or domain names) for the portmapper. See portmap(8)

and /usr/doc/netbase/portmapper.txt.gz for further information.

The PARANOID wildcard matches any host whose name does not match its

address.

ALL: PARANOID

J’ai deux machines clientes, une sous squeeze (gnome 2) avec comme adresse 192.168.1.2, l’autre sous wheezy (gnome 3) avec une adresse attribuée dans la plage 192.168.10.0 à 192.16.10.255 autofs est installé sur ces deux machines avec les mêmes fichiers de configurations :

/etc/auto.master

Sample auto.master file

This is an automounter map and it has the following format

key [ -mount-options-separated-by-comma ] location

For details of the format look at autofs(5).

#/misc /etc/auto.misc

NOTE: mounts done from a hosts map will be mounted with the

“nosuid” and “nodev” options unless the “suid” and “dev”

options are explicitly given.

#/net -hosts

/media/desire /etc/auto.type --ghost,–timeout=60

Include central master map if it can be found using

nsswitch sources.

Note that if there are entries for /net or /misc (as

above) in the included master map any keys that are the

same will not be seen as the first read key seen takes

precedence.

+auto.master

/etc/auto.type

home -fstype=nfs,rw,uid=id_user,intr desire:/home
Pub -fstype=nfs,rw,uid=id_user,intr desire:/Pub
Photos -fstype=nfs,rw,uid=id_user,intr desire:/Photos
Video -fstype=nfs,rw,uid=id_user,intr desire:/Video
Musique -fstype=nfs,rw,uid=id_user,intr desire:/Musique

Le montage manuel fonctionne sur les deux machines, le montage automatique ne fonctionne que sur la première (squeeze)
sur la deuxième (wheezy) quand je tente d’ouvrir un dossier, j’ai le message " Impossible d’afficher le contenu du dossier. dossier est introuvable. Il a peut-être été effacé récemment.

Si quelqu’un a une piste, elle sera bienvenue.

Merci d’avance.

Hello,

Lorsque tu fais un “ls -l” dans ton /media/desire après avoir essayé d’y acceder, tu as quoi ?
J’ai un problème d’acces qui a l’air du même genre que le tiens.

Si tu as resolu le probleme depuis ce post…je suis curieux de savoir comment !