slapd.conf 中要 有 类似:include schema/core.schema
include schema/corba.schema
include schema/cosine.schema
include schema/dyngroup.schema
include schema/inetorgperson.schema
include schema/java.schema
include schema/misc.schema
include schema/nis.schema
include schema/openldap.schema要保证你需要用到的 Schema 都已经导入了, 因为有些 Schema 有依赖,像 inetorgperson 就有继承关系,那么它的 super 定义在什么地方?他们也应该导入了。slapd.exe -d 1 , 用这种方式启动看看调试信息,如果启动时加载 Schema 出错的话会列出的,你对比一下你的 schema 目录中的,如果文件存在就添加一个到 slapd.conf 文件中,没有就取下载 schema .