Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| smbnetfs [Le 22/05/2009, 18:16] – Utiliser SMBNetFS pour son partage Samba 213.95.41.13 | smbnetfs [Le 24/08/2026, 21:52] (Version actuelle) – fusesmb obsolete et chapitres mal rédigés sans doute obsoletes | la doc n'est pas adaptée au partage de fichiers longs, jamais revus ni maintenus | +note globalement obsolete krodelabestiole | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | {{tag>Jaunty | + | {{tag>Xenial |
| - | + | ||
| - | ---- | + | |
| ====== SMBNetFS ====== | ====== SMBNetFS ====== | ||
| - | Tout comme //SMB For Fuse// ([[: | + | **SMBNetFS** sert à monter sur son système de fichier le voisinage réseau [[:SMB]] (protocole |
| + | |||
| + | <note important> | ||
| + | Il existe désormais des méthodes beaucoup plus pratiques et performantes pour accéder à des partages [[:SMB]] : voir le chapitre // | ||
| + | </ | ||
| - | L' | + | L' |
| Les anciens utilisateurs de Windows, nouveau utilisateurs de Linux, ne se sentent donc pas perdus. | Les anciens utilisateurs de Windows, nouveau utilisateurs de Linux, ne se sentent donc pas perdus. | ||
| Ligne 14: | Ligne 16: | ||
| ===== Installation ===== | ===== Installation ===== | ||
| - | Tout d' | + | Tout d' |
| - | + | ||
| - | // | + | |
| + | **SMBNetFS** est dans les [[: | ||
| ===== Utilisation ===== | ===== Utilisation ===== | ||
| + | |||
| + | <note important> | ||
| + | En utilisant vous exposez votre système à des problèmes de [[: | ||
| + | </ | ||
| === Direct === | === Direct === | ||
| + | Cette méthode va créer un répertoire '' | ||
| + | C'est très simple, il suffit de mettre '' | ||
| + | mkdir -p Network | ||
| + | sudo cp / | ||
| + | sudo cp / | ||
| + | smbnetfs Network</ | ||
| - | C'est très simple, il suffit | + | A partir de maintenant, vous pouvez voir le voisinage réseau |
| - | cd ~ | + | |
| - | mkdir -p Network | + | |
| - | smbnetfs | + | |
| - | A partir de maintenant, vous pouvez voir le voisinage réseau de la forme « DOMAINES/ | + | Il est aussi possible d' |
| - | + | ||
| - | Il est aussi possible d' | + | |
| cd Network/ | cd Network/ | ||
| Pour démonter le point de montage : | Pour démonter le point de montage : | ||
| - | |||
| fusermount -u Network | fusermount -u Network | ||
| === Automatisé === | === Automatisé === | ||
| - | Rajouter simplement la commande | + | Rajouter simplement la commande '' |
| - | L' | + | L' |
| - | * Toutes les 5 minutes (paramétrable), | + | * Toutes les 5 minutes (paramétrable), |
| - | * Toutes les 5 minutes (paramétrable aussi), il relit son fichier de configuration pour se mettre à jour (ex : changement / rajout d' | + | * Toutes les 5 minutes (paramétrable aussi), il relit son fichier de configuration pour se mettre à jour (ex.\_: changement / rajout d' |
| - | + | ||
| - | En cas de soucis avec le voisinage réseau, voici un petit script qui permet de forcer le rafraichissement : | + | |
| - | < | + | |
| - | #! /bin/sh | + | |
| - | + | ||
| - | isfuse=$(cat /etc/mtab | grep smbnetfs) | + | |
| - | + | ||
| - | if [ -n " | + | |
| - | { | + | |
| - | fusermount -u Network | + | |
| - | } | + | |
| - | fi | + | |
| - | + | ||
| - | smbnetfs Network | + | |
| - | + | ||
| - | exit 0 | + | |
| - | </ | + | |
| - | + | ||
| - | Bien entendu, " | + | |
| ==== Configuration avancée ==== | ==== Configuration avancée ==== | ||
| Il est possible de configurer plus finement // | Il est possible de configurer plus finement // | ||
| - | Pour cela, il faut créer le répertoire et le fichier | + | Pour cela, il faut créer le répertoire et le fichier |
| - | Voici un fichier de base, commentée en anglais, mais qui se comprend bien : | + | Le fichier doit être accessible seulement par le propriétaire. |
| - | < | + | |
| - | ################################# | + | |
| - | # # | + | |
| - | # SMBNETFS sample config file # | + | |
| - | # # | + | |
| - | ################################# | + | |
| - | + | ||
| - | # | + | |
| - | # SMBNetFs debug level. Most of people should not use debug level | + | |
| - | # greater then 6. | + | |
| - | # Possible values: 0 <= smbnetfs_debug <= 10 | + | |
| - | # | + | |
| - | # Default: 0 | + | |
| - | # | + | |
| - | # | + | |
| - | + | ||
| - | # | + | |
| - | # File to store SMBNETFS debug messages | + | |
| - | # | + | |
| - | # Default: print to stderr | + | |
| - | # | + | |
| - | # | + | |
| - | + | ||
| - | # | + | |
| - | # Child process inactivity timeout. Child process will be finished | + | |
| - | # after timeout expiration. | + | |
| - | # Possible values: listen_timeout >= 30 | + | |
| - | # | + | |
| - | # Default: 300 | + | |
| - | # | + | |
| - | # | + | |
| - | + | ||
| - | # | + | |
| - | # Samba debug level (man smb.conf for details) | + | |
| - | # Possible values: 0 <= smb_debug_level <= 10 | + | |
| - | # | + | |
| - | # Default: 0 | + | |
| - | # | + | |
| - | # | + | |
| - | + | ||
| - | # | + | |
| - | # Local charset | + | |
| - | # | + | |
| - | # Default: autodetected | + | |
| - | # | + | |
| - | # | + | |
| - | + | ||
| - | # | + | |
| - | # Charset used by samba | + | |
| - | # | + | |
| - | # Default: utf-8 | + | |
| - | # | + | |
| - | # | + | |
| - | + | ||
| - | # | + | |
| - | # Number of retries before reporting error. | + | |
| - | # Possible values: max_retry_count > 0 | + | |
| - | # | + | |
| - | # Default: 3 | + | |
| - | # | + | |
| - | # | + | |
| - | + | ||
| - | # | + | |
| - | # Maximum number of password queries to prevent infinite loop. | + | |
| - | # Possible values: max_passwd_query_count >= 3 | + | |
| - | # | + | |
| - | # Default: 10 | + | |
| - | # | + | |
| - | # | + | |
| - | + | ||
| - | # | + | |
| - | # Child process reply timeout. Child process will be assumed dead | + | |
| - | # (and killed) if timeout expired. | + | |
| - | # Possible values: reply_timeout >= 10 | + | |
| - | # | + | |
| - | # Default: 30 | + | |
| - | # | + | |
| - | # | + | |
| - | + | ||
| - | # | + | |
| - | # The maximum size of read/write block in Kb. This option can not be | + | |
| - | # changed after SMBNetFS start. | + | |
| - | # WARNING: libsmbclient <= 3.0 does not support block_size >= 64Kb. | + | |
| - | # | + | |
| - | # Default: 48Kb (libsmbclient-3.0), | + | |
| - | # | + | |
| - | # | + | |
| - | + | ||
| - | # | + | |
| - | # The maximun number of samba context (forked processes). Reduse it if | + | |
| - | # smbnetfs eat a lot of memory | + | |
| - | # | + | |
| - | # Default: 15 | + | |
| - | # | + | |
| - | # | + | |
| - | + | ||
| - | # | + | |
| - | # time_step is a sleep interval between checking for scheduled events. | + | |
| - | # Increase it if smbnetfs eat to much cpu without loading. | + | |
| - | # | + | |
| - | # Default: 10 sec | + | |
| - | # | + | |
| - | # | + | |
| - | + | ||
| - | # | + | |
| - | # The time between scanning samba network tree for changes | + | |
| - | # | + | |
| - | # Default: 300 sec | + | |
| - | # | + | |
| - | # | + | |
| - | + | ||
| - | # | + | |
| - | # The time to live of founded computer/ | + | |
| - | # | + | |
| - | # Default: 900 sec | + | |
| - | # | + | |
| - | # | + | |
| - | + | ||
| - | # | + | |
| - | # An interval between configuration update (rereading of config files) | + | |
| - | # | + | |
| - | # Default: 300 sec | + | |
| - | # | + | |
| - | # | + | |
| - | + | ||
| - | # | + | |
| - | # If smb_query_browsers disabled, then smbnetfs will show only static | + | |
| - | # host/ | + | |
| - | # Possible value: true, false, yes, no | + | |
| - | # | + | |
| - | # Default: true | + | |
| - | # | + | |
| - | # | + | |
| - | + | ||
| - | # | + | |
| - | # This option define the free space size reported by SMBNetFS. This is | + | |
| - | # mostly required for Nautilus (Gnome project), as it check the amount | + | |
| - | # of free space before any write attempt. | + | |
| - | # WARNING!!! Actual free space size is equal to free_space_size * 4Kb | + | |
| - | # | + | |
| - | # Default: 0 | + | |
| - | # | + | |
| - | # | + | |
| - | + | ||
| - | # | + | |
| - | # If quiet_flag enabled, then chown/ | + | |
| - | # chmod/chown will always fail. | + | |
| - | # Possible value: true, false, yes, no | + | |
| - | # | + | |
| - | # Default: true | + | |
| - | # | + | |
| - | # | + | |
| - | + | ||
| - | # | + | |
| - | # If show_$_shares disabled, then smbnetfs will not show shares with $ | + | |
| - | # at the end. | + | |
| - | # Possible value: true, false, yes, no | + | |
| - | # | + | |
| - | # Default: false | + | |
| - | # | + | |
| - | # | + | |
| - | + | ||
| - | # | + | |
| - | # If show_hidden_hosts enabled, then smbnetfs will show all scanned | + | |
| - | # host in a network tree. | + | |
| - | # at the end. | + | |
| - | # Possible value: true, false, yes, no | + | |
| - | # | + | |
| - | # Default: false | + | |
| - | # | + | |
| - | # | + | |
| - | + | ||
| - | # | + | |
| - | # konqueror search for ' | + | |
| - | # subdirectories. This slow a groups/ | + | |
| - | # specify the number of path component checked for " | + | |
| - | # the value of -1 to check all path component. | + | |
| - | # | + | |
| - | # Set kde_workaround_depth to 3 or above if you browse SMBNetFs with | + | |
| - | # konqueror. Other people can use 0 value. | + | |
| - | # Possible value: -1, 0, 1, 2, ... | + | |
| - | # | + | |
| - | # Default: " | + | |
| - | # | + | |
| - | # | + | |
| - | + | ||
| - | # | + | |
| - | # Set auth information for samba network resource. If share name is | + | |
| - | # omited then the auth data applied to all computer " | + | |
| - | # Omit " | + | |
| - | # | + | |
| - | # PS: You can use "cd mountpoint/ | + | |
| - | # command to enter to remote computer as domain/ | + | |
| - | # " | + | |
| - | # | + | |
| - | # Syntax: | + | |
| - | # auth [computer[/ | + | |
| - | # auth [workgroup] | + | |
| - | # | + | |
| - | # Default: | + | |
| - | # auth " | + | |
| - | # | + | |
| - | # | + | |
| - | # | + | |
| - | + | ||
| - | # read auth data from ~/ | + | |
| - | include " | + | |
| - | + | ||
| - | # | + | |
| - | # This section describe a static host/ | + | |
| - | # | + | |
| - | # host | + | |
| - | # group group_name | + | |
| - | # link | + | |
| - | # link | + | |
| - | # | + | |
| - | + | ||
| - | # read host/ | + | |
| - | # | + | |
| - | </ | + | |
| - | + | ||
| - | Le fichier doit etre accessible seulement par le propriétaire. | + | |
| Pour corriger les permissions, | Pour corriger les permissions, | ||
| chmod 600 ~/ | chmod 600 ~/ | ||
| - | S'il y a besoin de s' | + | S'il y a besoin de s' |
| < | < | ||
| - | FIXME Expliquer comment utiliser un fichier | + | FIXME Expliquer comment utiliser un fichier |
| </ | </ | ||
| ===== Annexes ===== | ===== Annexes ===== | ||
| + | |||
| + | ==== Pare-feu ==== | ||
| <note important> | <note important> | ||
| - | Il est fortement recommandé de mettre | + | Attention à ne pas bloquer |
| </ | </ | ||
| - | |||
| ===== Liens et références ===== | ===== Liens et références ===== | ||
| - | * [[gigolo|Gigolo]], une interface graphique pour tous points de montage à travers GIO/GVfs au lieu de Fuse. | + | * [[:Gigolo]], une interface graphique pour tous points de montage à travers GIO/GVfs au lieu de Fuse. |
| * [[http:// | * [[http:// | ||
| - | * [[fusesmb// | + | * [[https:// |
| - | * [[http:// | + | |
| ---- | ---- | ||
| - | + | //[[:Contributeurs]] : [[http:// | |
| - | // | + | |
