server/test/data/slapd.conf.in
author Damien Garaud <damien.garaud@logilab.fr>
Mon, 20 Feb 2012 11:45:16 +0100
branchstable
changeset 8248 9550555e4c26
parent 6983 0459635ce666
child 8430 5bee87a14bb1
permissions -rw-r--r--
Fix bug about missing Interval field (closes #1463996). Implement Field and Widget dedicated to the yams entity 'Interval': - TimeIntervalField - IntervalTimeWidget Allow to set an integer with a character as a period of time '20s', '48h' or '3d' for instance (turn into seconds).
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6983
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     1
# This is the main slapd configuration file. See slapd.conf(5) for more
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     2
# info on the configuration options.
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     3
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     4
#######################################################################
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     5
# Global Directives:
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     6
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     7
# Features to permit
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     8
#allow bind_v2
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     9
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    10
# Schema and objectClass definitions
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    11
include         /etc/ldap/schema/core.schema
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    12
include         /etc/ldap/schema/cosine.schema
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    13
include         /etc/ldap/schema/nis.schema
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    14
include         /etc/ldap/schema/inetorgperson.schema
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    15
include         /etc/ldap/schema/openldap.schema
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    16
include         /etc/ldap/schema/misc.schema
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    17
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    18
# Where the pid file is put. The init.d script
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    19
# will not stop the server if you change this.
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    20
pidfile         %(apphome)s/test-slapd.pid
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    21
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    22
# List of arguments that were passed to the server
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    23
argsfile        %(apphome)s/slapd.args
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    24
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    25
# Read slapd.conf(5) for possible values
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    26
loglevel        sync
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    27
# none
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    28
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    29
# Where the dynamically loaded modules are stored
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    30
modulepath	/usr/lib/ldap
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    31
moduleload	back_hdb
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    32
moduleload	back_bdb
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    33
moduleload      back_monitor
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    34
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    35
# The maximum number of entries that is returned for a search operation
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    36
sizelimit 500
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    37
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    38
# The tool-threads parameter sets the actual amount of cpu's that is used
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    39
# for indexing.
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    40
tool-threads 1
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    41
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    42
database        bdb
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    43
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    44
# The base of your directory in database #1
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    45
suffix          "dc=cubicweb,dc=test"
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    46
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    47
# rootdn directive for specifying a superuser on the database. This is needed
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    48
# for syncrepl.
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    49
#rootdn          "cn=admin,dc=cubicweb,dc=test"
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    50
#rootpw          "cubicwebrocks"
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    51
# Where the database file are physically stored for database #1
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    52
directory       "%(apphome)s/ldapdb"
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    53