Open DaVinciLord opened 7 years ago
AFAIK, this library requires all permissions (even admin) on the share, maybe that's the issue?
I tested with admin permissions on the share, didn't work either.
Can you show exactly the permission panel in your Windows for this share?
IIRC, there is 2 kind of permissions:
Obviously, one of them is not high enough to allow an access
Tested with a Python script, from linux command line (using mount -t cifs) and with https://github.com/eflexsystems/node-samba-client and both worked (connected and listed files).
I should add that I use a Linux OS.
You mean your SMB server is a Linux host?
Nope, the SMB server is on Windows. I just have a Linux client for the SMB (my nodejs application is on a linux server).
Okay so take a look at your Windows host, both for NTFS and share level permissions.
edit: if we can find the exact permission level that is not necessary to switch on, I think we could ask @marsaud to take a look and fix this (if there is no good reason to ask for those extended permissions)
The Windows Share is indeed in NTFS so I think it's good. As for the share level permissions, I could only do a screen of this panel:
I use the "Administrateur" account to log in.
I tried to list all the files in a Windows Share but couldn't, the SMB2 object has this value: connected: false
Here is a fiddle of my code:
And the error stack