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

Thomas Guillem git at videolan.org
Thu Nov 19 13:00:37 CET 2020


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Nov 18 12:06:19 2020 +0100| [2932d1fe3fe9c14fa107d7623d92e2ffc85e0e6f] | committer: Thomas Guillem

samba: ask for credential in case of EPERM

This fix login on Windows 10 shares.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2932d1fe3fe9c14fa107d7623d92e2ffc85e0e6f
---

 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 9f397c44b7..0a5d283f08 100644
--- a/modules/access/samba.c
+++ b/modules/access/samba.c
@@ -296,7 +296,7 @@ static int Open(vlc_object_t *obj)
         is_dir = true;
         size = 0;
 
-        if (errno != EACCES)
+        if (errno != EACCES && errno != EPERM)
             break;
 
         errno = 0;



More information about the vlc-commits mailing list