2011-10-17 52 views
0

我測試的OpenLDAP的窗口OpenLDAP模式

安裝的OpenLDAP之後,我不改變配置文件中的任何行,我跑巴掌守護進程,但它似乎有些方案沒有加載,看到輸出控制檯:

... 
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和雜項無法加載,我通過查看架構資源管理測試了它的方案我在jxplorer程序中,我發現沒有在這些方案中定義的屬性和類。

有什麼配置,我需要使這些方案負載

我要創造我自己的模式

欣賞任何建議

謝謝^^

回答

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