[Samba] Re: In place upgrade

Kristian Davies kristian.davies at gmail.com
Fri Oct 10 13:28:47 GMT 2008

On Fri, Oct 10, 2008 at 2:23 PM, Rubin Bennett <rbennett at thatitguy.com> wrote:
> On Fri, 2008-10-10 at 13:56 +0100, Kristian Davies wrote:
>> > For a system installed without a package manager (i.e. make install),
>> > then you make a copy of your passdb.tdb, secrets.tdb and smb.conf,
>> > upgrade, and put those 3 files back in.
>> That's the puppy.  So, stop services, mv sambadir, install new version
>> afresh, copy over those three files and start services.
>> Will that affect the machines AD machine account with sid's etc... or
>> is that why the secrets.tdb are copied over?
> That's why secrets.tdb is copied over.  However, if you're changing
> machines or upgrading OS at the same time, you'll need to copy the user/
> machine entries in /etc/passwd, /etc/group and /etc/shadow as well or
> you'll get lots of ugly messages about your password database being
> corrupt.

Awesome, thanks for the pointers!


More information about the samba mailing list