Re: Kerberos FTP ticket filename

2013-05-21 Thread Nalin Dahyabhai
On Tue, May 21, 2013 at 10:31:22AM +0200, Tiago Elvas wrote: > Still no success. > I tried adding the debug option but no conclusing messages shown.. > > Any other thoughts? You may need to configure syslog to log LOG_DEBUG messages, if you haven't. Alternately (or also), add calls to pam_warn.s

Re: Kerberos FTP ticket filename

2013-05-21 Thread Tiago Elvas
Still no success. I tried adding the debug option but no conclusing messages shown.. Any other thoughts? On Mon, May 20, 2013 at 7:18 PM, Russ Allbery wrote: > Tiago Elvas writes: > > > I am not sure I fully understand your indications so I paste the contents > > of the files: > > /etc/pam.d/v

Re: Kerberos FTP ticket filename

2013-05-20 Thread Russ Allbery
Tiago Elvas writes: > I am not sure I fully understand your indications so I paste the contents > of the files: > /etc/pam.d/vsftpd >> #%PAM-1.0 >> sessionoptional pam_keyinit.soforce revoke >> auth required pam_listfile.so item=user sense=deny >> file=/etc/vsftpd/ftpusers

Re: Kerberos FTP ticket filename

2013-05-20 Thread Tiago Elvas
I am not sure I fully understand your indications so I paste the contents of the files: /etc/pam.d/vsftpd > #%PAM-1.0 > sessionoptional pam_keyinit.soforce revoke > auth required pam_listfile.so item=user sense=deny > file=/etc/vsftpd/ftpusers onerr=succeed > auth requi

Re: Kerberos FTP ticket filename

2013-05-20 Thread Russ Allbery
Tiago Elvas writes: > As for the SSH, could you tell me how to accomplish that? In my initial > attempts I believe I tried to set ccache name and dir but without > success. Which Kerberos PAM module are you using? > The ftp server is vsftpd. Does this help? vsftpd's source appears to do the ri

Re: Kerberos FTP ticket filename

2013-05-20 Thread Tiago Elvas
As for the SSH, could you tell me how to accomplish that? In my initial attempts I believe I tried to set ccache name and dir but without success. The ftp server is vsftpd. Does this help? Thanks, Tiago On Mon, May 20, 2013 at 6:37 PM, Russ Allbery wrote: > Tiago Elvas writes: > > > Thanks fo

Re: Kerberos FTP ticket filename

2013-05-20 Thread Russ Allbery
Tiago Elvas writes: > Thanks for your reply! > Firstly, as for the SSH connection, I need the ticket to have a > controled name, and not a randomized one. That problem is fixed by my > patch. Depending on what PAM module you're using, you may be able to set ccache in the PAM options to the file

Re: Kerberos FTP ticket filename

2013-05-20 Thread Tiago Elvas
Hi Russ, Thanks for your reply! Firstly, as for the SSH connection, I need the ticket to have a controled name, and not a randomized one. That problem is fixed by my patch. As for the FTP problem, the thing is that when I logout from the FTP connection, the system does not delete the ticket file

Re: Kerberos FTP ticket filename

2013-05-20 Thread Russ Allbery
Tiago Elvas writes: > I am having a problem here with the FTP authentication using Kerberos. > What is happening is that when I connect from host_A to host_B using > ftp, the acquired ticket (in host_B) is being stored as > "/tmp/krb5cc_503_z2fgka". That seems like a fine name for a Kerberos tic

Kerberos FTP ticket filename

2013-05-20 Thread Tiago Elvas
Hi all, I am having a problem here with the FTP authentication using Kerberos. What is happening is that when I connect from host_A to host_B using ftp, the acquired ticket (in host_B) is being stored as "/tmp/krb5cc_503_z2fgka". I also had this problem in SSH logins, and it seems to be related t