Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connect to Linux (centos) shared folder fails #83

Open
Liyam2023 opened this issue Mar 16, 2023 · 0 comments
Open

Connect to Linux (centos) shared folder fails #83

Liyam2023 opened this issue Mar 16, 2023 · 0 comments

Comments

@Liyam2023
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant