summaryrefslogtreecommitdiff
path: root/daemon/gvfsbackendsmb.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/gvfsbackendsmb.c')
-rw-r--r--daemon/gvfsbackendsmb.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/daemon/gvfsbackendsmb.c b/daemon/gvfsbackendsmb.c
index bb105c30..0292768c 100644
--- a/daemon/gvfsbackendsmb.c
+++ b/daemon/gvfsbackendsmb.c
@@ -206,6 +206,14 @@ auth_callback (SMBCCTX *context,
backend->mount_try_again = TRUE;
g_debug ("auth_callback - kerberos pass\n");
}
+ else if (backend->mount_try == 1 &&
+ backend->user == NULL &&
+ backend->domain == NULL)
+ {
+ /* Try again if ccache login fails */
+ backend->mount_try_again = TRUE;
+ g_debug ("auth_callback - ccache pass\n");
+ }
else if (backend->use_anonymous)
{
/* Try again if anonymous login fails */