Skip to content
Snippets Groups Projects
Commit a6960451 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

added back-sql test under conditions; needs a README...

parent d12fdece
No related branches found
No related tags found
No related merge requests found
# master slapd config -- for testing
# $OpenLDAP$
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
##
## Copyright 1998-2003 The OpenLDAP Foundation.
## All rights reserved.
##
## Redistribution and use in source and binary forms, with or without
## modification, are permitted only as authorized by the OpenLDAP
## Public License.
##
## A copy of this license is available in the file LICENSE in the
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
#ucdata-path ./ucdata
include ./schema/core.schema
include ./schema/cosine.schema
include ./schema/inetorgperson.schema
include ./schema/openldap.schema
include ./schema/nis.schema
pidfile ./testrun/slapd.1.pid
argsfile ./testrun/slapd.1.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
#sqlmod#modulepath ../servers/slapd/back-sql/
#sqlmod#moduleload back_sql.la
#monitormod#modulepath ../servers/slapd/back-monitor/
#monitormod#moduleload back_monitor.la
#
# normal installations should protect root dse,
# cn=monitor, cn=schema, and cn=config
#
access to attr=userpassword
by self =wx
by anonymous =x
access to *
by * read
#######################################################################
# sql database definitions
#######################################################################
database sql
suffix "o=Example,c=RU"
rootdn "cn=Manager,o=Example,c=RU"
rootpw secret
dbname example
dbuser manager
dbpasswd secret
#insentry_query "insert into ldap_entries (id,dn,oc_map_id,parent,keyval) values ((select max(id)+1 from ldap_entries),?,?,?,?)"
#
# rdbms specific directives
#
# PostgreSQL
#postgres#upper_func "upper"
#postgres#strcast_func "text"
#postgres#concat_pattern "?||?"
#
# MySQL
#mysql#concat_pattern "concat(?,?)"
has_ldapinfo_dn_ru no
#monitor#database monitor
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment