server/test/data/slapd.conf.in
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Tue, 25 Jun 2013 10:59:01 +0200
changeset 9070 4a803380f718
parent 8681 48731a0d3df8
permissions -rw-r--r--
PARTIAL: Using the repoapi in test Test now use the repoapi.ClientConnection to access the repo. This is very big change. The current method to access the repo are kept for backward compatibility. The new methods will be introduced much later. The TestCase keep a ClientConnection To an admin session for the whole test. This changeset does not makes all tests pass without the next one that change set htt without the next one that change the http stack

# This is the main slapd configuration file. See slapd.conf(5) for more
# info on the configuration options.

#######################################################################
# Global Directives:

# Features to permit
#allow bind_v2

# Schema and objectClass definitions
include         /etc/ldap/schema/core.schema
include         /etc/ldap/schema/cosine.schema
include         /etc/ldap/schema/nis.schema
include         /etc/ldap/schema/inetorgperson.schema
include         /etc/ldap/schema/openldap.schema
include         /etc/ldap/schema/misc.schema

# Where the pid file is put. The init.d script
# will not stop the server if you change this.
pidfile         %(apphome)s/test-slapd.pid

# List of arguments that were passed to the server
argsfile        %(apphome)s/slapd.args

# Read slapd.conf(5) for possible values
loglevel        sync
# none

# Where the dynamically loaded modules are stored
modulepath	/usr/lib/ldap
moduleload	back_hdb
moduleload	back_bdb
moduleload      back_monitor

# The maximum number of entries that is returned for a search operation
sizelimit 500

# The tool-threads parameter sets the actual amount of cpu's that is used
# for indexing.
tool-threads 1

database        bdb

# The base of your directory in database #1
suffix          "dc=cubicweb,dc=test"

# rootdn directive for specifying a superuser on the database. This is needed
# for syncrepl. and ldapdelete easyness
rootdn          "cn=admin,dc=cubicweb,dc=test"
rootpw          "cw"
# Where the database file are physically stored for database #1
directory       "%(testdir)s"