Projet

Général

Profil

Tâche #25583

Scénario #25287: Les accès FTP ne fonctionne pas - SCRIBE-T06-001 - Vérification accès FTP (2.7.0-b1)

Le service proftpd ne démarre pas correctement (trop tôt ?)

Ajouté par Joël Cuissinat il y a plus de 5 ans. Mis à jour il y a plus de 5 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Début:
16/10/2018
Echéance:
% réalisé:

100%

Temps estimé:
2.00 h
Temps passé:
Restant à faire (heures):
0.0

Description

Sur un etb1.scribe qui vient de démarrer, une tentative d'authentification ftp échoue :

root@scribe:~# ftp 127.0.0.1
Connected to 127.0.0.1.
220 ProFTPD Server (etb1) [127.0.0.1]
Name (127.0.0.1:root): admin
331 Mot de passe requis pour admin
Password:
530 Authentification incorrecte.
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.

root@scribe:~#  tail -fn2 /var/log/proftpd/proftpd.log 
2018-10-16 15:49:14,443 scribe proftpd[1250] 10.1.3.5: ProFTPD 1.3.6 (stable) (built Fri Dec 8 2017 10:02:29 UTC) standalone mode STARTUP
2018-10-16 15:51:33,054 scribe proftpd[3394] 10.1.3.5 (127.0.0.1[127.0.0.1]): USER admin: no such user found from 127.0.0.1 [127.0.0.1] to 127.0.0.1:21

Si on redémarre le service, cela fonctionne :

root@scribe:~# service proftpd restart
root@scribe:~# ftp 127.0.0.1
Connected to 127.0.0.1.
220 ProFTPD Server (etb1) [127.0.0.1]
Name (127.0.0.1:root): admin
331 Mot de passe requis pour admin
Password:
230 Utilisateur admin authentifié
Remote system type is UNIX.
Using binary mode to transfer files.

Révisions associées

Révision b29c040b (diff)
Ajouté par Laurent Flori il y a plus de 5 ans

Make proftpd start after nscd

ref: #25583

Révision c8e1a599 (diff)
Ajouté par Laurent Flori il y a plus de 5 ans

Correction on Makefile

ref: #25583

Révision 9fc25670 (diff)
Ajouté par Laurent Flori il y a plus de 5 ans

Package proftpd systemd override

ref: #25583

Historique

#1 Mis à jour par Laurent Flori il y a plus de 5 ans

  • Statut changé de Nouveau à En cours

#2 Mis à jour par Laurent Flori il y a plus de 5 ans

  • Description mis à jour (diff)
  • Assigné à mis à Laurent Flori

#3 Mis à jour par Laurent Flori il y a plus de 5 ans

Le service démarre avant le service nscd.

Solution Proposée:
Créer un fichier /etc/systemd/system/proftpd.service.d/override.conf avec ce contenu:

[Unit]
After=nscd.service

Le service démarre plus tard mais autorise les connexions

#4 Mis à jour par Gérald Schwartzmann il y a plus de 5 ans

  • % réalisé changé de 0 à 100
  • Restant à faire (heures) changé de 2.0 à 0.0

Après mise à jour et reboot

    eole-proftpd (2.7.0-4) (root)
    eole-proftpd-pkg (2.7.0-4) (root)
root@scribe:~# ftp scribe
Connected to scribe.dompedago.etb1.lan.
220 ProFTPD Server (etb1) [10.1.3.5]
Name (scribe:root): admin
331 Mot de passe requis pour admin
Password:
230 Utilisateur admin authentifié
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>

#5 Mis à jour par Gérald Schwartzmann il y a plus de 5 ans

  • Statut changé de En cours à Fermé

Formats disponibles : Atom PDF