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



commit f9422f7b86b68edf5017900db35693f74b96b1dd
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 9ab6b283..a3fbfbe2 100644
--- a/daemon/gvfsbackenddav.c
+++ b/daemon/gvfsbackenddav.c
@@ -1882,6 +1882,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]