use samba share as shared folder

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
[email protected]
Posts: 1
Joined: Thu Jun 30, 2016 7:20 am

use samba share as shared folder

Post by [email protected] »

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
boss
Posts: 343
Joined: Thu Jun 30, 2016 1:07 pm

Re: use samba share as shared folder

Post 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
F1Fish
Posts: 15
Joined: Fri Nov 27, 2015 6:15 am

Re: use samba share as shared folder

Post 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
snoop_mx
Posts: 3
Joined: Thu Aug 04, 2016 5:22 pm

Re: use samba share as shared folder

Post 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
Post Reply