Jump to content

Cannot Connect to FTP sever


Guest tcreek
 Share

Recommended Posts

I was using MDK 8, then upgraded the packages to 8.2 when this problem started. a port scan shows port 21 up.

 

By default PROFTPD was installed. I unisntalled it and tried WU-FTPD with the same result.

 

The error message I receive for both of these is:

 

KERBEROS_V4 rejected an an authentication type

 

Maybe I need to switch to another FTP server?? :(

 

 

Anybody know what that error is or how i cna fix this?

 

Thanks,

 

Trent

Link to comment
Share on other sites

If you have installed the right PROFTP

Server and Client. You shouldn't have any problems

 

However, you should post your proftpd.conf file,

there is some adding to do to make your server work.

 

you can try to start your server by

service proftpd start

 

Daniel

Link to comment
Share on other sites

The proftp dameon is already started. I still get the same errors

 

 

 

Here is the proftpd.conf file:

 

# This is a basic ProFTPD configuration file (rename it to

# 'proftpd.conf' for actual use.  It establishes a single server

# and a single anonymous login.  It assumes that you have a user/group

# "nobody" and "ftp" for normal operation and anon.



ServerName   "ProFTPD Default Installation"

ServerType   standalone

DefaultServer   on



# Allow FTP resuming.

# Remember to set to off if you have an incoming ftp for upload.

AllowStoreRestart  on



# Port 21 is the standard FTP port.

Port    21

# Umask 022 is a good standard umask to prevent new dirs and files

# from being group and world writable.

Umask    022



# To prevent DoS attacks, set the maximum number of child processes

# to 30.  If you need to allow more than 30 concurrent connections

# at once, simply increase this value.  Note that this ONLY works

# in standalone mode, in inetd mode you should use an inetd server

# that allows you to limit maximum number of processes per service

# (such as xinetd)

MaxInstances   30



# Set the user and group that the server normally runs at.

User    nobody

Group    nogroup



# Normally, we want files to be overwriteable.

<Directory /*>

 AllowOverwrite  on

</Directory>



# Needed for NIS.

PersistentPasswd  off



# Default root can be used to put users in a chroot environment.

# As an example if you have a user foo and you want to put foo in /home/foo

# chroot environment you would do this:

#

# DefaultRoot /home/foo foo

undefined

Link to comment
Share on other sites

I changed the proftpd.conf file to this...

 

# This is a basic ProFTPD configuration file (rename it to

# 'proftpd.conf' for actual use. It establishes a single server

# and a single anonymous login. It assumes that you have a user/group

# "nobody" and "ftp" for normal operation and anon.



ServerName "ProFTPD"

ServerType standalone

DefaultServer on



# Allow FTP resuming.

# Remember to set to off if you have an incoming ftp for upload.

AllowStoreRestart on



# Port 21 is the standard FTP port.

Port 21

# Umask 022 is a good standard umask to prevent new dirs and files

# from being group and world writable.

Umask 022



# To prevent DoS attacks, set the maximum number of child processes

# to 30. If you need to allow more than 30 concurrent connections

# at once, simply increase this value. Note that this ONLY works

# in standalone mode, in inetd mode you should use an inetd server

# that allows you to limit maximum number of processes per service

# (such as xinetd)

MaxInstances 30



# Set the user and group that the server normally runs at.

User nobody

Group nogroup



# Normally, we want files to be overwriteable.

<Directory /*>

 AllowOverwrite on

</Directory>



# Needed for NIS.

PersistentPasswd off



# Default root can be used to put users in a chroot environment.

# As an example if you have a user foo and you want to put foo in /home/foo

# chroot environment you would do this:

#

# DefaultRoot /home/foo foo



# Anonymous Part

<Anonymous ~ftp>

User ftp

Group ftp

UserAlias anonymous ftp

RequireValidShell off

 

It worked till i did a restart and now gives an error:

 

-- Fatal: <Global>: directive not allowed in <Anonymous> context

 

Dang it .so much trouble

Link to comment
Share on other sites

Ahhh....I got it

 

I was messing around in Webmin and it added the follow in uppercase:

 

<Anonymous ~ftp>

User ftp

Group ftp

<GLOBAL>

</GLOBAL>

REVERSDNSLOOKUP ON

UserAlias anonymous ftp

RequireValidShell off

</Anonymous>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...