Comments (4)
Please try changing line 74 in SimpleProtectedNegotiationToken.cs from:
return new SimpleProtectedNegotiationTokenInit(tokenBytes, offset);
to
return new SimpleProtectedNegotiationTokenInit2(tokenBytes, offset);
from smblibrary.
Thanks for the quick response.
That part is solved.
But right for the next step, I'm experiencing odd behavior again:
Smb1Client.Login always returns success, no matter if credentials are right or wrong.
Then I'm calling Smb1Client.ListShares()
- If credentials were incorrect, I get a list of shares
- If credentials were correct, ListShares returns ACCESS_DENIED
(sic!)
Smb1Client.TreeConnect() always returns ACCESS_DENIED.
from smblibrary.
You're going to have to dig a little deeper,
Is the server returning 'STATUS_SUCCESS' when the credentials are incorrect? if so, this is an issue with the server.
Does the user have access to the share?
Try to check with a different client to verify if the issue is indeed with the SMBLibrary client. and if it is, try to find what (and where) the issue is exactly.
from smblibrary.
My latest commit should have fixed the original issue that you reported.
please test and let me know if there are any additional issues.
please open a separate issue for each issue you encounter.
from smblibrary.
Related Issues (20)
- Copying a file while having an STATUS_SHARING_VIOLATION HOT 1
- UnobservedTaskException after Client.Disconnect() HOT 5
- SMBServer.exe HOT 1
- IsLoggedIn Getter HOT 1
- Exception thrown by .net Framework. HOT 7
- How to Access a File With in the Sub Folders Using SMB2Client
- [Question] FileSystemWatcher-like support HOT 1
- tree connect returning null HOT 1
- SMB3 client on samba server HOT 4
- Unable to access file in subdirectory HOT 1
- SMB1Client Connect method not timing out HOT 4
- UnobservedTaskException's caused by Smb2Client.Disconnect method HOT 9
- NullReferenceException crashes the application HOT 3
- STATUS_LOGON_FAILURE HOT 12
- SMBLibrary may crash the entire process HOT 9
- Please make it possible to connect using SMBClients providing custom ports. HOT 3
- LargeMTU unavailable HOT 2
- How to create a simple SMB1 server? HOT 6
- SMB(2) Move File Only On Server ? HOT 1
- List Folders only HOT 1
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 smblibrary.