2010/6/16 Tiago Damasceno ::: TDA INFORMÁTICA
<[email protected]>:
> Hello!
>
> Accidentally deletes the file daemon, / usr / lib / samba / classic / smbd.
> Now I can not start Samba, Samba reinstalling again in the newer version I
> would lose my settings? It will overwrite existing files or just bring back
> the excluded?

If it is only the /usr/sbin/smbd file that was deleted, then it might
be easiest to do this:

Get the original RPM that you used to install Samba.
Use rpm2cpio and cpio to extract just the smbd file somewhere.
Move the smbd file to /usr/sbin.

But make sure you have good backups first in case you make a mistake.

I can't check the correct syntax now because I don't have access to an
RPM-based distribution at the moment.

-- 
Michael Wood <[email protected]>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to