[vlc-devel] [PATCH] samba: ask for credential in case of EPERM

Thomas Guillem thomas at gllm.fr
Wed Nov 18 12:07:27 CET 2020


This fix login on Windows 10 shares.
---
 modules/access/samba.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/samba.c b/modules/access/samba.c
index ff66261c25..1dc45518f0 100644
--- a/modules/access/samba.c
+++ b/modules/access/samba.c
@@ -297,7 +297,7 @@ static int Open(vlc_object_t *obj)
         is_dir = true;
         size = 0;
 
-        if (errno != EACCES)
+        if (errno != EACCES && errno != EPERM)
             break;
 
         errno = 0;
-- 
2.28.0



More information about the vlc-devel mailing list