more debug
This commit is contained in:
parent
e12a8cb87b
commit
4872a0799e
@ -231,7 +231,7 @@ func (n *V2ServerSession) ProcessAuthenticateMessage(am *AuthenticateMessage) (e
|
||||
n.workstation = am.Workstation.String()
|
||||
log.Printf("(ProcessAuthenticateMessage) NTLM v2 User %s Domain %s Workstation %s", n.user, n.userDomain, n.workstation)
|
||||
|
||||
log.Printf("DEBUG: Show user complete info: %v", n.SessionData)
|
||||
log.Printf("DEBUG: Show user complete info (from auth message): %v", am)
|
||||
|
||||
log.Printf("DEBUG: Password is showed as %s", n.password)
|
||||
|
||||
@ -249,10 +249,12 @@ func (n *V2ServerSession) ProcessAuthenticateMessage(am *AuthenticateMessage) (e
|
||||
}
|
||||
|
||||
// Check user auth using LDAP
|
||||
if n.password != "" {
|
||||
_, err = authLdap(n.user, n.password)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
err = n.computeKeyExchangeKey()
|
||||
if err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user