diff options
author | Sebastian Dröge <sdroege@src.gnome.org> | 2008-03-19 11:51:54 +0000 |
---|---|---|
committer | Sebastian Dröge <sdroege@src.gnome.org> | 2008-03-19 11:51:54 +0000 |
commit | a211632c5d76e6f7b5e0745e44c679011385f2da (patch) | |
tree | 4d9023ffbd3e89c5c82aca04eb8b312490166aaa | |
parent | e35cccf7d617e5439e16df28a4e81dfcf525b330 (diff) | |
download | gvfs-a211632c5d76e6f7b5e0745e44c679011385f2da.tar.gz |
Make the sftp backend work when pam_krb5 is used on the server side.
* daemon/gvfsbackendsftp.c: (handle_login): Make the sftp backend
work when pam_krb5 is used on the server side.
svn path=/trunk/; revision=1670
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | daemon/gvfsbackendsftp.c | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2008-03-19 Sebastian Dröge <slomo@circular-chaos.org> + + * daemon/gvfsbackendsftp.c: (handle_login): Make the sftp backend + work when pam_krb5 is used on the server side. + 2008-03-18 Christian Kellner <gicmo@gnome.org> * configure.ac: Post release version bump. diff --git a/daemon/gvfsbackendsftp.c b/daemon/gvfsbackendsftp.c index 8a08e1fb..fb235a8f 100644 --- a/daemon/gvfsbackendsftp.c +++ b/daemon/gvfsbackendsftp.c @@ -782,6 +782,8 @@ handle_login (GVfsBackend *backend, if (g_str_has_suffix (buffer, "password: ") || g_str_has_suffix (buffer, "Password: ") || g_str_has_suffix (buffer, "Password:") || + g_str_has_prefix (buffer, "Password for ") || + g_str_has_prefix (buffer, "Enter Kerberos password") || g_str_has_prefix (buffer, "Enter passphrase for key")) { authtype = get_authtype_from_password_line (buffer); |