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

TypeError: cb.apply is not a function

Open MarcelKohlmeyer opened this issue 6 years ago • 1 comments

I am trying to connect to an internal smb-share:

const client = new SMB2({
        share:"\\\\172.16.0.76\\rw",
        username:"*USER*",
        password:"*PASS*",
        domain:"DOMAIN",
        autoCloseTimeout:0
    });

I can connect to that share from the host using windows tools, but instantly getting following message:

TypeError: cb.apply is not a function

MarcelKohlmeyer avatar Jun 19 '19 08:06 MarcelKohlmeyer

Hey,

Did you fixed this error? Or any work around please.

SHAPPY0 avatar Apr 09 '21 06:04 SHAPPY0