aboutsummaryrefslogtreecommitdiff
path: root/read.go
diff options
context:
space:
mode:
Diffstat (limited to 'read.go')
-rw-r--r--read.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/read.go b/read.go
index 0868624..b139175 100644
--- a/read.go
+++ b/read.go
@@ -109,7 +109,7 @@ func (server *Server) handleSearchInternal(state *State, w ldap.ResponseWriter,
basePath += "/"
}
- data, _, err := server.kv.List(basePath, nil)
+ data, _, err := server.kv.List(basePath, &server.readOpts)
if err != nil {
return ldap.LDAPResultOperationsError, err
}