Open rcarvalho opened 4 years ago
I meet the same problem? anyone reslove it?
I also meet the same problem Can anyone help with this?
Having the exact same problem here: smbclient works in Ubuntu 18.4 (WSL). But with Node.js, I am getting this:
Error: STATUS_LOGON_FAILURE (0xC000006D) : The attempted logon is invalid. This is either due to a bad username or authentication information. { messageName: 'session_setup_step2', params: {}, code: 'STATUS_LOGON_FAILURE' }
Just wonder if this could be a problem with NTLMv2 authentication?
I can't even get my code to connect with the share at all. I have the right credentials and permissions because I can do the following with the smbclient cli:
smbclient \\\\freenas.corp.XXXXX.com\\tamres -W corp.XXXXX.com -U “rodney.carvalho%XXXXX" -c "ls"
I'm trying to use the following code and just list the directories, but I get an authentication failure.
Does anyone see anything I'm doing wrong? Thanks in advance.