Cette page vous donne les différences entre la révision choisie et la version actuelle de la page.
|
samba-partage [2013/07/15 20:07] yannick [Configuration] |
— (Version actuelle) | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | ====== Créer un partage Samba pour les postes Windows sous Debian 6 ====== | ||
| - | ===== Installation ===== | ||
| - | <code>aptitude install samba</code> | ||
| - | Indiquer le groupe de travail | ||
| - | {{ :samba-01.png?400 |}} | ||
| - | ===== Configuration ===== | ||
| - | Toutes la configuration se trouve dans le fichier **/etc/samba/smb.conf** | ||
| - | Renomer le fichier de configuration original | ||
| - | <code>mv /etc/samba/smb.conf /etc/samba/smb.conf_original</code> | ||
| - | Créer un nouveau fichier de configuration | ||
| - | <code>nano /etc/samba/smb.conf</code> | ||
| - | et copier | ||
| - | <code> | ||
| - | [global] | ||
| - | workgroup = WORKGROUP | ||
| - | netbios name = nom_du_pc | ||
| - | server string = %h server | ||
| - | public = yes | ||
| - | log file = /var/log/samba/log.%m | ||
| - | security = user | ||
| - | [partagewindows] | ||
| - | comment = Partage Windows | ||
| - | # remplacez nom_utilisateur par votre nom utilisateur Linux | ||
| - | path = /home/nom_utilisateur/partagewindows | ||
| - | browseable = yes | ||
| - | valid users = nom_utilisateur | ||
| - | public = no | ||
| - | writeable = yes | ||
| - | printable = no | ||
| - | </code> | ||
| - | Redémarrer Samba | ||
| - | <code>/etc/init.d/samba restart</code> | ||
| - | |||
| - | <note important>En cours de rédaction</note> | ||