aboutsummaryrefslogtreecommitdiff
path: root/read.go
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-01-26 23:12:00 +0100
committerAlex Auvolat <alex@adnab.me>2020-01-26 23:12:00 +0100
commit8a605f44b017621eb2bd739d6c7c1de213d7a13f (patch)
tree5cdfeb584c9deaa57eab54ed153bc62079b7a796 /read.go
parente9fb34bb26779df5442aff9889de0854bff05902 (diff)
downloadbottin-8a605f44b017621eb2bd739d6c7c1de213d7a13f.tar.gz
bottin-8a605f44b017621eb2bd739d6c7c1de213d7a13f.zip
Don't do stupid things like use a dn as a pattern
Also add metadata fields in objects created on initialization
Diffstat (limited to 'read.go')
-rw-r--r--read.go2
1 files changed, 0 insertions, 2 deletions
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) {