Bug#844297: vsftpd (3.0.2-17+deb8u1): no welcome message, problem in /etc/pam.d/vsftpd

2018-05-06 Thread Keng-Yu Lin
2016-11-14 16:51 GMT+08:00 Alexandre LE GALL :
> Subject: vsftpd (3.0.2-17+deb8u1): no welcome message, problem in 
> /etc/pam.d/vsftpd
> Package: vsftpd
> Version: 3.0.2-17+deb8u1
> Severity: important
>
> Dear Maintainer,
>
> Since I update vsftpd to 3.0.2-17+deb8u1, I can't connect to my ftp server.
> To fix this problem, I comment "@include common-auth " in /etc/pam.d/vsftpd.
>
> My server is a VM with samba (in domain) and vsftpd only.
>
> Thanks for your work.


I use 3.0.3-9 with ftpd_banner="FTP Server Ready" in /etc/vsftpd.conf.
I can't reproduce the issue:

ftp> open 192.168.1.10
Connected to 192.168.1.10.
220 "FTP Server Ready"
Name (192.168.1.10:kengyu):



Bug#844297: vsftpd (3.0.2-17+deb8u1): no welcome message, problem in /etc/pam.d/vsftpd

2016-11-14 Thread Alexandre LE GALL
Subject: vsftpd (3.0.2-17+deb8u1): no welcome message, problem in 
/etc/pam.d/vsftpd
Package: vsftpd
Version: 3.0.2-17+deb8u1
Severity: important

Dear Maintainer,

Since I update vsftpd to 3.0.2-17+deb8u1, I can't connect to my ftp server.
To fix this problem, I comment "@include common-auth " in /etc/pam.d/vsftpd.

My server is a VM with samba (in domain) and vsftpd only.

Thanks for your work.

-- Package-specific info:

-- System Information:
Debian Release: 8.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.4.0-0.bpo.1-amd64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages vsftpd depends on:
ii  adduser3.113+nmu3
ii  debconf [debconf-2.0]  1.5.56
ii  dialog 1.2-20140911-1
ii  init-system-helpers1.22
ii  libc6  2.19-18+deb8u6
ii  libcap21:2.24-8
ii  libpam-modules 1.1.8-3.1+deb8u1+b1
ii  libpam0g   1.1.8-3.1+deb8u1+b1
ii  libssl1.0.01.0.1t-1+deb8u5
ii  libwrap0   7.6.q-25
ii  netbase5.3

Versions of packages vsftpd recommends:
ii  logrotate  3.8.7-1+b1
ii  ssl-cert   1.0.35

vsftpd suggests no packages.

-- Configuration Files:
/etc/pam.d/vsftpd changed:
authrequiredpam_listfile.so item=user sense=deny file=/etc/ftpusers 
onerr=succeed debug
@include common-account
@include common-session
authrequiredpam_shells.so

/etc/vsftpd.conf changed:
listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=000
dirmessage_enable=NO
use_localtime=YES
xferlog_enable=YES
connect_from_port_20=YES
ftpd_banner="FTP Server Ready"
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/private/vsftpd.pem
xferlog_std_format=NO
log_ftp_protocol=YES


-- debconf information:
* vsftpd/username: ftp
* vsftpd/directory: /srv/ftp