在OpenLDAP中禁用分页搜索

问题描述

我正在使用osixia/openldap进行测试,并且想禁用分页搜索结果。

根据documentation,应该可以使用olcSizeLimit属性在全局级别执行此操作。

这是我的LDIF文件(安装在/container/service/slapd/assets/config/bootstrap/ldif/custom/disable-paging.ldif中):

dn: cn=config
changeType: modify
add: olcSizeLimit
olcSizeLimit: size.prtotal=disabled

容器使用此LDIF文件正确启动:

sample-ldap-main_1  | Processing file /container/run/service/slapd/assets/config/bootstrap/ldif/custom/disable-paging.ldif
sample-ldap-main_1  | modifying entry "cn=config"

但是,当我尝试使用“简单页面结果”控件进行搜索时,搜索成功,没有任何错误。

我遇到了一个与此主题有关的email thread,但似乎没有取得成功。有人有做过这项工作吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)