1 # This is the main slapd configuration file. See slapd.conf(5) for more
2 # info on the configuration options.
4 #######################################################################
10 # Schema and objectClass definitions
11 include /etc/ldap/schema/core.schema
12 include /etc/ldap/schema/cosine.schema
13 include /etc/ldap/schema/nis.schema
14 include /etc/ldap/schema/inetorgperson.schema
17 # ajoute les objets specifiques a l'ent
18 #version modifiee pour ne pas etre contreignante
19 include /etc/ldap/schema/ent-no_must.schema
22 # Where the pid file is put. The init.d script
23 # will not stop the server if you change this.
24 pidfile /var/run/slapd/slapd.pid
26 # List of arguments that were passed to the server
27 argsfile /var/run/slapd/slapd.args
29 # Read slapd.conf(5) for possible values
32 # Where the dynamically loaded modules are stored
33 modulepath /usr/lib/ldap
36 # The maximum number of entries that is returned for a search operation
39 # The tool-threads parameter sets the actual amount of cpu's that is used
43 #######################################################################
44 # Specific Backend Directives for bdb:
45 # Backend specific directives apply to this backend until another
46 # 'backend' directive occurs
49 #######################################################################
50 # Specific Backend Directives for 'other':
51 # Backend specific directives apply to this backend until another
52 # 'backend' directive occurs
55 #######################################################################
56 # Specific Directives for database #1, of type bdb:
57 # Database specific directives apply to this databasse until another
58 # 'database' directive occurs
61 # The base of your directory in database #1
62 suffix "dc=pentila,dc=com"
65 # rootdn directive for specifying a superuser on the database. This is needed
67 rootdn "cn=Manager,dc=pentila,dc=com"
69 # Where the database file are physically stored for database #1
70 directory "/var/lib/ldap"
72 # For the Debian package we use 2MB as default but be sure to update this
73 # value if you have plenty of RAM
74 dbconfig set_cachesize 0 2097152 0
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.
80 # Number of objects that can be locked at the same time.
81 dbconfig set_lk_max_objects 1500
82 # Number of locks (both requested and granted)
83 dbconfig set_lk_max_locks 1500
85 dbconfig set_lk_max_lockers 1500
87 # Indexing options for database #1
89 index ENTPersonLogin eq
91 # Save the time that the entry gets modified, for database #1
94 # Where to store the replica logs for database #1
95 # replogfile /var/lib/ldap/replog
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
101 # These access lines apply to database #1 only
102 access to attrs=userPassword,shadowLastChange
103 by dn="cn=Manager,dc=pentila,dc=com" write
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
117 access to dn.base="" by * read
119 # The admin dn has full write access, everyone else
120 # can read everything.
122 by dn="cn=Manager,dc=pentila,dc=com" write
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,dc=icor,dc=fr,dc=icor,dc=fr" write
129 # by dnattr=owner write
133 #######################################################################
134 # Specific Directives for database #2, of type 'other' (can be bdb too):
135 # Database specific directives apply to this databasse until another
136 # 'database' directive occurs
139 # The base of your directory for database #2
140 #suffix "dc=debian,dc=org"