【问题标题】:OpenLDAP schema not loaded未加载 OpenLDAP 架构
【发布时间】:2011-10-17 10:57:32
【问题描述】:

我正在为窗口测试 OpenLDAP

安装 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程序中的模式资源管理器对其进行了测试,我发现这些方案中没有定义属性和类。

我需要什么配置来加载这些方案

我想创建自己的架构

感谢任何建议

谢谢^^

【问题讨论】:

    标签: ldap window openldap


    【解决方案1】:

    我有以下工作。尝试显示的顺序,与分发时的 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
    

    【讨论】:

      猜你喜欢
      • 2014-07-07
      • 1970-01-01
      • 2011-03-18
      • 1970-01-01
      • 2011-10-18
      • 1970-01-01
      • 2012-09-16
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多