Comment 7 for bug 259609

Revision history for this message
PAD (pablo-dapalma) wrote :

Well, I've managed the samba reinstallation in the next way.

Noticed that samba depends on samba-common, and samba-common needed the smb.conf I deleted, which it should actually provide, I think.
So I decided create a fake smb.conf (touch /etc/samba/smb.conf). Then I could install samba-common and it didn't complain about the empty file. Then I could install samba, also without any complain about an empty smb.conf.
Next I thought was.. "Now I just need to find the original smb.conf on the web and voila..", but before doing that, I realized looking in samba-common package info, that it installed a kind of template for smb.conf in /usr/share/samba, so I copied that file back to /etc/samba, so the server was aparentely working again, at least it didn't complain about anything.
Another thing I realized looking on samba-common package info, was that it should have intalled "/etc/samba/gdbcommands" which I've seen before deleting them, but now is not there.