Добавление схемы OpenLDAP
Добавлено: 2009-08-14 12:30:19
Пытаюсь добавить схему
В slapd.conf пишу
после чего демон не запускается
права на файлы и каталоги в /usr/local/etc/openldap/
В чем моя ошибка?
Код: Выделить всё
/usr/local/etc/openldap/schema/inetorgperson.schema
Код: Выделить всё
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include /usr/local/etc/openldap/schema/core.schema
include /usr/local/etc/openldap/schema/inetorgperson.schema
# Define global ACLs to disable default read access.
# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral ldap://root.openldap.org
pidfile /var/run/openldap/slapd.pid
argsfile /var/run/openldap/slapd.args
# Load dynamic backend modules:
modulepath /usr/local/libexec/openldap
#moduleload back_bdb
moduleload back_hdb
# moduleload back_ldap
права на файлы и каталоги в /usr/local/etc/openldap/
Код: Выделить всё
-rw------- 1 root wheel 921 Aug 11 00:55 DB_CONFIG.example
-rw-r--r-- 1 root wheel 245 Aug 11 00:46 ldap.conf
-rw-r--r-- 1 root wheel 245 Aug 11 00:46 ldap.conf.default
drwxr-xr-x 2 root wheel 1024 Aug 11 00:55 schema
-rw------- 1 ldap ldap 2746 Aug 14 13:24 slapd.conf
-rw------- 1 root wheel 2107 Aug 11 00:55 slapd.conf.default
-rw------- 1 root wheel 2107 Aug 11 01:00 slapd.conf.orig