Titel: User not known to the underlying authentication module. Beitrag von: ucfnet006 am 08. Dezember 2005, 14:02:45 Hallo,
ich kann mich nicht anmelden (530 Login incorrect). Bei Filezilla steht folgender Verbindungsaufbau im Log: Code: Status: Verbunden mit 84.244.2.141. Warten auf Willkommens-Meldung... Befehl: USER piw Antwort: 331 Password required for piw. Befehl: PASS ******** Antwort: 530 Login incorrect. Fehler: Verbindung kann nicht hergestellt werden! Das Passwort ist jedoch richtig mehrmals eingegeben. Der User piw existiert auch. in meiner Syslog steht: Code: Dec 8 13:39:47 ucfnet proftpd[3016]: connect from 80.185.36.141 (80.185.36.141) Dec 8 13:39:47 ucfnet proftpd[3016]: ucfnet (G248d.g.pppool.de[80.185.36.141]) - FTP session opened. Dec 8 13:39:47 ucfnet proftpd[3016]: ucfnet (G248d.g.pppool.de[80.185.36.141]) - mod_delay/0.4: delaying for 1778 usecs Dec 8 13:39:50 ucfnet proftpd[3016]: ucfnet (G248d.g.pppool.de[80.185.36.141]) - PAM(piw): User not known to the underlying authentication module. Dec 8 13:39:50 ucfnet proftpd[3016]: ucfnet (G248d.g.pppool.de[80.185.36.141]) - FTP session closed. Mich wundert der Eintrag: PAM(piw): User not known to the underlying authentication module. meine Config sieht wie folgt aus: Code: ServerName "ucfnet" ServerType inetd DeferWelcome off MultilineRFC2228 on DefaultServer on ShowSymlinks on TimeoutNoTransfer 600 TimeoutStalled 600 TimeoutIdle 1200 DisplayLogin welcome.msg DisplayFirstChdir .message ListOptions "-l" DenyFilter \*.*/ Port 21 # Logging ExtendedLog /var/log/proftpd.xferlog ALL ExtendedLog /var/log/proftpd.auth_log AUTH #use own authentication instead of system users AuthUserFile /etc/proftpd.auth MaxInstances 5 # Set the user and group that the server normally runs at. User ftp Group ftp # verhindert, dass root sich einloggen darf RootLogin off #jailed ins root-vz DefaultRoot /var/ftp/ # Umask 022 is a good standard umask to prevent new files and dirs # (second parm) from being group and world writable. Umask 022 022 # Normally, we want files to be overwriteable. AllowOverwrite on user und group "ftp" stimmt bei mir auch soweit. und in der Datei /etc/proftpd.auth steht folgendes drin: Code: piw:<meinpwd>:300:300::/var/ftp:/bin/false braucht ihr noch weitere Infos? vielen Dank für eure Hilfe Titel: Re: User not known to the underlying authentication module. Beitrag von: stonki am 08. Dezember 2005, 14:09:21 ich habe wenig Zeit im Moment, aber schau Dir mal AuthOrder an. Ich habe das Gefühl, daß Deine Passwd Datei vielleicht garnicht abgefragt wird. Ausserdem teste mal. ob auth_file überhaupt eincompiliert wurde (müsste aber, da er sonst den Befehl anmeckern würde)
proftpd -l Titel: User not known to the underlying authentication module. Beitrag von: ucfnet006 am 09. Dezember 2005, 22:18:46 mod_auth_file.c ist glücklicherweise einkompiliert.
Ich habe Code: AuthOrder mod_auth_file.c in meine config hinzugefügt, dann restart. Jetzt bringt er im filezilla immernoch keine Verbingung (530 Login incorrect). Meine Syslog zeigt daraufhin folgendes an: Code: Dec 9 22:07:58 ucfnet proftpd[11056]: ucfnet (G22b1.g.pppool.de[80.185.34.177]) - FTP session opened. Dec 9 22:07:58 ucfnet proftpd[11056]: ucfnet (G22b1.g.pppool.de[80.185.34.177]) - mod_delay/0.4: delaying for 4398 usecs Dec 9 22:07:58 ucfnet proftpd[11056]: ucfnet (G22b1.g.pppool.de[80.185.34.177]) - mod_delay/0.4: delaying for 3989728 usecs Dec 9 22:08:02 ucfnet proftpd[11056]: ucfnet (G22b1.g.pppool.de[80.185.34.177]) - FTP session closed. Habe mal zum Spaß einen FTP-User erstellt, der auch auf der Shell Zugriff hat. Leider hat das auch nix gebracht. meine proftpd.auth - Logdatei: Code: G22b1.g.pppool.de UNKNOWN ftp [09/Dec/2005:22:13:25 +0100] "USER piw" 331 - G22b1.g.pppool.de UNKNOWN ftp [09/Dec/2005:22:13:25 +0100] "PASS (hidden)" 530 - Titel: User not known to the underlying authentication module. Beitrag von: VolGas am 10. Dezember 2005, 04:21:57 Ich glaube, "Stonki" hat den Fehler erkannt.
Füge einmal "AuthOrder mod_auth_file.c" in dein Konfigurationsdatei ein. Wie die Datei "proftpd.auth" aussehen müßte weiß ich nicht, aber mit dem richtigen "AuthOrder" sollte Dein Problem gelöst sein. mfg. VolGas Titel: User not known to the underlying authentication module. Beitrag von: ucfnet006 am 11. Dezember 2005, 12:03:32 Wie gesagt habe ich bereits AuthOrder hinzugefügt. Das mod_file war bereits schon einkompiliert.
Gibt es soetwas wie einen Debug Mode? Weil kein Fehler in meiner Logdatei steht, wenn ich mich versuche einzuloggen. Titel: User not known to the underlying authentication module. Beitrag von: VolGas am 14. Dezember 2005, 14:51:11 z.B. so:
/usr/local/proftpd -nd 3 Meldungen werden über die Konsole ausgegeben. Beenden mit CTRL-C. mfg. VolGas |