Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4872a0799e | ||
|
|
e12a8cb87b |
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user