[Samba] Re: In place upgrade

Rubin Bennett rbennett at thatitguy.com
Fri Oct 10 13:23:05 GMT 2008


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.

Rubin

-- 
Rubin Bennett
RB Technologies
http://thatitguy.com
rbennett at thatitguy.com
(802)223-4448

Think for yourselves and let others enjoy the privilege to do so, too.
~Voltaire




More information about the samba mailing list