OpenLDAP - 我的 slapd.conf 在哪里?

Pie*_*NAY 11 ubuntu openldap

我已经在 Unbuntu 10.04 上安装了 OpenLDAP。
我想我的配置LDAP,但我找不到slapd.conf中/etc/ldap/
在这个目录下有一个ldap.conf的,但似乎并不相同。

如何配置我的 ldap ?

Sve*_*ven 13

您将需要使用新的cn=config配置方法,其中 LDAP 服务器将通过目录中的单独数据树进行配置(通常表示为 .dif 文件下的 LDIF 文件)/etc/ldap/slapd.d


Sto*_*one 6

OpenLDAP 使用一个单独的目录,其中包含 cn=config 目录信息树 (DIT)(以前称为 slapd.conf)。cn=config DIT 用于动态配置 slapd 守护进程,允许在不停止服务的情况下修改架构定义、索引、ACL 等。

请参阅:https : //help.ubuntu.com/10.04/serverguide/C/openldap-server.htmlhttp://www.zytrax.com/books/ldap/ch6/slapd-config.html