On Thu, 07 Jun 2007 23:57:00 +0200
Matej Vela <[EMAIL PROTECTED]> wrote:

> > following rule crashes FTP connection after sending password:
> >
> > auth    sufficient    pam_thinkfinger.so
> >
> > when I remove common-auth from vsftpd PAM rules everything works.
> 
> You mean, when you remove pam_unix?  Please send both working and
> non-working versions of /etc/pam.d/vsftpd and /etc/pam.d/common-auth.
> 

I have thinkfinger rule in common-auth (pam_unix works but
I have to either comment out pam_thinkfinger authentication or comment
out common-auth inclusion to make vsftpd work).

#auth    sufficient      pam_thinkfinger.so
auth    required        pam_unix.so nullok_secure try_first_pass

> Also, please send log output from "pam_thinkfinger.so debug" (with any
> private information removed or obscured).
> 

When I used debug parameter connection error changed:

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


thinkfinger debug output:

Jun  8 01:28:05 elsinore vsftpd[3663]: pam_thinkfinger(vsftpd):
pam_sm_authenticate called.
Jun  8 01:28:05 elsinore vsftpd[3663]: pam_thinkfinger(vsftpd):
thinkfinger_thread called.


but I also noticed:

Jun  8 01:28:05 elsinore kernel: vsftpd[3673]: segfault at
0000000041522b50 rip 00002b974dfb4630 rsp 0000000040ffee40 error 6

there's nothing else regarding vsftpd or thinkfinger in logs.

Note that I switched to distribution (etch) kernel to verify this
(and everything's the same).


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

Reply via email to