[Samba] updating samba via rpm
tonye at billy.demon.nl
Tue Jun 7 21:25:34 GMT 2005
tir, 07.06.2005 kl. 22.51 skrev Stuart Highlander:
> current status:
> samba pdc running samba 3.0.10-1.fc3 on fedora core 3 on a dell server.
> clients are windows 2000 pro workstations.
> authentication is via tdbsam.
> pretty vanilla setup. no active directory, ldap, winbind, etc.
> i have downloaded the rpm's from samba.org for current stable release samba
> 3.0.14a-1. usually i perform upgrades to samba server using rpm -Fvh
> samba-*, with this set of rpm's the update does not run using the rpm -Fvh
> i do recall list traffic that did not recommend upgrading this way, but have
> not had any problems in the past doing it this way.
> could someone steer me to documentation that would help me upgrade the samba
> software via rpm?
I don't have Fedora, I have RHAS3 at the moment. The samba.org srpm
installs fine on RHAS3. But ...
You need to read up on rpmbuild and practice using it. rpmbuild
--rebuild package.srpm gives me a vanilla binary rpm package in my
/usr/src/redhat/RPM/i386 directory, that I can install with rpm. This
assumes I have installed all compiler and development support in
However, I'm not satisfied with a vanilla rpm, I want to change compile
configure options. So I do rpm -ivh package.srpm, go to
/usr/src/redhat/SPECS, edit the spec file I've just installed, go back
to the package directory and do rpm -bb /usr/src/redhat/SPECS/samba.spec
and I get a custom rpm in /usr/src/redhat/RPM/i386, which I can then
install with rpm -Uvh.
Sounds daunting, but it isn't really, if one's used to compiling source
code (which one should be ;)
The samba.org srpms give less trouble than many other srpms, hats off to
> i have downloaded and read the samba pdf manuls by john terpstra, jelmer
> vernooij, and jerry carter (excellent reading), but did not find my specific
mail: tonye at billy.demon.nl
More information about the samba