[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: AW: ProFtp wird immer als SFTP geladen



Thomas Pfaffinger wrote:

> Connected to ct-vdr.pfaffinger.local.
> 220 ProFTPD 1.2.10 Server (ProFTPD Default Installation) [192.168.0.84]
> Name (ct-vdr:root): thomas
> 331 Password required for thomas.
> Password:
> 530 Login incorrect.
> tnftp: Login failed.

Aber ein lokaler login als thomas auf dem Recher mit identischem
Passwort geht? Weil das sieht schon so aus, als würde er dich nicht
authentifizieren können.

Füge doch mal sowas ein:

SystemLog               /var/log/proftpd/system.log all
ExtendedLog             /var/log/proftpd/auth.log auth
TransferLog             /var/log/proftpd/xferlog.log

Und wirf danach einen Blick auf die Logs - vielleicht erleuchtet das
etwas mehr. Kenne den CT-Server nicht, aber damit Du dich als User
einloggen kannst, muss ProFTPD irgendwie auf ein funktionierendes PAM
zurückgreifen, dort könnte das Problem sein.

Oder mal die originale Fassung der proftpd.conf verwenden, und schauen
ob anonymous funktioniert (ist auskommentiert), der Abschnitt sieht so aus:

# <Anonymous ~ftp>
#   User                                ftp
#   Group                               nogroup
#   # We want clients to be able to login with "anonymous","ftp"
#   UserAlias                   anonymous ftp
#   # Cosmetic changes, all files belongs to ftp user
#   DirFakeUser on ftp
#   DirFakeGroup on ftp
#
#   RequireValidShell           off
#
#   # Limit the maximum number of anonymous logins
#   MaxClients                  10
#
#   # We want 'welcome.msg' displayed at login, and '.message' displayed
#   # in each newly chdired directory.
#   DisplayLogin                        welcome.msg
#   DisplayFirstChdir           .message
#
#   # Limit WRITE everywhere in the anonymous chroot
#   <Directory *>
#     <Limit WRITE>
#       DenyAll
#     </Limit>
#   </Directory>
#
#   # Uncomment this if you're brave.
#   # <Directory incoming>
#   #   # Umask 022 is to prevent new files and dirs
#   #   # (second parm) from being group and world writable.
#   #   Umask                           022  022
#   #            <Limit READ WRITE>
#   #            DenyAll
#   #            </Limit>
#   #            <Limit STOR>
#   #            AllowAll
#   #            </Limit>
#   # </Directory>
#
# </Anonymous>

Frohes Suchen!
Jan

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: