Skip to content

Connect to Linux (centos) shared folder fails  #51

@Liyam2023

Description

@Liyam2023

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions