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

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

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

Line 
1# Allow LDAPv2 binds
2allow bind_v2
3
4# This is the main slapd configuration file. See slapd.conf(5) for more
5# info on the configuration options.
6
7#######################################################################
8# Global Directives:
9sizelimit -1
10timelimit -1
11threads 16
12
13# Schema and objectClass definitions
14include         /etc/ldap/schema/core.schema
15include         /etc/ldap/schema/cosine.schema
16include         /etc/ldap/schema/nis.schema
17include         /etc/ldap/schema/inetorgperson.schema
18
19include         /etc/ldap/schema/qmailuser.schema
20include         /etc/ldap/schema/phpgwaccount.schema
21include         /etc/ldap/schema/samba.schema
22include         /etc/ldap/schema/phpgwcontact.schema
23include         /etc/ldap/schema/phpgwquotacontrolled.schema
24
25# Schema check allows for forcing entries to
26# match schemas for their objectClasses's
27schemacheck     on
28
29# Where the pid file is put. The init.d script
30# will not stop the server if you change this.
31pidfile         /var/run/slapd/slapd.pid
32
33# List of arguments that were passed to the server
34argsfile        /var/run/slapd.args
35
36# Read slapd.conf(5) for possible values
37loglevel        0
38
39# Where the dynamically loaded modules are stored
40modulepath      /usr/lib/ldap
41moduleload      back_bdb
42
43#######################################################################
44# Specific Backend Directives for bdb:
45# Backend specific directives apply to this backend until another
46# 'backend' directive occurs
47backend         bdb
48checkpoint 512 30
49
50#######################################################################
51# Specific Backend Directives for 'other':
52# Backend specific directives apply to this backend until another
53# 'backend' directive occurs
54#backend                <other>
55
56#######################################################################
57# Specific Directives for database #1, of type bdb:
58# Database specific directives apply to this databasse until another
59# 'database' directive occurs
60database        bdb
61
62# The base of your directory in database #1
63suffix          "LDAP_DN"
64rootdn          "cn=admin,LDAP_DN"
65rootpw          LDAP_PWD_MD5
66
67# Where the database file are physically stored for database #1
68directory       "/var/lib/ldap"
69
70# Indexing options for database #1
71index   mail,mailAlternateAddress,objectClass,memberUid,uidNumber,deliveryMode,accountStatus,phpgwAccountType,gidNumber,phpgwAccountStatus,ou pres,eq
72index   uid,cn,sn,givenName pres,eq,sub
73
74# Save the time that the entry gets modified, for database #1
75lastmod         on
76
77# Where to store the replica logs for database #1
78# replogfile    /var/lib/ldap/replog
79
80# The userPassword by default can be changed
81# by the entry owning it if they are authenticated.
82# Others should not be able to see it, except the
83# admin entry below
84# These access lines apply to database #1 only
85access to attrs=userPassword
86        by dn="cn=admin,LDAP_DN" write
87        by anonymous auth
88        by self write
89        by * none
90
91# Ensure read access to the base for things like
92# supportedSASLMechanisms.  Without this you may
93# have problems with SASL not knowing what
94# mechanisms are available and the like.
95# Note that this is covered by the 'access to *'
96# ACL below too but if you change that as people
97# are wont to do you'll still need this if you
98# want SASL (and possible other things) to work
99# happily.
100access to dn.base="" by * read
101
102# The admin dn has full write access, everyone else
103# can read everything.
104access to *
105        by dn="cn=admin,LDAP_DN" write
106        by * read
107
108# For Netscape Roaming support, each user gets a roaming
109# profile for which they have write access to
110#access to dn=".*,ou=Roaming,o=morsnet"
111#        by dn="cn=admin,dc=pr,dc=gov,dc=br" write
112#        by dnattr=owner write
113
114#######################################################################
115# Specific Directives for database #2, of type 'other' (can be bdb too):
116# Database specific directives apply to this databasse until another
117# 'database' directive occurs
118#database        <other>
119
120# The base of your directory for database #2
121#suffix         "dc=debian,dc=org"
Note: See TracBrowser for help on using the repository browser.