After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 373579 - sftp remote access with libpam-krb5
sftp remote access with libpam-krb5
Status: RESOLVED WONTFIX
Product: gnome-vfs
Classification: Deprecated
Component: Module: ssh/sftp
2.16.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2006-11-10 22:10 UTC by Josselin Mouette
Modified: 2018-08-17 13:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Attempt to fix (548 bytes, patch)
2007-02-24 09:21 UTC, Josselin Mouette
none Details | Review
Support prompts from pam_krb5 (616 bytes, patch)
2007-03-01 12:46 UTC, Josselin Mouette
none Details | Review

Description Josselin Mouette 2006-11-10 22:10:00 UTC
[ forwarded from http://bugs.debian.org/379106 ]

When trying to use nautilus's sftp remote access method to access my
ssh login server nothing happens for ca 30sec, no password request box,
nothing, and then it fails with the error message:

Nautilus cannot display "sftp://www.strul.nu/tmp".
Please select another viewer and try again.

Removing keys from $HOME/.ssh/known_hosts on originator gets a
popup-window asking for confirmation of unknown host, as expected, but
still no password box.

When selecting 'PreferredAuthentications password' in
$HOME/.ssh/known_hosts it all of a sudden works, in that I now get a
password request box. The problem with this is that I can't login with
this authentication method, since I need to authenticate to
pam. However, this leads to the speculation that the remote access
method fails to recognize the password prompt my system shows when using
libpam-krb5.

pam version:
Password for tobbe@STRUL.NU:

normal password version:
tobbe@www.strul.nu's password:


This prompt is set by libpam-krb5, and is not configurable, but even if
it were, I feel that the fault lies with nautilus (or whatever
library/helper/whatever) it is using. Or am I missing something here?
Comment 1 Josselin Mouette 2007-02-24 09:12:25 UTC
2.16 version built with Kerberos support doesn't help.
Comment 2 Josselin Mouette 2007-02-24 09:21:53 UTC
Created attachment 83225 [details] [review]
Attempt to fix

I don't have a Kerberos setup to check, but this patch should do the trick. I'll ask confirmation from the reporter.
Comment 3 Josselin Mouette 2007-03-01 12:46:19 UTC
Created attachment 83635 [details] [review]
Support prompts from pam_krb5

Looks like the pam_krb5 prompt has changed again in the meantime. I've got confirmation from the reporter that this new patch fixes the issue.
Comment 4 André Klapper 2018-08-17 13:51:16 UTC
gnome-vfs got deprecated in 2008.

gnome-vfs is not under active development anymore and had its last code changes
in 2011. Its codebase has been archived:
https://gitlab.gnome.org/Archive/gnome-vfs/commits/master

gio (in glib) and gvfs are its successors. See https://developer.gnome.org/gio/stable/ch33.html and https://people.gnome.org/~gicmo/gio-migration-guide/ for porting info.

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Feel free to open a task in GNOME Gitlab if the issue described in this task still applies to a recent + supported version of glib/gio/gvfs. Thanks!