File: slapd.conf-2.1.in

package info (click to toggle)
gfarm 2.3.2-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 10,972 kB
  • ctags: 10,894
  • sloc: ansic: 84,510; sh: 13,707; java: 6,866; makefile: 2,286; python: 771; perl: 325; sql: 130; xml: 50; asm: 37; csh: 2
file content (59 lines) | stat: -rw-r--r-- 1,469 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include		@config_gfarm_openldap_etc@/schema/core.schema
include		@config_gfarm_ldap_schema@

pidfile		@config_gfarm_run_dir@/gfarm-slapd.pid
argsfile	@config_gfarm_run_dir@/gfarm-slapd.args

# disable anonymous access
disallow bind_anon
require LDAPv3 authc

# unlimit search result
sizelimit unlimited

# disable syslog
loglevel 0

@config_gfarm_slapd_config_hook@

#######################################################################
# database definitions
#######################################################################

database	@config_gfarm_slapd_database@

suffix		"@config_gfarm_ldap_base_dn@"
rootdn		"@config_gfarm_backend_admin_user@"
rootpw		@config_gfarm_backend_admin_password@

directory	@config_gfarm_backend_data_dir@

access to dn="@config_gfarm_backend_user@" attrs=userPassword
	by * auth

access to dn.children="@config_gfarm_ldap_base_dn@"
	by users write

# to allow to "add"/"delete" entries (not only "modify")
access to dn="@config_gfarm_ldap_base_dn@" attrs=children
	by users write

# to make the gfarm_ldap_sanity() function happy
access to dn="@config_gfarm_ldap_base_dn@"
	by users read

# Indices to maintain
index	objectClass	eq

index	hostname	pres,eq
index	hostaliases	pres,eq
index	username	pres,eq
index	groupname	pres,eq
index	groupusers	pres,eq
index	inumber		pres,eq
index	entryName	pres,eq
index	attrname	pres,eq