Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Apr 2003 10:10:12 -0700
From:      "Adam Lofstedt" <adaml@visimation.com>
To:        "'Carl Morley'" <bsdmn@webize.com.au>, "'FreeBSD Questions'" <freebsd-questions@freebsd.org>
Subject:   RE: mount_smbfs & pure-ftpd problem
Message-ID:  <003c01c2feba$e21e8ba0$c601a8c0@5adam5>
In-Reply-To: <000001c2fe8b$a6d87cb0$0a64a8c0@webizepc>

next in thread | previous in thread | raw e-mail | index | archive | help
> -----Original Message-----
> From: owner-freebsd-questions@freebsd.org 
> [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Carl Morley
> Sent: Wednesday, April 09, 2003 4:32 AM
> To: FreeBSD Questions
> Subject: mount_smbfs & pure-ftpd problem
> 
> 
> Hi,
> I have a pure-ftpd server running on a FreeBSD 4.8-STABLE 
> box.  I needed to offer a Windows 2000 share on another box, 
> to the internet.  Simple, I thought, I'll just mount_smbfs 
> the share from the pure-ftpd server, then make that directory 
> 'home' for external ftp users.
> 
> This has not worked though.  I can 'put' files, but cannot 
> 'get' them. If I try a 'get', I receive '450 Error during 
> write to data connection' at the ftp client end, and 
> 'smb_maperror: Unmapped error 1:158' on the dmesg output at 
> the ftp server.
> 
> Pure-ftpd works fine by itself, if the Win2K share is not 
> mounted.  And from the FTP box I can happily copy stuff to 
> and fro from the Win2K share via the mount_smbfs mounted point.
> 
> But together they will not let me 'get'.  Any ideas?
> 

Most likely it is permissions.  I had a similar problem, and the only
way out of it was to chmod the mount dir on the ftp server to 777.
Which is not really a good permanent solution...

Adam



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003c01c2feba$e21e8ba0$c601a8c0>