How do I get the default configuration smb.conf back?
The issue is I screw up my smb.conf by SWAT and I want now the default configuration with all comments back.
I try: apt-get remove --purge samba > it leaves the default configuration in samba/ directory the other way is to download source package....apt-get source samba Is there some other quicker way how to get the default smb.conf file back? Thx Yes but on Debian 5.0: I uninstall samba. Remove samba/ dir. Install samba. I'm unable to bring up nmbd daemon UP - missing samba/ dir with smb.conf. I create samba/ dir with smb.conf and nmbd is fine! |
If you reinstall samba should do the thing right? you can rename samba directory in /etc and then reinstall the package.
|
sudo apt-get install purge
sudo apt-get install samba Or just find a default config and copy it to smb.conf |
All times are GMT -5. The time now is 07:59 AM. |