Public bug reported:

1) lsb_release -rd:
Description: Ubuntu 14.04.1 LTS
Release: 14.04

2) default vsftpd package - apt-cache policy vsftpd:
Installed: 3.0.2-1ubuntu2.14.04.1
Candidate: 3.0.2-1ubuntu2.14.04.1
Version table:
*** 3.0.2-1ubuntu2.14.04.1 0
500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
100 /var/lib/dpkg/status
3.0.2-1ubuntu2 0
500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

3) I expect to be able to log in as a virtual user via pam-pgsql

4) Receive below errors

error received when attempting to log in via filezilla

Command:        USER test
Response:       331 Please specify the password.
Command:        PASS ****
Response:       500 OOPS: priv_sock_get_result
Error:  Critical error: Could not connect to server

error logged in /var/log/auth.log

PAM unable to dlopen(pam_pgsql.so): libffi.so.6: failed to map segment from 
shared object: Cannot allocate memory
PAM adding faulty module: pam_pgsql.so

5) Solution:

 - 1) apt-get source vsftpd
 - 2) apply patches found in the debian distribution (can someone explain why 
patched source isn't already in debian zip?)
 - 3) make && make install (requires packages libwrap0 libwrap0-dev)

login works fine after installing from source, meaning the default
vsftpd package is not compiled from its corresponding source.  Without
source of the default distributed package, I was unable to debug
further.

6) I can provide configuration files, but will need an email to forward
them to.

** Affects: vsftpd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vsftpd in Ubuntu.
https://bugs.launchpad.net/bugs/1380442

Title:
  default vsftpd package no login with pam-pgsql

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vsftpd/+bug/1380442/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to