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 ?)
Remaining (hours):
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.
Associated revisions
Make proftpd start after nscd
ref: #25583
Correction on Makefile
ref: #25583
Package proftpd systemd override
ref: #25583
History
#1 Updated by Laurent Flori almost 5 years ago
- Status changed from Nouveau to En cours
#2 Updated by Laurent Flori almost 5 years ago
- Description updated (diff)
- Assigned To set to Laurent Flori
#3 Updated by Laurent Flori almost 5 years ago
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 Updated by Gérald Schwartzmann almost 5 years ago
- % Done changed from 0 to 100
- Remaining (hours) changed from 2.0 to 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 Updated by Gérald Schwartzmann almost 5 years ago
- Status changed from En cours to Fermé