Turner, Justin H Contractor
2009-Feb-10 18:00 UTC
[Samba] Upgrade samba from 3.28 to 3.29 to fix winbind issue.
How do you upgrade samba from 3.0.28 to 3.0.29 to fix winbind issue? My OS is CentOS 4.5. I haven't been able to find a RPM above 3.0.28. for samba. I backed all of the files that I needed and removed the RPM's for 3.28 and installed 3.0.33 doing a ./configure, make, make install and was hoping to reconfigure all the data but the smb service was not where to be found I even rebooted the system but no good. So I used Clone Zilla and restored the system back to the original. I'm at a loss what to do any help would be appreciated. Turner
Toby Bluhm
2009-Feb-10 20:05 UTC
[Samba] Upgrade samba from 3.28 to 3.29 to fix winbind issue.
Turner, Justin H Contractor wrote:> How do you upgrade samba from 3.0.28 to 3.0.29 to fix winbind issue? My > OS is CentOS 4.5. I haven't been able to find a RPM above 3.0.28. forsamba built from src will put stuff in places different from where an rpm package will put them - probably why it didn't work as an upgrade to a working RH type server for you. I needed 3.0.33 to fix a SolidWorks problem, so I did the following for WhiteboxLinux 4. I expect if it's changed where needed, should work for Centos 4. rpm -ihv samba-3.0.25b-1.el4_6.4.src.rpm Put samba-3.0.33.tar.gz in /usr/src/whitebox/SOURCES/ Remove the old /usr/src/whitebox/SOURCES/samba-3.0.25b.tar.gz Remove the /usr/src/whitebox/SOURCES/*.patch files Edit /usr/src/whitebox/SPECS/samba.spec: old: Version: 3.0.25b old: Release: 1%{dist}.4 new: Version: 3.0.33 new: Release: 1.4 remove: all lines with "Patch" remove: all lines with "%patch" remove: "--with-mmap \" remove: "--without-smbwrapper \" remove: "%doc docs/REVISION docs/Samba3-ByExample.pdf docs/Samba3-Developers-Guide.pdf" rpmbuild -bb /usr/src/whitebox/SPECS/samba.spec rpm -Uhv /usr/src/whitebox/RPMS/i386/samba*3.0.33-1.4.i386.rpm service smb stop service smb start I found the /usr/src/whitebox/BUILD/samba-3.0.33/packaging/RHEL/samba.spec file from the 3.0.33 tarball later on, but since my way was already working for me, I didn't bother trying it out. As always, YMMV. -- tkb