From 8a605f44b017621eb2bd739d6c7c1de213d7a13f Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sun, 26 Jan 2020 23:12:00 +0100 Subject: Don't do stupid things like use a dn as a pattern Also add metadata fields in objects created on initialization --- read.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'read.go') diff --git a/read.go b/read.go index 04106c5..29ef9ed 100644 --- a/read.go +++ b/read.go @@ -8,7 +8,6 @@ import ( message "github.com/vjeantet/goldap/message" ) - // Compare request ------------------------- func (server *Server) handleCompare(s ldap.UserState, w ldap.ResponseWriter, m *ldap.Message) { @@ -62,7 +61,6 @@ func (server *Server) handleCompareInternal(state *State, r *message.CompareRequ return ldap.LDAPResultCompareFalse, nil } - // Search request ------------------------- func (server *Server) handleSearch(s ldap.UserState, w ldap.ResponseWriter, m *ldap.Message) { -- cgit v1.2.3