You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After commenting out this if statement, I can connect to the smb server and read files no problem.
Looks like this is the part of the NegotiateFlags field. Will it have any security concerns if I comment out this if statement as a quick fix on my side?
Can you please let me know how I can debug this better for you to diagnose the problem? I'm happy to provide more information if needed.
The text was updated successfully, but these errors were encountered:
I'm having problems with connecting to the smb server when I run
smbDialer.Dial(conn)
. It reportsinvalid response error: invalid negotiate flags
.After digging into the source code, I found the error is from this if statement:
go-smb2/internal/ntlm/client.go
Lines 83 to 85 in 6569ee9
After commenting out this if statement, I can connect to the smb server and read files no problem.
Looks like this is the part of the NegotiateFlags field. Will it have any security concerns if I comment out this if statement as a quick fix on my side?
Can you please let me know how I can debug this better for you to diagnose the problem? I'm happy to provide more information if needed.
The text was updated successfully, but these errors were encountered: