LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problems with Samba and wu-ftpd (https://www.linuxquestions.org/questions/linux-software-2/problems-with-samba-and-wu-ftpd-370553/)

Andyp 10-07-2005 04:15 AM

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

btmiller 10-08-2005 04:00 AM

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?

Andyp 10-10-2005 01:14 AM

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

gadekishore 10-10-2005 04:18 AM

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


All times are GMT -5. The time now is 09:50 PM.