[gvfs/wip/oholy/dav-negotiate-ntlm: 1/2] dav: Add support for Negotiate authentication
- From: Ondrej Holy <oholy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs/wip/oholy/dav-negotiate-ntlm: 1/2] dav: Add support for Negotiate authentication
- Date: Mon, 8 Oct 2018 08:43:25 +0000 (UTC)
commit 5b382c39e0823aefaff62dd753c208356e35cfec
Author: Ondrej Holy <oholy redhat com>
Date: Mon Oct 8 09:08:58 2018 +0200
dav: Add support for Negotiate authentication
Currently, only Basic and Digest authentication is possible for webdav
backend. Let's add support for Negotiate also.
https://gitlab.gnome.org/GNOME/gvfs/issues/342
daemon/gvfsbackenddav.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/daemon/gvfsbackenddav.c b/daemon/gvfsbackenddav.c
index 203363d7..9ab6b283 100644
--- a/daemon/gvfsbackenddav.c
+++ b/daemon/gvfsbackenddav.c
@@ -1881,6 +1881,8 @@ do_mount (GVfsBackend *backend,
session = G_VFS_BACKEND_HTTP (backend)->session;
G_VFS_BACKEND_HTTP (backend)->mount_base = mount_base;
+ soup_session_add_feature_by_type (session, SOUP_TYPE_AUTH_NEGOTIATE);
+
/* Override the HTTP backend's default. */
g_object_set (session,
"ssl-strict", TRUE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]