Comment 3 for bug 869684

Revision history for this message
Duane Barry (duane-barry) wrote : Re: 530 login incorrect error after upgrade to Oneiric

Same problem occurs after update from Natty to Oneiric.

Package affected:

vsftpd 2.3.2-3ubuntu5

Actions taken before problem occurs.

1. Update from Maverick to Natty with do-release-update
2. Update from Natty to Oneiric with do-release-update

The problem was detected after the update from Natty to Oneiric, Natty may be affected too.

Tried to log into the ftp server (local or remote) brings up an error "530 login incorrect"
The login user is a standard user with /home directory

/etc/vsftp.conf
local_enable=yes

all values on default

Tried to remove / purge vsftpd packet several time, but problem still remains.

re-installd packet with standard /etc/vsftpd.conf and /etc/pam.d/vsftpd

No files changed in /etc/pam.d

/var/log/auth.log

Oct 18 10:51:23 localhost vsftpd: PAM unable to dlopen(pam_shells.so): /lib/security/pam_shells.so: cannot open shared object file: No such file or directory
Oct 18 10:51:23 localhost vsftpd: PAM adding faulty module: pam_shells.so
Oct 18 10:51:23 localhost vsftpd: pam_unix(vsftpd:auth): check pass; user unknown
Oct 18 10:51:23 localhost vsftpd: pam_unix(vsftpd:auth): authentication failure; logname= uid=0 euid=0 tty=ftp ruser=XXX rhost=127.0.0.1
Oct 18 10:51:23 localhost vsftpd: pam_winbind(vsftpd:auth): getting password (0x00000388)
Oct 18 10:51:23 localhost vsftpd: pam_winbind(vsftpd:auth): pam_get_item returned a password

ubuntu-bug vsftpd

ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Tue Oct 16 10:55:50 2011
Dependencies:
  adduser 3.112+nmu1ubuntu5
  base-passwd 3.5.23
  busybox-initramfs 1:1.18.4-2ubuntu2
  coreutils 8.5-1ubuntu6
  cpio 2.11-7ubuntu1
  debconf 1.5.40ubuntu1
  debianutils 4.0.2
  dpkg 1.16.0.3ubuntu5
  findutils 4.4.2-1ubuntu3
  gcc-4.6-base 4.6.1-9ubuntu3
  ifupdown 0.7~alpha5.1ubuntu5
  initramfs-tools 0.99ubuntu7
  initramfs-tools-bin 0.99ubuntu7
  initscripts 2.88dsf-13.10ubuntu4
  insserv 1.14.0-2.1
  iproute 20110315-1build1
  klibc-utils 1.5.22-1ubuntu2
  libacl1 2.2.51-3
  libattr1 1:2.4.46-3

ldd /usr/sbin/vsftpd

linux-vdso.so.1 => (0x00007fff8653b000)
libwrap.so.0 => /lib/x86_64-linux-gnu/libwrap.so.0 (0x00007f5728a99000)
libpam.so.0 => /lib/x86_64-linux-gnu/libpam.so.0 (0x00007f572888b000)
libcap.so.2 => /lib/libcap.so.2 (0x00007f5728685000)
libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007f5728434000)
libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007f5728085000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5727ce5000)
libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007f5727acb000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f57278c7000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f57276ae000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f5728cae000)

debconf-show ldap-auth-config

 ldap-auth-config/bindpw: (password omitted)
* ldap-auth-config/rootbindpw: (password omitted)
  ldap-auth-config/binddn: cn=proxyuser,dc=example,dc=net
* ldap-auth-config/dbrootlogin: true
  ldap-auth-config/pam_password: md5
* ldap-auth-config/move-to-debconf: true
* ldap-auth-config/ldapns/ldap-server: ldapi:///ldaplocalhost
* ldap-auth-config/ldapns/base-dn: dc=example,dc=net
* ldap-auth-config/ldapns/ldap_version: 3
* ldap-auth-config/dblogin: false
* ldap-auth-config/rootbinddn: cn=manager,dc=example,dc=net
  ldap-auth-config/override: true

/var/log/vsftp.log
Tue Oct 16 10:51:19 2011 [pid 2] CONNECT: Client "127.0.0.1"
Tue Oct 16 10:51:24 2011 [pid 1] [user] FAIL LOGIN: Client "127.0.0.1"

ls /lib/security
pam_ecryptfs.so pam_smbpass.so pam_winbind.so