Fix equality test in ldap compare request

Este commit está contenido en:
Alex 2020-02-13 13:53:21 +01:00
padre c3d30df155
commit 851573e28f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados

Ver fichero

@ -53,7 +53,7 @@ func (server *Server) handleCompareInternal(state *State, r *message.CompareRequ
}
for _, v := range values {
if v == expected {
if valueMatch(attr, v, expected) {
return ldap.LDAPResultCompareTrue, nil
}
}