bchelli/node-smb2

Error: STATUS_LOGON_FAILURE (0xC000006D) : The attempted logon is invalid. This is either due to a bad username or authentication information.

azamsolix opened this issue · 6 comments

I am getting this error.However,My credentials are corre
cifserror
ct

Exactly same problem (and i'm tilting).

  • why ending share with "$" ?
  • why ending passord wtih "!" ?
  • what is thtat domain ?? My user is a local synology user without domain. What i'm supposed to write ?

The error message is so unprecise ! I can put what i wan in

  • share folder (no ip but share folder)
  • username
  • password
  • domain
    The error message is THE SAME.

It's crazy...

I think it's because domain, i had yet try all of those :

  • administrator
  • adminstrators
  • DISKSTATION
  • local
  • syno
  • synology
  • WORKGROUP
  • NULL
  • UNDEFINED
  • ngnix
  • system
  • default
  • user
  • users

Noone works...

Having the same issue, unprotected guest shares on the same server work fine for me, but get the STATUS_LOGON_FAILURE error for anything with a username/password.

Works:

{
        share: '\\\\localserver\\public',
        domain: 'WORKGROUP',
        username: 'guest'
}

Doesn't work:

{
        share: '\\\\localserver\\private',
        domain: 'WORKGROUP',
        username: 'user',
        password: 'password'
}

Did you find a solution?

Same problem. Who have solution?

In my case i need set the flag => ntlm auth = yes

[global]
workgroup = WORKGROUP
server string = Samba
server min protocol = SMB2_10
smb encrypt = auto
server signing = auto
security = user
ntlm auth = yes

[shared]
path = /home/shared
public = yes
browseable = yes
writable = yes
comment = My files
read only = no
printable = no
create mask = 0777
directory mask = 777
browseable = yes
read only = no