[gvfs/wip/oholy/smb-ccache: 10/12] smb: Enable winbind ccache explicitely



commit 86b1abb362532fdd28de89cef237977ef4f1a947
Author: Ondrej Holy <oholy redhat com>
Date:   Thu Feb 14 15:49:27 2019 +0100

    smb: Enable winbind ccache explicitely
    
    The winbind ccache is enabled by default currently, but let's enable
    it explicitely to be obvious.

 daemon/gvfsbackendsmb.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/daemon/gvfsbackendsmb.c b/daemon/gvfsbackendsmb.c
index 60cd0376..bb105c30 100644
--- a/daemon/gvfsbackendsmb.c
+++ b/daemon/gvfsbackendsmb.c
@@ -417,6 +417,7 @@ do_mount (GVfsBackend *backend,
   smbc_setOptionFallbackAfterKerberos (smb_context,
                                        op_backend->user != NULL);
   smbc_setOptionNoAutoAnonymousLogin (smb_context, TRUE);
+  smbc_setOptionUseCCache (smb_context, 1);
 
   if (!smbc_init_context (smb_context))
     {


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