Mark.Roth@mylanlabs.com
2003-Mar-20 14:25 UTC
[Samba] How do I upgrade from 2.2.5 to 2.2.8
Samba List Serve Users: Is there a document or web link that follow that describes the steps to upgrade Samba from 2.2.5 to 2.2.8? The documentation on samba.org the I have read assumes that the install is a fresh install and not an upgrade. Thanks so much, Mark Roth Systems Engineer Mylan Pharmaceuticals, Inc. (304) 598-5430 x6864
On Thu, 2003-03-20 at 09:25, Mark.Roth@mylanlabs.com wrote:> Samba List Serve Users: > Is there a document or web link that follow that describes the steps to > upgrade Samba from 2.2.5 to 2.2.8? The documentation on samba.org the I > have read assumes that the install is a fresh install and not an upgrade. > Thanks so much, > Mark Roth > Systems Engineer > Mylan Pharmaceuticals, Inc. > (304) 598-5430 x6864I'm not aware of such a document... If you're using a system that handles packages (ie most linux distributions) then you should be able to just install the new packages. if you must install from source - (management nightmare IMHO) then you can remove the old samba stuff, keeping the conf file and your tdb files safe. Then after you install the new samba (and before you start it) put the conf file and tdb files where the new samba will expect them (depends on the options you pass to configure...) best wishes! brad -- Bradley W. Langhorst <brad@langhorst.com>
Yep, it's real important to be able to roll back! Does anyone know exactly which .tdb files need to be copied? I suspect some of them should NOT be copied over. I just did an upgrade from 2.2.6 to 2.2.8 and DID copy over: ntdrivers.tdb ntforms.tdb ntprinters.tdb share_info.tdb did NOT copy: brlock.tdb browse.tdb connections.tdb locking.tdb messages.tdb printing.tdb unexpected.tdb This seemed to work - dunno if it's optimal. PCC -----Original Message----- From: Michael G. Noble [mailto:mnoble@rfmagic.com] Sent: Thursday, 20 March, 2003 5:01 PM To: Bradley W. Langhorst Cc: samba@lists.samba.org; Mark.Roth@mylanlabs.com Subject: Re: [Samba] How do I upgrade from 2.2.5 to 2.2.8 I use the method of creating a complete new install directory. If you are going to install 2.2.8, then use the directory samba.2.2.8 as the base of the install. This way you can install the new version while the old version is still running. When you are ready you can then stop the old version and start the new one. If things go really bad, you can just start the old version back up and work on fixing the new one with minimal impact on the users. Mike On Thu, 2003-03-20 at 08:47, Bradley W. Langhorst wrote:> On Thu, 2003-03-20 at 09:25, Mark.Roth@mylanlabs.com wrote: > > Samba List Serve Users: > > Is there a document or web link that follow that describes the steps to > > upgrade Samba from 2.2.5 to 2.2.8? The documentation on samba.org the I > > have read assumes that the install is a fresh install and not anupgrade.> > Thanks so much, > > Mark Roth > > Systems Engineer > > Mylan Pharmaceuticals, Inc. > > (304) 598-5430 x6864 > I'm not aware of such a document... > If you're using a system that handles packages (ie most linux > distributions) then you should be able to just install the new packages. > > if you must install from source - (management nightmare IMHO) > then you can remove the old samba stuff, keeping the conf file and your > tdb files safe. Then after you install the new samba (and before you > start it) put the conf file and tdb files where the new samba will > expect them (depends on the options you pass to configure...) > > best wishes! > > brad > -- > Bradley W. Langhorst <brad@langhorst.com> > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba-- Michael G. Noble RF Magic, Inc. Senior System Administrator 10182 Telesis Ct., 4th Floor San Diego, CA. 92121 email: mnoble@rfmagic.com voice: (858) 546-2401 x207 fax: (858) 546-2402 -- There is Sanity in my Madness! -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Hi,> On Thu, 2003-03-20 at 09:25, Mark.Roth@mylanlabs.com wrote: > > Samba List Serve Users: > > Is there a document or web link that follow that describes the steps > to > > upgrade Samba from 2.2.5 to 2.2.8? The documentation on samba.org the > I > > have read assumes that the install is a fresh install and not an > upgrade. > > Thanks so much,I recently upgraded from Samba 2.2.2 to 2.2.8 from source. I had a quick look at the Makefile before I started and there are rules for installing the files, uninstalling the files and reverting the files to the previous version. I simply unpacked the source into /tmp/download, cd'd to /tmp/download/samba-2.2.8/source, issued a './configure' and a 'make', then su'd to the root user and inssued a 'make install'. The install process backed up all of the old files it was replacing (to filename.old) and didnt touch any of the tdb files or smb.conf itself. I restarted Samba and everything ran fine! As everything went okay, I've not had to use the 'make revert' command, but looking at the Makefile, I see no reason for it not to work. Does anyone have any experience of using it? Regards Andy Dr. Andy Dawson A.J.Dawson@Bradford.ac.uk http://www.mossie.org http://www.museum-explorer.org.uk Never attribute to malice that which is adequately explained by stupidity.