Browse Source

Fix equality test in ldap compare request

master
Alex 8 months ago
parent
commit
851573e28f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      read.go

+ 1
- 1
read.go View File

@@ -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
}
}


Loading…
Cancel
Save