Node-SMB / marsaud-smb2

SMB2 Client
53 stars 46 forks source link

Connect to Linux (centos) shared folder fails #83

Open Liyam2023 opened 1 year ago

Liyam2023 commented 1 year ago

Hi, I'm using v9u-smb2 library in nodejs and trying to access shared folder , my Linux doesn't have a domain I'm trying to access like that :

share: '\\172.18.196.24\samba3_directory', domain: 'WORKGROUP', username: 'pmc', password: 'password' // the real password

I got this error : STATUS_LOGON_FAILURE (0xC000006D) : The attempted logon is invalid. This is either due to a bad username or authentication information. at SMB2Forge.request (/home/pmc/tmp/barak/node-smb/node_modules/v9u-smb2/lib/tools/smb2-forge.js:39:15) at /home/pmc/tmp/barak/node-smb/node_modules/v9u-smb2/lib/tools/smb2-connection.js:108:11

What can be the problem? this library can work with Linux? Except from samba that I installed on Linux and create shared folder , do I need to configure something else?

from other Linux I can access to this shared folder by write on terminal : smbclient \\172.18.196.24\samba3_directory