[Samba] XP cannot read files after upgrade to Debian Samba 3.2.3

David C. Rankin drankinatty at suddenlinkmail.com
Wed Sep 10 03:15:51 GMT 2008


Veselin Kantsev wrote:
> Thank you much Jeremy,
> 
> Do you know of some temporary workaround that I can use for the time being?
> 
> Regards,
> 
Veselin,

	The simplest way would be to download a copy of the 3.0.24 that you know will 
work and install that on the 3.2.3 machine. You don't need to remove 3.2.3, you 
can simply install 2.0.24 in the default location of /usr/local/samba. You are 
probably safe with 3.0.31. Just download the tarball at:

http://us3.samba.org/samba/ftp/samba-3.0.31.tar.gz

	If you need 3.0.24:

http://us1.samba.org/samba/ftp/old-versions/samba-3.0.24.tar.gz

	Then simply:

(1) tar -xzf samba-3.0.24.tar.gz	# untar the source
(2) cd samba-3.0.24/src			# change to the src directory
(3) ./configure				# default install in /usr/local/samba
** install any missing packages (gcc, etc..)
(4) make
(5) make install

** now figure out where your smb.conf and smbpasswd files are stored and where 
you want you log files. (Usually /etc/samba/ and /var/log) Assumed in step (7)

** make sure you stop 3.2.3 (smbd and nmbd), change to the /usr/local/samba/bin 
directory then start your new version of each:

(6) cd /usr/local/samba/bin		# new executable location

(7)(a) ./nmbd --daemon --configfile=/etc/samba/smb.conf --log-basename=log.nmb.test

(7)(b) ./smbd --daemon --configfile=/etc/samba/smb.conf --log-basename 
log.smb.test --smb-passwd-file=/etc/samba/smbpasswd --private-dir=/etc/samba

	If disaster strikes and everything goes bad, not to worry, simply issue the 
command

(8) make revert				# Restores original 3.2.3 binaries
					#+if they were overwritten


	That's it. Takes about 20 minutes total. Your new self-compiled samba will run 
just fine until Jeremy is done looking at the problem. It is always good to 
have this work-around in your hip-pocket just in case a 'new feature' is 
introduced in the latest release ;-)

-- 
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


More information about the samba mailing list