Comments (6)
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.
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.
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.
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.
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.
dead thread, closing the issue
from node-smb2.
Related Issues (20)
- Moving a file results in an empty file HOT 2
- TypeError: Cannot read property 'FileId' of undefined when calling close() HOT 3
- Error: STATUS_ACCESS_DENIED (0xC0000022) in readFile HOT 9
- Problem with check file exists or unlink HOT 2
- CreateReadStream and CreateWriteStream HOT 2
- Could smb2 save images ?
- TypeError: cb.apply is not a function HOT 1
- logon_faliure if user doesn't have specified domain HOT 3
- how can I get current working directory? HOT 1
- Error: STATUS_LOGON_FAILURE (0xC000006D) : The attempted logon is invalid. This is either due to a bad username or authentication information. HOT 6
- There is no response while connecting the smb2 client from windows system
- errorMessage":"STATUS_NOT_SUPPORTED (0xC00000BB) : The request is not supported.
- PROD implementation HOT 1
- New Feature: Copy files, copy folder
- Mkdir not working ? HOT 1
- Error: STATUS_USER_SESSION_DELETED (0xC0000203) : The remote user session has been deleted. HOT 4
- Connect to Linux (centos) shared folder fails
- unable to read file tho you have the right permission
- Still the dreaded Error reading SMB directory: Error: STATUS_INVALID_PARAMETER (0xC000000D) with smb2 nodejs HOT 1
- Discover support?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-smb2.