Resetting Samba Conf File

Asked by rahduke

It seems like i have damaged my smb.conf file beyond repair. Is there any way to reset it to the original settings?

I'm trying to do 2 things with Samaba:

Share Files to my XBOX thru XBMC

Share files to my windows computer over my wifi network

When i first configured samba it worked great on my xbox, I was able to stream everything I wanted and I was able to view movies directly out of RAR packages without having to extract anything. When I tried configuring the smb.conf file to allow my windows computer to access network resources everything got messed up.

Currently I can't even access my workgroups from my windows computer, I can view files on my xbox and play some video's however I can no longer play video's from RAR packages.

I've been trying to fix this for over a week and I'm starting to freak out.

I want to know if there is a way to reset the smb.conf file to the original settings so I can start over. If you need me to post my smb.conf settings please let me know.

Thanks in advance

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
rahduke
Solved:
Last query:
Last reply:
Revision history for this message
Albert Damen (albrt) said :
#1

The original smb.conf file is available in: /usr/share/samba

You can copy it with the command:
cp -a /usr/share/samba/smb.conf /etc/samba/

Revision history for this message
rahduke (rahduke) said :
#2

Thanks alot!