diff options
author | Alex Auvolat <alex@adnab.me> | 2020-02-13 13:53:21 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-02-13 14:41:49 +0100 |
commit | 851573e28f73102dedc6b9aca04f5f3248bdc9f4 (patch) | |
tree | 9d693cd14ead86b561af25ab748c8de507a1a05a | |
parent | c3d30df155e24da199a8e9c388a26c18c80946b4 (diff) | |
download | bottin-851573e28f73102dedc6b9aca04f5f3248bdc9f4.tar.gz bottin-851573e28f73102dedc6b9aca04f5f3248bdc9f4.zip |
Fix equality test in ldap compare request
-rw-r--r-- | read.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } } |