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

logon_faliure if user doesn't have specified domain #40

Open
tjswk2008 opened this issue Jan 8, 2020 · 3 comments
Open

logon_faliure if user doesn't have specified domain #40

tjswk2008 opened this issue Jan 8, 2020 · 3 comments

Comments

@tjswk2008
Copy link

I can login with any domain or without domain using other linux smb2 client

Error Message:

Error: STATUS_LOGON_FAILURE (0xC000006D) : The attempted logon is invalid. This is either due to a bad username or authentication information.
    at SMB2Forge.request (D:\workspace\webpack-template\node_modules\@marsaud\smb2\lib\tools\smb2-forge.js:22:15)
    at D:\workspace\webpack-template\node_modules\@marsaud\smb2\lib\tools\smb2-connection.js:114:11
    at Object.<anonymous> (D:\workspace\webpack-template\node_modules\@marsaud\smb2\lib\tools\message.js:15:15)
    at Socket.<anonymous> (D:\workspace\webpack-template\node_modules\@marsaud\smb2\lib\tools\smb2-forge.js:71:31)
    at Socket.emit (events.js:198:13)
    at addChunk (_stream_readable.js:288:12)
    at readableAddChunk (_stream_readable.js:269:11)
    at Socket.Readable.push (_stream_readable.js:224:10)
    at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)
  messageName: 'session_setup_step2',
  params: {},
  message:
   'STATUS_LOGON_FAILURE (0xC000006D) : The attempted logon is invalid. This is either due to a bad username or authentication information.',
  code: 'STATUS_LOGON_FAILURE'
@tjswk2008 tjswk2008 changed the title logon_faliure with unspecified user logon_faliure if user doesn't have specified domain Jan 8, 2020
@mogadanez
Copy link

same issue, impossible to connect MAC smb share

@bwadfort
Copy link

I also have this issue - on a Mac. Looks like the code uses NTLM to authenticate. https://www.npmjs.com/package/ntlm

NTLM authentication challenges require an NT domain, so it looks like this library is relatively coupled to the Windows environment. :(

@praveen-elastic
Copy link

Hey @bwadfort @mogadanez , did you find any workaround or other library for connecting to MAC smb share ?

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

4 participants