node-smb2 icon indicating copy to clipboard operation
node-smb2 copied to clipboard

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

Open azamsolix opened this issue 4 years ago • 6 comments

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

azamsolix avatar Nov 24 '20 11:11 azamsolix

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...

bArraxas avatar Oct 24 '21 08:10 bArraxas

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...

bArraxas avatar Oct 24 '21 08:10 bArraxas

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'
}

taylortom avatar Oct 26 '21 10:10 taylortom

Did you find a solution?

Liyam2023 avatar Mar 16 '23 17:03 Liyam2023

Same problem. Who have solution?

maikonayres avatar Dec 06 '23 17:12 maikonayres

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

maikonayres avatar Dec 07 '23 03:12 maikonayres