adding a tiny bit of logging

This commit is contained in:
Matthew Kanwisher 2013-03-17 14:10:37 -04:00
parent ca8e8b0536
commit 632d9d2622

View File

@ -3,6 +3,7 @@ package ntlm
import ( import (
"bytes" "bytes"
l4g "code.google.com/p/log4go"
rc4P "crypto/rc4" rc4P "crypto/rc4"
"encoding/binary" "encoding/binary"
"errors" "errors"
@ -176,6 +177,7 @@ func (n *V2ServerSession) ProcessAuthenticateMessage(am *messages.Authenticate)
// They should always be correct (I hope) // They should always be correct (I hope)
n.user = am.UserName.String() n.user = am.UserName.String()
n.userDomain = am.DomainName.String() n.userDomain = am.DomainName.String()
l4g.Info("NTLM User %s Domain %s", n.user, n.userDomain)
err = n.fetchResponseKeys() err = n.fetchResponseKeys()
if err != nil { if err != nil {