Solved

upgrading samba 3.03-1 to 3.07-1 redhat linux 9.0

Posted on 2004-10-20
8
268 Views
Last Modified: 2013-12-16
Hi,

I'm running samba 3.03 and want to upgrade to the latest stable release that has just been issued.  it is a member server in active directory.  they system has beem happily spinning for the last 141 days without a hicough.  

so my question is this.  
after downloading the new package from samba.org,  are there any gotchas that I need to be aware of before I type "rpm -Uvh newsamba307.rpm" in my shell?

this is a production server, and I would rather have this go smoothly so my opensource initiative keeps it's untarnished reputation.

Thanks

Tanelorn
0
Comment
Question by:tanelorn
  • 3
  • 3
8 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 500 total points
ID: 12364321
It should go smoothly... However, you are upgrading a RedHat package with a non-vendor binary. There's nothing that I can see that tells me that the rpm was built against an up to date RH 9 or the original version as shipped on the RH 9 CD's, or something in between. If it were me I'd make sure that my system had all relevant RH 9 errata applied (see http://www.fedoralegacy.org) and then I'd get the SRPM from samba.org and build my own copy.
0
 
LVL 6

Author Comment

by:tanelorn
ID: 12365187
Thanks for responding,
I downloaded the redhat 9 rpm (the version I'm using.) from samba.org's download section so I don't think I'll have to roll my own.

fedoralegacy.org.   good to know,  I'll check it out. I know redhat stopped supporting 9.0, but I didn't know that there was a site that carried the torch.  

there are a lot of bug security and fixes in this release, and we are rolling this server out to more areas in the facility.  I'm happy with functionality and configuration. (had to put in the 3.0.3 version to respect secondary group memberships...that was a pain to figure out...I was testing out 3.0.2 bumping into that, while the coder-gods were rewriting that piece...)

should I back anything up?  config files?, Kerberos stuff?...  winbindd databases?.   and if so,  what and how?
or will the daemons just restart and drive on.

Thanks

T

0
 
LVL 40

Expert Comment

by:jlevie
ID: 12365244
> I downloaded the redhat 9 rpm (the version I'm using.) from samba.org's download section

My point was that there's nothing on the Samba site that tells you what the build environment was. Was it built on the orginal release? A fully updated system, or something inbetween?

The safe solution is to bring your box up to date and build a package from the SRPM. That's certain to be compatible with your system.

On a mission critical server I'd certainly take a full backup before upgrading something like Samba. It should just drop in and run, but if it doesn't...
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 6

Author Comment

by:tanelorn
ID: 12368189
Ahh,  ok, I see your point.  I'll give it a go and report back

Thanks
0
 
LVL 6

Author Comment

by:tanelorn
ID: 12388248
wow,  I should have done a little more homework.

redhat 9,kernel 2.4.* with samba 3.0.3 running kerberos 1.2.7

when I set up this server, the domain controllers were win2k.  since the server was built, it hasn't been rebooted.  
during that time, the domain controllers have been upgraded to win2k3.  

with the domain controller upgrade, Microsoft changed the kerberos authentication back end.  changed the encryption type, and the size of the ticket packet....(big suprise there) this required kerberos 1.3.1 at least.  

so,  I uninstalled kerberos, and samba. (saving the config files etc.)  compiled kerberos 1.3.5 and samba 3.0.7-1 from source/ and installed.

the pieces worked independently. meaning that I could issue commands with the correct responses
wbinfo -u and -g returned domain information.  getent returned info.  

klist, kinit, net ads***  all worked as expected.  but when I tried to connect to it with a windows client, I go the error "failed to validate ticket"  so I turned on logging and took a look at the logs..  

after extensive googling,  I came to the conclusion that there have been a lot of people with the same problem.  so I've decided to upgrade the server to fedora core 2.  well,  not upgrade, but  rebuild.  this has the correct kerberos back end, and samba 3.0.7-2 all ready to go.  

also I'm using a promise controller, (have to use a 2.4 kernel with that...)  so I've ordered a 3ware controller to replace that.  in the meantime I'm working with another machine to buzz out the software.

any other thoughts?

Tanelorn
0
 
LVL 40

Expert Comment

by:jlevie
ID: 12388723
That sounds like a good plan to me.
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Fine Tune your automatic Updates for Ubuntu / Debian
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now