Upgrade Samba on Centos 4.4

Issues related to software problems

Upgrade Samba on Centos 4.4

Postby dcatcha » 2011/08/30 16:32:23

I would like to lead with a I am a newb when it comes to linux, so if my questions seems dumb please understand where I am coming from.

I see on RedHat site Samba package:

samba-3.0.33-0.17.el4.src.rpm

Is available.

I would like to upgrade Samba on my Centos 4.4 box. I ran the following command to verify it is installed:
[root@nice ~]# rpm -qa 'samba*'
samba-swat-3.0.10-1.4E.9
samba-client-3.0.10-1.4E.9
samba-common-3.0.10-1.4E.9
samba-common-3.0.10-1.4E.9
samba-3.0.10-1.4E.9

I found this article about doing an inplace upgrade of samba using the following commands (see below)
My questions are:
1) does the rpm command download the file?
2) How to get get the samba 3.0.33.x? ( I need it so Samba works with my Win7 boxes)
3) Would this process also be similar to update Samba on RedHat?

;upgrade the smb client library files in place
rpm -Uvh libsmbclient-3.0.25a-33.i386.rpm

service smb stop ;stopping services

rpm -ev samba-client ; remove samba-client

;force removal of both samba and samba-common
;the force removal lets you keep the conf files in place
rpm -ev --nodeps samba
rpm -ev --nodeps samba-common

;install new packages...
rpm -ivh samba3-client-3.0.25a-33.i386.rpm
rpm -Uvh samba3-winbind-3.0.25a-33.i386.rpm
rpm -Uvh samba3-3.0.25a-33.i386.rpm

;samba conf files are renamed during package installation,
; so just change them back.
cd /etc/samba/
mv ./smb.conf.rpmsave ./smb.conf
mv ./smbusers.rpmsave ./smbusers

;restart services
service smb start
dcatcha
 
Posts: 1
Joined: 2011/08/30 16:23:40

Upgrade Samba on Centos 4.4

Postby toracat » 2011/08/30 17:30:34

If you keep your CentOS-4 system up-to-date, samba should be at 3.0.33-0.34.el4 now.

If you need samba3, however, you would have to install non-CentOS packages. Please read this CentOS wiki on Repositories thoroughly. "The SerNet Samba 3 Repository" may have the packages you want, but they are not supported by CentOS. So, this is a 'Use at your own risk' suggestion.
User avatar
toracat
Forum Moderator
 
Posts: 6696
Joined: 2006/09/03 16:37:24
Location: California, US


Return to CentOS 4 - Software Support

Who is online

Users browsing this forum: No registered users and 0 guests