Page 1 of 1

use samba share as shared folder

Posted: Thu Jun 30, 2016 7:24 am
Hi all
I am new with UMS,
I tried to add a samba drive
smb://192.168.0.xx/dvd

but this does not work.

Any hint how to do this in ubuntu?

Thanks Thomas

Re: use samba share as shared folder

Posted: Thu Jun 30, 2016 1:15 pm
by boss
When I setup mine (Gentoo), it was just a matter of putting in the full path from the root of the drive where UMS was running from.

EG: If UMS was located at /opt and your samba share was at /home/smb, you would just put in /home/smb

This is done in UMS.conf in the "shared folders" section. This is mine for example:
# ---< Shared folders >-------------------------------------------------------

# Shared folders
# --------------
# Either define a list of specific folders containing media to be shared or
# allow the system to browse the whole disk of the server. The GUI provides a
# system navigation to generate a list of folders. The list should contain a
# comma-separated list of absolute path names, or leave it empty to let the
# system find media.
# Default: ""
folders = /home/media_mnt/Images, /home/media_mnt/Music, /home/media_mnt/Music Videos, /home/media_mnt/Videos

Re: use samba share as shared folder

Posted: Mon Jul 04, 2016 3:11 pm
by F1Fish
This works for me

Code: Select all

mkdir /home/Video
mkdir /home/Cinema
nano /etc/fstab

//10.0.0.34/Video /home/Video cifs username=user,password=user,iocharset=utf8,sec=ntlm  0  0
//10.0.0.34/Cinema_B /home/Cinema cifs username=user,password=user,iocharset=utf8,sec=ntlm  0  0

mount -a
df -h

//10.0.0.34/Video   2.0T  1.4T  640G  69% /home/Video
//10.0.0.34/Cinema  2.0T  478G  1.6T  24% /home/Cinema

ls -la /home/Video

watch your permissions though

Re: use samba share as shared folder

Posted: Thu Aug 04, 2016 6:31 pm
by snoop_mx
F1Fish wrote:This works for me

Code: Select all

mkdir /home/Video
mkdir /home/Cinema
nano /etc/fstab

//10.0.0.34/Video /home/Video cifs username=user,password=user,iocharset=utf8,sec=ntlm  0  0
//10.0.0.34/Cinema_B /home/Cinema cifs username=user,password=user,iocharset=utf8,sec=ntlm  0  0

mount -a
df -h

//10.0.0.34/Video   2.0T  1.4T  640G  69% /home/Video
//10.0.0.34/Cinema  2.0T  478G  1.6T  24% /home/Cinema

ls -la /home/Video

watch your permissions though


I don understand your solution, please with steps please!

I wish to share a carpet with address: 10.0.0.4/carpet

Thanks in avance for all