This commit is contained in:
@@ -123,7 +123,7 @@ func VerifyLdapCreds(username string, password string) bool {
|
|||||||
|
|
||||||
defer ldaps.Close()
|
defer ldaps.Close()
|
||||||
|
|
||||||
ldaps.Debug = true
|
//ldaps.Debug = true
|
||||||
|
|
||||||
// try to bind to AD
|
// try to bind to AD
|
||||||
log.Printf("Attempting LDAP bind with user '%s' and password '%s'\n", username, password)
|
log.Printf("Attempting LDAP bind with user '%s' and password '%s'\n", username, password)
|
||||||
|
Reference in New Issue
Block a user