Solved

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

Posted on 2004-10-20
8
271 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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.

778 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