source: sandbox/2.3-MailArchiver/doc-expressolivre/debian/arqs-conf/etc/ldap/slapd.conf.etch @ 6779

Revision 6779, 4.6 KB checked in by rafaelraymundo, 12 years ago (diff)

Ticket #2946 - Liberado Expresso(branch 2.3) integrado ao MailArchiver?.

Line 
1# This is the main slapd configuration file. See slapd.conf(5) for more
2# info on the configuration options.
3
4#######################################################################
5# Global Directives:
6
7# Features to permit
8allow bind_v2
9
10# Schema and objectClass definitions
11include         /etc/ldap/schema/core.schema
12include         /etc/ldap/schema/cosine.schema
13include         /etc/ldap/schema/nis.schema
14include         /etc/ldap/schema/inetorgperson.schema
15include         /etc/ldap/schema/qmailuser.schema
16include         /etc/ldap/schema/phpgwaccount.schema
17include         /etc/ldap/schema/samba.schema
18include         /etc/ldap/schema/phpgwcontact.schema
19include         /etc/ldap/schema/phpgwquotacontrolled.schema
20
21# Where the pid file is put. The init.d script
22# will not stop the server if you change this.
23pidfile         /var/run/slapd/slapd.pid
24
25# List of arguments that were passed to the server
26argsfile        /var/run/slapd/slapd.args
27
28# Read slapd.conf(5) for possible values
29loglevel        0
30
31# Where the dynamically loaded modules are stored
32modulepath      /usr/lib/ldap
33moduleload      back_bdb
34
35# The maximum number of entries that is returned for a search operation
36sizelimit 500
37
38# The tool-threads parameter sets the actual amount of cpu's that is used
39# for indexing.
40tool-threads 1
41
42#######################################################################
43# Specific Backend Directives for bdb:
44# Backend specific directives apply to this backend until another
45# 'backend' directive occurs
46backend         bdb
47checkpoint 512 30
48
49#######################################################################
50# Specific Backend Directives for 'other':
51# Backend specific directives apply to this backend until another
52# 'backend' directive occurs
53#backend                <other>
54
55#######################################################################
56# Specific Directives for database #1, of type bdb:
57# Database specific directives apply to this databasse until another
58# 'database' directive occurs
59database        bdb
60
61# The base of your directory in database #1
62suffix          "LDAP_DN"
63
64# rootdn directive for specifying a superuser on the database. This is needed
65# for syncrepl.
66rootdn          "cn=admin,LDAP_DN"
67rootpw          LDAP_PWD_MD5
68
69# Where the database file are physically stored for database #1
70directory       "/var/lib/ldap"
71
72# For the Debian package we use 2MB as default but be sure to update this
73# value if you have plenty of RAM
74dbconfig set_cachesize 0 12097152 0
75
76# Sven Hartge reported that he had to set this value incredibly high
77# to get slapd running at all. See http://bugs.debian.org/303057
78# for more information.
79
80# Number of objects that can be locked at the same time.
81dbconfig set_lk_max_objects 1500
82# Number of locks (both requested and granted)
83dbconfig set_lk_max_locks 1500
84# Number of lockers
85dbconfig set_lk_max_lockers 1500
86
87# Indexing options for database #1
88index   mailAlternateAddress,objectClass,memberUid,uidNumber,deliveryMode,accountStatus,phpgwAccountType,gidNumber,phpgwAccountStatus,ou pres,eq
89index   mail,uid,cn,sn,givenName pres,eq,sub
90
91# Save the time that the entry gets modified, for database #1
92lastmod         on
93
94# Where to store the replica logs for database #1
95# replogfile    /var/lib/ldap/replog
96
97# The userPassword by default can be changed
98# by the entry owning it if they are authenticated.
99# Others should not be able to see it, except the
100# admin entry below
101# These access lines apply to database #1 only
102access to attrs=userPassword,shadowLastChange
103        by dn="cn=admin,LDAP_DN" write
104        by anonymous auth
105        by self write
106        by * none
107
108# Ensure read access to the base for things like
109# supportedSASLMechanisms.  Without this you may
110# have problems with SASL not knowing what
111# mechanisms are available and the like.
112# Note that this is covered by the 'access to *'
113# ACL below too but if you change that as people
114# are wont to do you'll still need this if you
115# want SASL (and possible other things) to work
116# happily.
117access to dn.base="" by * read
118
119# The admin dn has full write access, everyone else
120# can read everything.
121access to *
122        by dn="cn=admin,LDAP_DN" write
123        by * read
124
125# For Netscape Roaming support, each user gets a roaming
126# profile for which they have write access to
127#access to dn=".*,ou=Roaming,o=morsnet"
128#        by dn="cn=admin,LDAP_DN" write
129#        by dnattr=owner write
130
131#######################################################################
132# Specific Directives for database #2, of type 'other' (can be bdb too):
133# Database specific directives apply to this databasse until another
134# 'database' directive occurs
135#database        <other>
136
137# The base of your directory for database #2
138#suffix         "dc=debian,dc=org"
Note: See TracBrowser for help on using the repository browser.