diff options
author | Alex Auvolat <alex@adnab.me> | 2020-01-26 23:12:00 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-01-26 23:12:00 +0100 |
commit | 8a605f44b017621eb2bd739d6c7c1de213d7a13f (patch) | |
tree | 5cdfeb584c9deaa57eab54ed153bc62079b7a796 /write.go | |
parent | e9fb34bb26779df5442aff9889de0854bff05902 (diff) | |
download | bottin-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 'write.go')
-rw-r--r-- | write.go | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -8,7 +8,6 @@ import ( message "github.com/vjeantet/goldap/message" ) - // Add request ------------------------ func (server *Server) handleAdd(s ldap.UserState, w ldap.ResponseWriter, m *ldap.Message) { @@ -149,7 +148,6 @@ func (server *Server) handleAddInternal(state *State, r *message.AddRequest) (in return ldap.LDAPResultSuccess, nil } - // Delete request ------------------------ func (server *Server) handleDelete(s ldap.UserState, w ldap.ResponseWriter, m *ldap.Message) { @@ -279,7 +277,6 @@ func (server *Server) handleDeleteInternal(state *State, r *message.DelRequest) return ldap.LDAPResultSuccess, nil } - // Modify request ------------------------ func (server *Server) handleModify(s ldap.UserState, w ldap.ResponseWriter, m *ldap.Message) { |