Likes Likes:  0
Resultaten 1 tot 8 van de 8
Geen

Onderwerp: Proftpd probleem

  1. #1
    Proftpd probleem
    geregistreerd gebruiker
    351 Berichten
    Ingeschreven
    16/09/02

    Locatie
    Haaksbergen

    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    0 Berichten zijn liked


    Registrar SIDN: ja
    KvK nummer: 06092246
    Ondernemingsnummer: nvt

    Thread Starter

    Proftpd probleem

    Als ik via ftp wil inloggen op een Proftpd server krijg ik een authentication failure terwijl ik zeker weet dat de gebruikersnaam en wachtwoord goed is.


    In de file /var/log/messages staan de volgende error regels.

    Feb 16 15:24:35 ns1 proftpd[839]: server.domein.nl (123.123.123.123[123.123.123.123]) - FTP session opened.
    Feb 16 15:24:35 ns1 proftpd[839]: server.domein.nl (123.123.123.123[123.123.123.123]) - PAM(radiokch): Authentication failure.
    Feb 16 15:24:39 ns1 proftpd[839]: server.domein.nl (123.123.123.123[123.123.123.123]) - FTP session closed.

    In de file /etc/passwd

    username:x:1012:1000::/home/vhosts/domein.nl:/bin/false

    Wat doe ik fout of is er mis met de configuratie.

    Heb al op google gezocht, maar kom dan telkens uit bij oplossingen die zeggen dat je de proftpd.conf moet controleren. Dit heb ik gedaan en die file is in orde.

    ipadres en servernaam zijn voor het gemak even gewijzigd in fictieve adressen.

    Alvast bedankt voor jullie hulp

  2. #2
    Proftpd probleem
    Solaris Sys*****
    1.364 Berichten
    Ingeschreven
    04/12/03

    Locatie
    Leiden

    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    0 Berichten zijn liked


    Registrar SIDN: Nee
    KvK nummer: 28071088
    Ondernemingsnummer: NVT

    Heb je ook voor dezelfde gebruiker een regel staan in de shadow file ? (/etc/shadow).. Dient er uit te zien als bv:

    naam_van_user:<encrypted password>/:11933:0:99999:7:::



  3. #3
    Proftpd probleem
    geregistreerd gebruiker
    351 Berichten
    Ingeschreven
    16/09/02

    Locatie
    Haaksbergen

    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    0 Berichten zijn liked


    Registrar SIDN: ja
    KvK nummer: 06092246
    Ondernemingsnummer: nvt

    Thread Starter
    Ja in /etc/shadow staat de volgende regel

    username:<encrypted password>:13182:0:99999:7:::

  4. #4
    Proftpd probleem
    3.810 Berichten
    Ingeschreven
    16/05/04

    Locatie
    Middelburg

    Post Thanks / Like
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    130 Berichten zijn liked


    Registrar SIDN: Ja

    Heb je niet require valid shell aan staan in de config?

  5. #5
    Proftpd probleem
    geregistreerd gebruiker
    351 Berichten
    Ingeschreven
    16/09/02

    Locatie
    Haaksbergen

    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    0 Berichten zijn liked


    Registrar SIDN: ja
    KvK nummer: 06092246
    Ondernemingsnummer: nvt

    Thread Starter
    In Proftpd bedoel je ?

    Daar staat geen require valid shell in.

    Inhoud van proftpd.conf

    # This is the ProFTPD configuration file
    # $Id: proftpd.conf,v 1.5 2003/03/13 18:00:04 dude Exp $

    ServerName "server.domein.nl"
    ServerIdent on "FTP Server ready."
    ServerAdmin admin@domein.nl
    ServerType standalone
    #ServerType inetd
    DefaultServer on
    AccessGrantMsg "User %u logged in."
    #DisplayConnect /etc/ftpissue
    #DisplayLogin /etc/ftpmotd
    #DisplayGoAway /etc/ftpgoaway
    DeferWelcome off

    # Use this to excude users from the chroot
    DefaultRoot ~ beheeruser

    # Use pam to authenticate by default
    AuthPAMAuthoritative on

    # Do not perform ident nor DNS lookups (hangs when the port is filtered)
    IdentLookups off
    UseReverseDNS off

    # 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

    # Default to show dot files in directory listings
    ListOptions "-a"

    # See Configuration.html for these (here are the default values)
    #MultilineRFC2228 off
    #RootLogin off
    #LoginPasswordPrompt on
    #MaxLoginAttempts 3
    #MaxClientsPerHost none
    #AllowForeignAddress off # For FXP

    # Allow to resume not only the downloads but the uploads too
    AllowRetrieveRestart on
    AllowStoreRestart on

    # 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 20

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

    # This is where we want to put the pid file
    ScoreboardFile /var/run/proftpd.score

    # Normally, we want users to do a few things.
    <Global>
    AllowOverwrite yes
    <Limit ALL SITE_CHMOD>
    AllowAll
    </Limit>
    </Global>

    # Define the log formats
    LogFormat default "%h %l %u %t \"%r\" %s %b"
    LogFormat auth "%v [%P] %h %t \"%r\" %s"

    # A basic anonymous configuration, with an upload directory.
    #<Anonymous ~ftp>
    # User ftp
    # Group ftp
    # AccessGrantMsg "Anonymous login ok, restrictions apply."
    #
    # # We want clients to be able to login with "anonymous" as well as "ftp"
    # UserAlias anonymous ftp
    #
    # # Limit the maximum number of anonymous logins
    # MaxClients 10 "Sorry, max %m users -- try again later"
    #
    # # Put the user into /pub right after login
    # #DefaultChdir /pub
    #
    # # We want 'welcome.msg' displayed at login, '.message' displayed in
    # # each newly chdired directory and tell users to read README* files.
    # DisplayLogin /welcome.msg
    # DisplayFirstChdir .message
    # DisplayReadme README*
    #
    # # Some more cosmetic and not vital stuff
    # DirFakeUser on ftpadm
    # DirFakeGroup on ftpadm
    #
    # # Limit WRITE everywhere in the anonymous chroot
    # <Limit WRITE SITE_CHMOD>
    # DenyAll
    # </Limit>
    #
    # # An upload directory that allows storing files but not retrieving
    # # or creating directories.
    # <Directory uploads/*>
    # AllowOverwrite no
    # <Limit READ>
    # DenyAll
    # </Limit>
    #
    # <Limit STOR>
    # AllowAll
    # </Limit>
    # </Directory>
    #
    # # Don't write anonymous accesses to the system wtmp file (good idea!)
    # WtmpLog off
    #
    # # Logging for the anonymous transfers
    # ExtendedLog /var/log/proftpd/access.log WRITE,READ default
    # ExtendedLog /var/log/proftpd/auth.log AUTH auth
    #
    #</Anonymous>

  6. #6
    Proftpd probleem
    3.810 Berichten
    Ingeschreven
    16/05/04

    Locatie
    Middelburg

    Post Thanks / Like
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    130 Berichten zijn liked


    Registrar SIDN: Ja

    http://www.proftpd.org/docs/directiv...alidShell.html

    Jij hebt het er niet in staan en Default is On

    Aangezie je als shell /bin/false hebt gegeven werkt het niet.

    Je moet dus in je config er bij zetten:

    RequireValidShell off

  7. #7
    Proftpd probleem
    geregistreerd gebruiker
    351 Berichten
    Ingeschreven
    16/09/02

    Locatie
    Haaksbergen

    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    0 Berichten zijn liked


    Registrar SIDN: ja
    KvK nummer: 06092246
    Ondernemingsnummer: nvt

    Thread Starter
    RequireValidShell off

    toegevoegd aan proftpd.conf

    en proftpd gerestart.

    Echter kan nog steeds niet inloggen. Dus nog maar even verder zoeken in de link die je gaf. Of misschien iemand anders nog een idee?

  8. #8
    Proftpd probleem
    geregistreerd gebruiker
    1.892 Berichten
    Ingeschreven
    17/08/05

    Locatie
    Amsterdam

    Post Thanks / Like
    Mentioned
    34 Post(s)
    Tagged
    0 Thread(s)
    35 Berichten zijn liked


    Naam: Wieger Bontekoe
    Bedrijf: Skynet ICT B.V.
    Functie: CEO
    URL: skynet-ict.nl
    Registrar SIDN: Nee
    View wbontekoe's profile on LinkedIn

    permissions, misschien staat je map zodanig dat de gebruiker geen recht heeft.
    Skynet ICT B.V. - The cause of the problem is: the printer thinks its a router.

Webhostingtalk.nl

Contact

  • Rokin 113-115
  • 1012 KP, Amsterdam
  • Nederland
  • Contact
© Copyright 2001-2021 Webhostingtalk.nl.
Web Statistics