Bug#429639: vsftpd 500 OOPS: priv_sock_get_result

2008-01-26 Thread Matej Vela
reassign 429639 libpam-pgsql 0.5.2-9
thanks

Vitaliyi [EMAIL PROTECTED] writes:

 On 6/19/07, Matej Vela [EMAIL PROTECTED] wrote:
 Does it work if you remove expired_column from /etc/pam_pgsql.conf?
 pam_pgsql crashes in the account management phase if expired_column is
 defined but newtok_column isn't.

 Yes it is working.  Thans a lot!

The pam-pgsql crash seems to be fixed in unstable.  I'll let the
pam-pgsql maintainer double-check this.

Thanks,

Matej



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#429639: vsftpd 500 OOPS: priv_sock_get_result

2007-06-19 Thread Vitaliyi

Package: vsftpd
Version: 2.0.5-2

vsftpd refuses to authenticate users. I was using pam_pgsql plugin.
strace output in attachment.

/usr/sbin/vsftpd
   linux-gate.so.1 =  (0xe000)
   libwrap.so.0 = /lib/libwrap.so.0 (0xb7f61000)
   libnsl.so.1 = /lib/i686/cmov/libnsl.so.1 (0xb7f4a000)
   libpam.so.0 = /lib/libpam.so.0 (0xb7f42000)
   libdl.so.2 = /lib/i686/cmov/libdl.so.2 (0xb7f3e000)
   libresolv.so.2 = /lib/i686/cmov/libresolv.so.2 (0xb7f2b000)
   libutil.so.1 = /lib/i686/cmov/libutil.so.1 (0xb7f27000)
   libcap.so.1 = /lib/libcap.so.1 (0xb7f22000)
   libssl.so.0.9.8 = /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb7ee2000)
   libcrypto.so.0.9.8 = /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xb7da1000)
   libc.so.6 = /lib/i686/cmov/libc.so.6 (0xb7c5e000)
   /lib/ld-linux.so.2 (0xb7f77000)
   libz.so.1 = /usr/lib/libz.so.1 (0xb7c4a000)


/home/ftp# ls -la testuser
dr-xr-xr-x 2 ftp root4096 2007-06-19 06:02 .
drwxr-xr-x 4 ftp nogroup 4096 2007-06-19 06:02 ..



/etc/pam_pgsql.conf :

database = ftp
user = grey
password = blah
table = accounts
timeout=15
user_column = s_username
pwd_column = s_password
expired_column = b_expired
pw_type = md5


/etc/pam.d/vsftpd :

authrequiredpam_pgsql.so
account requiredpam_pgsql.so
passwordrequiredpam_pgsql.so

/etc/vsftpd.conf :

anonymous_enable=NO
local_enable=YES
write_enable=NO
anon_upload_enable=NO
anon_mkdir_write_enable=NO
anon_other_write_enable=NO
chroot_local_user=YES
guest_enable=YES
guest_username=ftp
listen=YES
pasv_min_port=3
pasv_max_port=30999
use_sendfile=NO



#ftp localhost
Connected to localhost.
220 (vsFTPd 2.0.5)
Name (localhost:root): testuser
331 Please specify the password.
Password:
500 OOPS: priv_sock_get_result
Login failed.
421 Service not available, remote server has closed connection
ftp %


cat /var/log/auth.log :
Jun 19 12:06:39 debian PAM_pgsql[19419]: (vsftpd) user testuser authenticated.


strace.log
Description: Binary data


Bug#429639: vsftpd 500 OOPS: priv_sock_get_result

2007-06-19 Thread Matej Vela
Hi,

Does it work if you remove expired_column from /etc/pam_pgsql.conf?
pam_pgsql crashes in the account management phase if expired_column is
defined but newtok_column isn't.

Thanks,

Matej


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#429639: vsftpd 500 OOPS: priv_sock_get_result

2007-06-19 Thread Vitaliyi

Good Day

Yes it is working.  Thans a lot!

On 6/19/07, Matej Vela [EMAIL PROTECTED] wrote:

Hi,

Does it work if you remove expired_column from /etc/pam_pgsql.conf?
pam_pgsql crashes in the account management phase if expired_column is
defined but newtok_column isn't.

Thanks,

Matej






--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]