[Samba] Re: In place upgrade

Ryan Novosielski novosirj at umdnj.edu
Sat Oct 11 22:14:33 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rubin Bennett 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.

If you're moving machines, you have to also worry about the other
persistent TDB's. You can lose all of your printers/forms/etc. otherwise.

- --
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI8SVJmb+gadEcsb4RAk8QAKCZA7DaFH4F40RYwAg28lSnJsVpkACfbMmj
HBEBF2R1aRjgNN2hM83dg8I=
=wqXf
-----END PGP SIGNATURE-----


More information about the samba mailing list