未加载OpenLDAP架构

时间:2011-10-17 10:57:33

标签: ldap window openldap

我正在测试OpenLDAP for window

安装OpenLDAP后,我不更改任何配置文件行,并且我运行了slap守护进程,但是看起来有些方案未加载,请参阅输出控制台:

...
config_back_db_open
config_build_entry: "cn=config"
config_build_entry: "cn=schema"
config_build_entry: "cn={0}core"
config_build_entry: "cn={1}cosine"
config_build_entry: "cn={2}nis"
config_build_entry: "cn={3}inetorgperson"
config_build_entry: "olcDatabase={-1}frontend"
config_build_entry: "olcDatabase={0}config"
config_build_entry: "olcDatabase={1}bdb"
...

这里有预期加载的方案(slapd.conf)

 include        ./schema/core.schema
 include        ./schema/cosine.schema
 include        ./schema/nis.schema
 include        ./schema/inetorgperson.schema
 include        ./schema/openldap.schema
 include        ./schema/dyngroup.schema
 include        ./schema/misc.schema

为什么shemes openldap,dyngroup和misc无法加载,我通过在jxplorer程序中查看模式资源管理器来测试它,我发现在这些方案中没有定义属性和类。

是否有任何配置我需要加载

我想创建自己的架构

感谢任何建议

感谢^^

1 个答案:

答案 0 :(得分:0)

我有以下哪些有效。尝试显示的顺序,与分发时的slapd.conf相同。我不认为你可以加载它们。如果此顺序不起作用,则需要使用slaptest -f slapd.conf列出任何错误。

include         schema/core.schema
include         schema/cosine.schema
include         schema/inetorgperson.schema
include         schema/ppolicy.schema
#include        schema/connexitor.schema
#include        schema/corba.schema
include schema/dyngroup.schema
#include        schema/eduperson.schema
include         schema/java.schema
#include        schema/krb5-kdc.schema
include schema/misc.schema
include schema/nis.schema
#include        schema/openldap.schema
#include        schema/samba.schema