bulletmike
December 18th, 2008, 07:37 AM
Hi All,
The SWAT gui interface screwed up my whole smb.conf file so I wanted to re-install samba with the default smb.conf file. So I removed samba by running the command below:
sudo apt-get --purge remove samba
It said it successfully removed. However, it didn't remove the /etc/samba directory and its contents so I removed that as well.
I then tried re-install of Samba by running the command below:
sudo apt-get install samba
Although it installs, it fails to start the samba and from the log files it shows that it is because it cant locate the smb.conf in /etc/samba. My questions is:
1) Shouldn't the install create the /etc/samba director and its default config files ?
2) How do I go about to re-install a fresh copy of samba ?
I would appreciate any kind of feedback.
Thanks !!!
The SWAT gui interface screwed up my whole smb.conf file so I wanted to re-install samba with the default smb.conf file. So I removed samba by running the command below:
sudo apt-get --purge remove samba
It said it successfully removed. However, it didn't remove the /etc/samba directory and its contents so I removed that as well.
I then tried re-install of Samba by running the command below:
sudo apt-get install samba
Although it installs, it fails to start the samba and from the log files it shows that it is because it cant locate the smb.conf in /etc/samba. My questions is:
1) Shouldn't the install create the /etc/samba director and its default config files ?
2) How do I go about to re-install a fresh copy of samba ?
I would appreciate any kind of feedback.
Thanks !!!