#1 Le 07/12/2018, à 18:46
- laslack
Samba vs UMS difficultés d' accès aux partages en mirroir! RESOLU
Bonjour ,
Je m'explique :
Avec ubuntu 18.04 je veux partager des fichiers avec un autre pc et un disque multimedia.
Ces fichiers sont pour part sur mon /home et pour par sur 2 dd montés au démarrage "stock " et "home ancien"
Pour le multimedia , j'ai utilisé UMS: voir ici
8:26:28 INFO Encoding: UTF-8
18:26:28 INFO
18:26:28 INFO Working directory: /home/jeanpaul/Téléchargements/ums-7.6.2
18:26:28 INFO Temporary directory: /tmp/UMS-jeanpaul
18:26:28 INFO Logging configuration file: /home/jeanpaul/Téléchargements/ums-7.6.2/logback.xml
18:26:28 INFO Logfile: /home/jeanpaul/.config/UMS/debug.log
18:26:28 INFO
18:26:28 INFO Profile directory: /home/jeanpaul/.config/UMS
18:26:28 INFO Profile directory permissions: drwx
18:26:28 INFO Profile configuration file: /home/jeanpaul/.config/UMS/UMS.conf
18:26:28 INFO Profile configuration file permissions: -rw-
18:26:28 INFO Profile name: G41M-2SH
18:26:28 INFO
18:26:28 INFO Web configuration file: /home/jeanpaul/.config/UMS/WEB.conf
18:26:28 WARN Web configuration file not found: File "/home/jeanpaul/.config/UMS/WEB.conf" not found
18:26:28 INFO
18:26:28 INFO Using database located at: "/home/jeanpaul/.config/UMS/database"
18:26:29 INFO Checking shared folder: "/home/jeanpaul/Vidéos"
18:26:29 INFO Checking shared folder: "/home/jeanpaul/Images"
18:26:29 INFO Checking shared folder: "/mnt/homeancien/videos old"
18:26:29 WARN "/mnt/homeancien/videos old" does not exist. Please remove it from your shared folders list on the "Paramètres de navigation / partage" tab or in the configuration file.
18:26:29 INFO Checking shared folder: "/mnt/homeancien/images"
18:26:29 WARN "/mnt/homeancien/images" does not exist. Please remove it from your shared folders list on the "Paramètres de navigation / partage" tab or in the configuration file.
18:26:29 INFO Checking shared folder: "/mnt/stock/films"
18:26:29 WARN "/mnt/stock/films" does not exist. Please remove it from your shared folders list on the "Paramètres de navigation / partage" tab or in the configuration file.
18:26:29 INFO Using the following UUID configured in UMS.conf: dc936447-3440-4031-bfae-2d5c3a9a76bd
18:26:30 INFO Loading MediaInfo library
18:26:30 INFO Loaded MediaInfoLib - v17.12
18:26:30 INFO Loading renderer configurations from /home/jeanpaul/Téléchargements/ums-7.6.2/renderers
18:26:30 INFO Enabled 155 configurations, listed in order of loading priority:
Donc avec UMS je n'ai pas accès aux dd "stock" et home ancien
Par ailleurs j'ai installé et paramétré samba : et là , ce sont les partages venant de mon /home qui sont inaccessibles , quelque soit l'utilisateur et le mot de passe utilisé ,mais les partages de mes deux dd se font sans problème
coi dessous la partie concernant les "share definitions " de smb.conf
# Un-comment the following (and tweak the other settings below to suit)
# to enable the default home directory shares. This will share each
# user's home directory as \\server\username
;[homes]
; comment = Home Directories
; browseable = no
# By default, the home directories are exported read-only. Change the
# next parameter to 'no' if you want to be able to write to them.
; read only = yes
# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
; create mask = 0700
# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
; directory mask = 0700
# By default, \\server\username shares can be connected to by anyone
# with access to the samba server.
# Un-comment the following parameter to make sure that only "username"
# can connect to \\server\username
# This might need tweaking when using external authentication schemes
; valid users = %S
# Un-comment the following and create the netlogon directory for Domain Logons
# (you need to configure Samba to act as a domain controller too.)
;[netlogon]
; comment = Network Logon Service
; path = /home/samba/netlogon
; guest ok = yes
; read only = yes
# Un-comment the following and create the profiles directory to store
# users profiles (see the "logon path" option above)
# (you need to configure Samba to act as a domain controller too.)
# The path below should be writable by all users so that their
# profile directory may be created the first time they log on
;[profiles]
; comment = Users profiles
; path = /home/samba/profiles
; guest ok = no
; browseable = no
; create mask = 0600
; directory mask = 0700
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
; guest ok = no
; read only = yes
create mask = 0700
# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
; browseable = yes
; read only = yes
; guest ok = no
# Uncomment to allow remote administration of Windows print drivers.
# You may need to replace 'lpadmin' with the name of the group your
# admin users are members of.
# Please note that you also need to set appropriate Unix permissions
# to the drivers directory for these users to have write rights in it
; write list = root, @lpadmin
[Vidéos old]
path = /mnt/b78b0088-f858-4525-9c92-5abe20619e9a/Vidéos old
writeable = yes
browseable = yes
guest ok = yes
[Films]
path = /mnt/4dda761b-6c74-46f9-b49b-3d466aba12f2/Films
writeable = yes
browseable = yes
guest ok = yes
[Vidéos]
path = /home/jeanpaul/Vidéos
writeable = yes
browseable = yes
guest ok = yes
create mask = 0777
[Album Photos]
path = /mnt/b78b0088-f858-4525-9c92-5abe20619e9a/Images/Album Photos
writeable = yes
browseable = yes
guest ok = yes
[images]
path = /home/jeanpaul/images
writeable = yes
browseable = yes
guest ok = yes
create mask = 0777
Au départ je n'avais pas cré les lignes "mask" mais devant l'impossibilité d'accéder au partage , je mesuis dit que c'est peut être une question de droit.
Mais même avec ces ajpits , cela ne marche pas .
Quelqu'un a t il une idée de ce qui se passe ??
Merci.
Ps , je ne suis pas un expert en matière informatique , ceci explique peut être cela
Dernière modification par laslack (Le 09/12/2018, à 16:27)
Hors ligne
#2 Le 08/12/2018, à 17:23
- LukePerp
Re : Samba vs UMS difficultés d' accès aux partages en mirroir! RESOLU
Bonjour, pour UMS, vérifies que les partitions impliquées dans le partage sont bien montées avant de démarrer UMS. Pour samba je suis incompétent. Si toutes tes machines sont sur Linux, utilise plutôt nfs que samba, regardes la documentation
Gamer inside - Ubuntu Mate dernière LTS - Intel i5, 16 Go - Dual boot Windows - Utilisateur de Dapps sur Ethereum
Hors ligne
#3 Le 09/12/2018, à 16:24
- laslack
Re : Samba vs UMS difficultés d' accès aux partages en mirroir! RESOLU
Merci , j'ai vérifié : les partitions sont montées .
Mais j'ai résolu le problème ,de façon pas très élégante , mais ça marche :
Dans chacun de mes disques , j'ai créé un lien avec le dossier à partager sur /home et ça fonctionne avec samba
et dans mon /home j'ai cré un lien vers les dossiers de mes didisques pour UMS et maintenant j'ai accès à tout quelque soit le reseau utilisé
Dernière modification par laslack (Le 09/12/2018, à 16:25)
Hors ligne