Forum
[SOLVED] Configuring SMB - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Configuration (/forum-17.html)
+--- Thread: [SOLVED] Configuring SMB (/thread-2885.html)



Configuring SMB - new_to_this - 24th Mar, 2015 04:12 AM

Hi,
Probably a silly question but ... how do you configure Samba?
Looking in /etc/samba/smb.conf I see big scary letters telling me "DO NOT EDIT THIS FILE". Yet that's exactly what the internet (and this forum) seem to be suggesting.

Also, why is there much less in my smb.conf file than general internet configuration results suggests there should be?
Thanks


RE: Configuring SMB - deHakkelaar - 24th Mar, 2015 04:26 AM

Thats because the XBian Samba setup does not have any shares configured yet.
You need to add your own like in below example:

Terminal
[SHARE_NAME]
comment = PUT_SOME_COMMENTS_HERE
path = PATH_TO_FOLDER_THAT_YOU_WANT_TO_SHARE
public = yes
guest ok = yes
writable = yes
browseable = yes
# force user = kodi



RE: Configuring SMB - deHakkelaar - 24th Mar, 2015 04:39 AM

Oops, sorry, some shares are active already.
Have a look at:
"/etc/samba/shares.conf"


RE: Configuring SMB - new_to_this - 26th Apr, 2015 04:12 AM

(24th Mar, 2015 04:39 AM)deHakkelaar Wrote:  Oops, sorry, some shares are active already.
Have a look at:
"/etc/samba/shares.conf"

Thanks. I had tried to look in there before but saw nothing. I think I looked in share.conf in hindsight and nano doesn't make it obvious that the file doesn't exist.
Thanks