Patrick Hess wrote:
Bei mir steht in /etc/exports einfach nur das exportierte Verzeichnis, fertig. Keine weiteren Optionen. Ich hatte mal "*.hess.home" oder auch "192.168.0.*" versucht, aber dann bekam ich vom "mountd" immer "Bad export list" entgegengehalten.
Tja, was kann man da tun? Evtl. muß ich noch mal in der BSD-Liste nachfragen, ob das wirklich nicht geht.
Du willst ja einen Eintrag wie "/dir *.hess.home" haben, damit Clients, deren IP-Adresse nicht zurueckgemappt werden koennen abgewiesen werden. Steht denn in "man 5 exports" auf dem Server auch etwas zu Wildcard eintraegen drin? Keine weitere Optionen? DAS ist laut meiner Manpage nicht erlaubt. Ausprobiert hab ich das auch noch nie. Hm auch interessant: +---[ man mountd ]--- | TCP_WRAPPERS SUPPORT | This rpc.mountd version is protected by the tcp_wrapper | library. You have to give the clients access to rpc.mountd | if they should be allowed to use it. To allow connects | from clients of the .bar.com domain you could use the fol | lowing line in /etc/hosts.allow: | | mountd: .bar.com | | You have to use the daemon name mountd for the daemon name | (even if the binary has a different name). For the client | names you can only use the keyword ALL or IP addresses | (NOT host or domain names). | | For further information please have a look at the | tcpd(8), hosts_allow(5) and hosts_access(5) manual pages. +--- Wenn .allow klappt, geht bestimmt auch .deny - darueber kann man auch nur aufloesbare Hosts freigeben. Ob dein mountd auch mit TCP_WRAPPERS kompiliert wurde zeigt "ldd rpc.mountd", bzw. "strings rpc.mountd|grep 'hosts\.allow'" Peter