node-smb2
node-smb2 copied to clipboard
errorMessage":"STATUS_NOT_SUPPORTED (0xC00000BB) : The request is not supported.
Got this message when trying to connect to smb service that I don't have access to The code so far
smb2Client = new SMB2Original({
share: '\\\\00.00.00.00\\abc_export$',
domain: 'domain',
username: 'user',
password: 'pwd',
});
smb2Client.readdir('.', (err, files) => {
if (err) throw err;
console.log(files);
});
Error object:
{
"errorType": "Error",
"errorMessage": "STATUS_NOT_SUPPORTED (0xC00000BB) : The request is not supported.",
"code": "STATUS_NOT_SUPPORTED",
"stack": [
"Error: STATUS_NOT_SUPPORTED (0xC00000BB) : The request is not supported.",
" at Object.01000000 (/var/task/node_modules/smb2/lib/tools/message.js:25:21)",
" at Socket.<anonymous> (/var/task/node_modules/smb2/lib/tools/smb2-forge.js:72:31)",
" at Socket.emit (events.js:315:20)",
" at addChunk (internal/streams/readable.js:309:12)",
" at readableAddChunk (internal/streams/readable.js:284:9)",
" at Socket.Readable.push (internal/streams/readable.js:223:10)",
" at TCP.onStreamRead (internal/stream_base_commons.js:188:23)"
]
}