minor tweaks for ntlmv1

This commit is contained in:
Matthew Kanwisher
2013-04-15 17:55:10 -04:00
parent 413d3231d7
commit c71d542d90
4 changed files with 13 additions and 4 deletions

View File

@@ -47,7 +47,7 @@ func main() {
// Message parsed correctly as NTLMv1 so assume the session is v1 and reset the server session
newContext, err := ntlm.CreateServerSession(ntlm.Version1, ntlm.ConnectionlessMode)
newContext.SetUserInfo("050045.rmwatest@reuters.com", "Welcome1", "")
newContext.SetUserInfo(server.GetUserInfo())
if err != nil {
fmt.Println("Could not create NTLMv1 session")
return