Re: [Samba] Upgrade samba from 3.28 to 3.29 to fix winbind issue.

2009-02-11 Thread Adam Williams

tar -zxvf samba-3.0.33.tar.gz
cd samba-3.0.33/packaging/RHEL/
sh makerpms.sh

should build the RPMs also.

Toby Bluhm wrote:

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. for


samba 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.



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Upgrade samba from 3.28 to 3.29 to fix winbind issue.

2009-02-10 Thread Toby Bluhm

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. for


samba 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
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Upgrade samba from 3.28 to 3.29 to fix winbind issue.

2009-02-10 Thread Turner, Justin H Contractor
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 
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba