diff options
Diffstat (limited to 'write.go')
-rw-r--r-- | write.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -186,7 +186,7 @@ func (server *Server) handleDeleteInternal(state *State, r *message.DelRequest) return ldap.LDAPResultInvalidDNSyntax, err } - items, _, err := server.kv.List(path+"/", nil) + items, _, err := server.kv.List(path+"/", &server.readOpts) if err != nil { return ldap.LDAPResultOperationsError, err } @@ -299,7 +299,7 @@ func (server *Server) handleModifyInternal(state *State, r *message.ModifyReques return ldap.LDAPResultInvalidDNSyntax, err } - items, _, err := server.kv.List(path+"/attribute=", nil) + items, _, err := server.kv.List(path+"/attribute=", &server.readOpts) if err != nil { return ldap.LDAPResultOperationsError, err } |