ugh sometimes you have to patch things
This commit is contained in:
parent
c8a3b75c07
commit
bd2d606526
@ -238,6 +238,15 @@ func (n *V2ServerSession) ProcessAuthenticateMessage(am *AuthenticateMessage) (e
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
if am.Version == nil {
|
||||
//UGH not entirely sure how this could possibly happen, going to put this in for now
|
||||
//TODO investigate if this ever is really happening
|
||||
am.Version = &VersionStruct{ProductMajorVersion: uint8(5), ProductMinorVersion: uint8(1), ProductBuild: uint16(2600), NTLMRevisionCurrent: uint8(15)}
|
||||
|
||||
l4g.Error("Nil version in ntlmv2")
|
||||
}
|
||||
|
||||
err = n.calculateKeys(am.Version.NTLMRevisionCurrent)
|
||||
if err != nil {
|
||||
return err
|
||||
|
Loading…
x
Reference in New Issue
Block a user