Installation: slapd02.conf

File slapd02.conf, 1.9 KB (added by mirek@…, 4 years ago)

secondary slapd server

Line 
1include /usr/local/etc/openldap/schema/core.schema
2include /usr/local/etc/openldap/schema/cosine.schema
3include /usr/local/etc/openldap/schema/inetorgperson.schema
4include /usr/local/etc/openldap/schema/nis.schema
5include /usr/local/etc/openldap/schema/dhcp.schema
6include /usr/local/etc/openldap/schema/pureftpd.schema
7include /usr/local/etc/openldap/schema/qmail.schema
8include /usr/local/etc/openldap/schema/freeradius.schema
9
10pidfile /var/run/openldap/slapd.pid
11argsfile /var/run/openldap/slapd.args
12
13modulepath /usr/local/libexec/openldap
14moduleload back_mdb
15moduleload syncprov
16
17database mdb
18maxsize 1073741824
19suffix "dc=fixpro,dc=cz"
20rootdn "cn=root,dc=fixpro,dc=cz"
21
22sizelimit -1
23
24loglevel none
25
26rootpw {CRYPT}Fn8JNu0mezTLo
27directory /var/db/openldap-data-mdb
28
29index entryCSN eq
30index cn eq,sub
31index entryUUID eq
32index objectClass eq
33index dhcpHWAddress eq
34index dhcpClassData eq
35index dhcpPrimaryDN eq
36index dhcpSecondaryDN eq
37index mail eq
38index accountStatus eq
39index uid eq
40index FTPStatus eq
41index member eq
42
43access to attrs=userPassword
44 by anonymous auth
45 by self write
46 by * none
47
48access to dn.subtree="dc=fixpro,dc=cz" by dn.subtree,expand=$1 read
49
50syncrepl rid=3
51 provider=ldap://10.1.201.4
52 type=refreshAndPersist
53 retry="60 +"
54 searchbase="dc=fixpro,dc=cz"
55 filter="(objectClass=*)"
56 attrs="*"
57 scope=sub
58 schemachecking=off
59 bindmethod=simple
60 binddn="cn=root,dc=fixpro,dc=cz"
61 credentials="rio33net"
62
63updateref ldap://10.1.201.4
64