You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.3 KiB
51 lines
1.3 KiB
# Calculate format=ldap\
|
|
chmod=0640\
|
|
chown=root:ldap\
|
|
append=replace
|
|
include /etc/openldap/schema/core.schema
|
|
+include /etc/openldap/schema/cosine.schema
|
|
+include /etc/openldap/schema/nis.schema
|
|
+include /etc/openldap/schema/inetorgperson.schema
|
|
+include /etc/openldap/schema/misc.schema
|
|
+include /etc/openldap/schema/samba.schema
|
|
+include /etc/openldap/schema/mail.schema
|
|
|
|
schemacheck on
|
|
|
|
pidfile /var/run/openldap/slapd.pid
|
|
argsfile /var/run/openldap/slapd.arg
|
|
|
|
# Уровень отладочных сообщений
|
|
loglevel 1
|
|
allow bind_v2
|
|
modulepath /usr/lib/openldap/modules
|
|
|
|
# Доступ к аттрибуту userPassword
|
|
access to attrs=userPassword
|
|
by self write
|
|
by dn="#-ld_admin_dn-#" write
|
|
by * auth
|
|
# Доступ ко всем аттрибутам
|
|
access to *
|
|
by dn="#-ld_admin_dn-#" write
|
|
by self write
|
|
by * read
|
|
# Доступ по умолчанию только для чтения
|
|
defaultaccess read
|
|
|
|
# Тип базы данных
|
|
database ldbm
|
|
suffix "#-ld_base_dn-#"
|
|
rootdn "#-ld_temp_dn-#"
|
|
rootpw #-ld_temp_hash-#
|
|
checkpoint 1024 5
|
|
cachesize 10000
|
|
directory /var/lib/openldap-data
|
|
|
|
index objectClass eq
|
|
index cn pres,sub,eq
|
|
index sn pres,sub,eq
|
|
index uid pres,sub,eq
|
|
index uidNumber eq
|
|
index gidNumber eq
|
|
index default sub |