LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-07-2005, 04:15 AM   #1
Andyp
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
Problems with Samba and wu-ftpd


I have a server set up with Samba and wu-ftpd so users can access a folder from their windows machine and ftp their content to the server.
The problem however is that the ftp session only works from time to time. Sometimes it's no problems at all with the ftp logon, but more often the ftp client just sits there after entering user and passwd and after 30 secs or so you get a successful login.
The message file says:

Oct 7 10:58:10 spglg004 ftpd[2760]: USER spg_anpa
Oct 7 10:58:13 spglg004 ftpd[2760]: PASS password
Oct 7 10:58:13 spglg004 ftp(pam_unix)[2760]: session opened for user spg_anpa by (uid=0)
Oct 7 10:58:17 spglg004 ftpd[2761]: wu-ftpd - TLS settings: control allow, client_cert allow, data allow
Oct 7 10:58:18 spglg004 mount.smbfs[1018]: [2005/10/07 10:58:18, 0] client/smbmount.c:do_connection(213)
Oct 7 10:58:18 spglg004 mount.smbfs[1018]: 1018: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share name)

But even if it says that it is a invalid share I can log in, but it takes a while. But even stranger is that sometimes I log on without any problems....


Can anyone tell me where to fix this or pull me in the right direction for an answer?

//Andy
 
Old 10-08-2005, 04:00 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Could be a DNS lookup issue. Do all of your clients have valid DNS or /etc/hosts entries? Also, why do you even need FTP given that you can transfer files with Samba so long as the share is writeable?
 
Old 10-10-2005, 01:14 AM   #3
Andyp
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks.
The reason for running samba is a lot of other services we run on the server as well that needs samba (production department). But it shouldn't have anything to do with that hosts file, as I enter the ftp server from windows and the error is still there. Could perhaps be something wrong with the samba install....?
 
Old 10-10-2005, 04:18 AM   #4
gadekishore
LQ Newbie
 
Registered: Sep 2005
Location: india
Distribution: rhel 3.0
Posts: 21

Rep: Reputation: 15
put this entry in /etc/samba/smb.conf

valid users = a b c d
path = /data
hosts allow = 192.168.0.1 192.168.0.2(to which hosts u want to give access)
writable = yes

could you please give me picture clearly then we can try...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wu-ftpd problems reachtoravi Linux - Networking 0 08-20-2003 11:16 AM
wu-ftpd problems mego22 Linux - Software 0 07-28-2003 02:31 PM
Pure-FTPD Problems MRK Linux - Software 2 06-30-2003 11:49 AM
wu-ftpd problems cosmoh2o Linux - Networking 4 02-06-2003 01:54 PM
Problems with WU-FTPd rverlander Linux - Software 14 08-14-2002 04:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration