cubicweb/server/test/data/slapd.conf.in
author Julien Cristau <julien.cristau@logilab.fr>
Wed, 16 Mar 2016 11:56:32 +0100
changeset 11215 4e79acdc36a6
parent 11057 0b59724cb3f2
permissions -rw-r--r--
[schema] use json to serialize constraints Require yams 0.43: constraints are serialized to json, which means we need to recreate the actual checks in the database on upgrade. Temporary deps in tox.ini to pull respective changes in yams.
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
8430
5bee87a14bb1 fix ldap removal handling in ldapfeed (closes #2376625 and #2385133)
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 6983
diff changeset
    48
# for syncrepl. and ldapdelete easyness
5bee87a14bb1 fix ldap removal handling in ldapfeed (closes #2376625 and #2385133)
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 6983
diff changeset
    49
rootdn          "cn=admin,dc=cubicweb,dc=test"
5bee87a14bb1 fix ldap removal handling in ldapfeed (closes #2376625 and #2385133)
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 6983
diff changeset
    50
rootpw          "cw"
6983
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
8681
48731a0d3df8 [ldap test] move the slapd database directory to a tempdir (closes #2583993)
David Douard <david.douard@logilab.fr>
parents: 8430
diff changeset
    52
directory       "%(testdir)s"
6983
0459635ce666 [test] generate slapd.conf to be cwd independant
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    53