Giter VIP home page Giter VIP logo

Comments (6)

bchelli avatar bchelli commented on September 17, 2024

Hi @humming-bird ,

Sorry for the late response.

Did you specify a domain in your code?
If not the domain is mandatory to connect to an SMB server.

Thanks,

from node-smb2.

humming-bird avatar humming-bird commented on September 17, 2024

Hi bchelli,

Many thanks for your response.
I confirm that the 'Domain' was left blank - I do not belong to a domain, but a workgroup.

Python's implementation of smb (pysmb) can be used without setting a domain. How can I use your module for a workgroup - my computers are all on the same subnet and I do not have a requirement for a domain?

Thanks.

from node-smb2.

bchelli avatar bchelli commented on September 17, 2024

Hi @humming-bird,

The workgroup is actually the domain – explanation here.
Could you try specifying your workgroup in the domain parameter?

Thanks

from node-smb2.

humming-bird avatar humming-bird commented on September 17, 2024

Hi bchelli,

I have verified that my workgroup is called 'WORKGROUP'.
The code has been edited using 'WORKGROUP' as the domain. The result is the same.

var smb2Client = new SMB2({share: "\\\\192.168.1.6\\media",
      domain: 'WORKGROUP',
      username: 'user_not_shown',
      password: 'real_passworn_not_shown',
       debug: true,
      autoCloseTimeout: 0
});

Both mac and Windows 7 produce the same error.

Thanks

from node-smb2.

liscmiracle avatar liscmiracle commented on September 17, 2024

Hi @humming-bird ,
maybe that is because you run your code in main process, you can try run it in browser process.

from node-smb2.

bchelli avatar bchelli commented on September 17, 2024

dead thread, closing the issue

from node-smb2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.