Upgrade Samba PDC from 2.2.0 -> 2.2.2

Gerald (Jerry) Carter jerry at samba.org
Sat Dec 22 08:15:02 GMT 2001


On Sat, 22 Dec 2001, Andreas Haumer wrote:

> My question is: now that samba uses a lot of database files
> which are not easily human-readable ("/var/lock/samba/*.tdb"
> with samba-2.2.0, "/var/cache/samba/*.tdb" with samba-2.2.2),
> and also some files in /etc/samba/ ("secrets.tdb", "MACHINE.SID"),
> what are the files to save during the update? What files can
> be deleted, what files must not be deleted?
> Can I just copy all the files from "/var/lock/samba/" to
> "/var/cache/samba/"?

For smbd (as a PDC) you need to save

	nt*.tdb
	share_info.tdb (if you have changed and default share ACLs)
	secrets.tdb (contains domain SID)
	smb.conf (include smbpasswd and any username map file)

Winbind did not exist in 2.2.0 but for future reference,
you should also save all of winbind's idmap.tdb files.


I would recommend tarring up the entire /usr/local/samba/
directory prior to the upgrade (good practice IMO).

> Is there a "samba-upgrade-HOWTO" somewhere? Does anyone
> out there have any experience with such an update on a
> samba PDC server in production use? Any tips & tricks?

I should go smoothly I would expect.  If something fails, you
be able to back out the upgrade as well.









chau, jerry
 ---------------------------------------------------------------------
 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--





More information about the samba mailing list