@@ -14,34 +14,34 @@ allow bind_v2 bind_anon_cred bind_anon_dn update_anon
1414include /etc/ldap/schema/core.schema
1515
1616## pigeonair required schemes
17- include /etc/ldap/pigeonair/generic.schema
18- include /etc/ldap/pigeonair/domains.schema
19-
20- ## modules schema
21- include /etc/ldap/pigeonair/mailStore.schema
22- include /etc/ldap/pigeonair/mailForward.schema
23- include /etc/ldap/pigeonair/mailHidden.schema
24- include /etc/ldap/pigeonair/mailAlias.schema
25- include /etc/ldap/pigeonair/mailAntivirus.schema
26- include /etc/ldap/pigeonair/mailNewsletter.schema
27- include /etc/ldap/pigeonair/mailSanitizer.schema
28- include /etc/ldap/pigeonair/mailVacation.schema
29- include /etc/ldap/pigeonair/mailAntispam.schema
17+ # include /etc/ldap/pigeonair/generic.schema
18+ # include /etc/ldap/pigeonair/domains.schema
19+ #
20+ ### modules schema
21+ # include /etc/ldap/pigeonair/mailStore.schema
22+ # include /etc/ldap/pigeonair/mailForward.schema
23+ # include /etc/ldap/pigeonair/mailHidden.schema
24+ # include /etc/ldap/pigeonair/mailAlias.schema
25+ # include /etc/ldap/pigeonair/mailAntivirus.schema
26+ # include /etc/ldap/pigeonair/mailNewsletter.schema
27+ # include /etc/ldap/pigeonair/mailSanitizer.schema
28+ # include /etc/ldap/pigeonair/mailVacation.schema
29+ # include /etc/ldap/pigeonair/mailAntispam.schema
3030
3131include /etc/ldap/schema/cosine.schema
3232include /etc/ldap/schema/nis.schema
3333include /etc/ldap/schema/inetorgperson.schema
3434
3535# Schema check allows for forcing entries to
3636# match schemas for their objectClasses's
37- schemacheck on
37+ #schemachecking on
3838
3939# Where the pid file is put. The init.d script
4040# will not stop the server if you change this.
41- pidfile /var/run /slapd/slapd.pid
41+ pidfile /tmp /slapd/slapd.pid
4242
4343# List of arguments that were passed to the server
44- argsfile /var/run /slapd.args
44+ argsfile /tmp/slapd /slapd.args
4545
4646# Read slapd.conf(5) for possible values
4747loglevel 0
@@ -50,13 +50,12 @@ loglevel 0
5050modulepath /usr/lib/ldap
5151moduleload back_hdb
5252
53+
5354#######################################################################
5455# Specific Backend Directives for bdb:
5556# Backend specific directives apply to this backend until another
5657# 'backend' directive occurs
57- backend hdb
58- checkpoint 1024 30
59- cachesize 10000
58+ #backend hdb
6059
6160#######################################################################
6261# Specific Backend Directives for 'other':
@@ -71,10 +70,13 @@ cachesize 10000
7170database hdb
7271
7372# The base of your directory in database #1
74- suffix "dc=pippo,dc=it"
73+ suffix "dc=test,dc=it"
74+
75+ checkpoint 1024 30
76+ cachesize 10000
7577
7678# Where the database file are physically stored for database #1
77- directory "/var/lib/ldap/deliver "
79+ directory "/tmp/slapd/ "
7880
7981# Indexing options for database #1
8082index objectClass eq
@@ -90,11 +92,7 @@ lastmod on
9092# Others should not be able to see it, except the
9193# admin entry below
9294# These access lines apply to database #1 only
93- access to attrs=userPassword
94- by dn="cn=admin,dc=pippo,dc=it" write
95- by anonymous auth
96- by self write
97- by * none
95+ access to * by * write
9896
9997# Ensure read access to the base for things like
10098# supportedSASLMechanisms. Without this you may
@@ -127,20 +125,3 @@ access to *
127125
128126# The base of your directory for database #2
129127#suffix "dc=debian,dc=org"
130-
131- database hdb
132-
133- # The base of your directory in database #1
134- suffix "dc=test,dc=it"
135-
136- # Where the database file are physically stored for database #1
137- directory "/var/lib/ldap/tester"
138-
139- # Indexing options for database #1
140- index objectClass eq
141-
142- # Save the time that the entry gets modified, for database #1
143- lastmod on
144-
145-
146- access to * by * write
0 commit comments