[gvfs/wip/oholy/dav-negotiate-ntlm: 6/6] dav: Add support for NTLM authentication



commit 8f45ea4d97bb9239e6c91c7baceec815d3d9c7cb
Author: Ondrej Holy <oholy redhat com>
Date:   Mon Oct 8 09:12:21 2018 +0200

    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

 daemon/gvfsbackenddav.c | 1 +
 1 file changed, 1 insertion(+)
---
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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]