Forum

Full Version: Configuring SMB
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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
Oops, sorry, some shares are active already.
Have a look at:
"/etc/samba/shares.conf"
(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
Reference URL's