source: trunk/INSTALL/debian/squeeze/etc/ldap/slapd.conf @ 5797

Revision 5797, 3.9 KB checked in by wmerlotto, 12 years ago (diff)

Ticket #2557 - Primeira versao do novo instalador do Expresso

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