-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MechanismList MIC has incorrect type #13
Comments
Please try changing line 74 in SimpleProtectedNegotiationToken.cs from: return new SimpleProtectedNegotiationTokenInit(tokenBytes, offset); to return new SimpleProtectedNegotiationTokenInit2(tokenBytes, offset); |
Thanks for the quick response. 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.
Smb1Client.TreeConnect() always returns ACCESS_DENIED. |
You're going to have to dig a little deeper, |
My latest commit should have fixed the original issue that you reported. |
Hi,
first - thank you very much for publishing this interesting library.
I'm trying to use this library for client access using the code from issue #9.
I tried to connect to
I'm always ending up here:
SMBLibrary/SMBLibrary/Authentication/GSSAPI/SPNEGO/SimpleProtectedNegotiationTokenInit.cs
Line 176 in 86afb5a
In all cases, the tag is not DerEncodingTag.ByteArray but DerEncodingTag.Sequence instead.
I can't imagine an explanation for this. It's really weird that it happens in all 3 cases. These cases are different otherwise (different buffer length, different parsed mechanisms).
When I ignore the exception, all subsequent operations against the Samba machine are successful (but there's guest access enabled), but not for the Windows servers...
Any ideas?
The text was updated successfully, but these errors were encountered: