Samba - Partager des fichiers

Bonjour, j’aimerais partager des fichiers entre 2 machines sous debian etch configuré en dhcp et non pas en static. Est-ce possible avec samba ?

(Il me semble qu’avec nfs ce n’est pas possible en dhcp ???)

Merci d’avance et bonne année 2007

oui, aucun pb avec le dhcp.

Ce serait bête d’utiliser une surcouche “windozienne” pour faire dialoguer 2 linux ! :ane:

Non. C’est pas forcement idiot.

  • ça permet d’inclure par la suite un poste sous windows/mac os sans retoucher son reseau.
  • on trouve à l’heure actuelle plus de support pour samba que pour nfs.

Bonjour,
J’ai de la peine, cela ne marche pas bien. Qu’est-ce que je dois mettre dans mon hosts, resolv.conf et host.conf ???

MACHINE 1 (amd)
Fichier hosts :

127.0.0.1 localhost amd
127.0.1.1 amd.hell amd

The following lines are desirable for IPv6 capable hosts

::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

192.168.1.33 lsi.hell lsi
192.168.1.33 amd.hell amd

Fichier host.conf :

order hosts, bind
multi on

Fichier resolv.conf :

nameserver 192.168.1.1

MACHINE 2 (lsi)
Fichier hosts :

127.0.0.1 localhost amd
127.0.1.1 amd.hell amd

The following lines are desirable for IPv6 capable hosts

::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
Bonjour,
J’ai de la peine, qu’est-ce que je dois mettre dans mon hosts, resolv.conf et host.conf ???

MACHINE 1 (amd)
Fichier hosts :

127.0.0.1 localhost amd
127.0.1.1 amd.hell amd

The following lines are desirable for IPv6 capable hosts

::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

192.168.1.33 lsi.hell lsi
192.168.1.33 amd.hell amd

Fichier host.conf :

order hosts, bind
multi on

Fichier resolv.conf :

nameserver 192.168.1.1

euh, je me suis un peu emêlé là…

Donc :

MACHINE 1 (amd)
Fichier hosts :

127.0.0.1 localhost amd
127.0.1.1 amd.hell amd

The following lines are desirable for IPv6 capable hosts

::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

192.168.1.33 lsi.hell lsi
192.168.1.33 amd.hell amd

Fichier host.conf :

order hosts, bind
multi on

Fichier resolv.conf :

nameserver 192.168.1.1

MACHINE 2 (lsi)
Fichier hosts :

127.0.0.1 localhost lsi
127.0.1.1 lsi.hell lsi

The following lines are desirable for IPv6 capable hosts

::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

192.168.1.33 lsi.hell lsi
192.168.1.33 amd.hell amd

Fichier host.conf :

order hosts, bind
multi on

Fichier resolv.conf :

nameserver 192.168.1.1

pourquoi tu tripotes les hosts ? t’arrives pas a pinger tes machines ? si oui alors t’as un probleme de reseau… si non, ce que tu fais ne sert a rien : le nommage des machines est gere par smb/cifs.