summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2018-10-08 09:12:21 +0200
committerOndrej Holy <oholy@redhat.com>2020-05-12 14:09:44 +0000
commit8f45ea4d97bb9239e6c91c7baceec815d3d9c7cb (patch)
treef0ef99a51ed5a3a95e65c9715b1c27c760443892
parentb2dad7da07e4bada728742bd29a481d8da696747 (diff)
downloadgvfs-8f45ea4d97bb9239e6c91c7baceec815d3d9c7cb.tar.gz
dav: Add support for NTLM authentication
Currently, only Basic and Digest authentication is possible for webdav backend. Let's add support for NTLM also. https://gitlab.gnome.org/GNOME/gvfs/issues/342
-rw-r--r--daemon/gvfsbackenddav.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/gvfsbackenddav.c b/daemon/gvfsbackenddav.c
index 081d3b8a..4ac94aca 100644
--- a/daemon/gvfsbackenddav.c
+++ b/daemon/gvfsbackenddav.c
@@ -1908,6 +1908,7 @@ do_mount (GVfsBackend *backend,
G_VFS_BACKEND_HTTP (backend)->mount_base = mount_base;
soup_session_add_feature_by_type (session, SOUP_TYPE_AUTH_NEGOTIATE);
+ soup_session_add_feature_by_type (session, SOUP_TYPE_AUTH_NTLM);
/* Override the HTTP backend's default. */
g_object_set (session,