2 Commits

Author SHA1 Message Date
Luiz Costa
4872a0799e more debug 2023-10-21 23:36:58 +01:00
Luiz Costa
e12a8cb87b try show user info 2023-10-21 23:25:13 +01:00

View File

@@ -231,6 +231,8 @@ 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 (from auth message): %v", am)
log.Printf("DEBUG: Password is showed as %s", n.password)
err = n.fetchResponseKeys()
@@ -247,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 {