Skip to content
Snippets Groups Projects
slapd.conf 914 B
Newer Older
# $OpenLDAP$
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include		/usr/local/etc/openldap/slapd.at.conf
include		/usr/local/etc/openldap/slapd.oc.conf

# Define global ACLs to disable default read access.

# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral	ldap://root.openldap.org

pidfile		/usr/local/var/slapd.pid
argsfile	/usr/local/var/slapd.args

#######################################################################
# ldbm database definitions
#######################################################################

database	sql
suffix		"o=sql,c=RU"
rootdn		"cn=root,o=sql,c=RU"
rootpw		secret
dbname		ldap_mysql
dbuser		root
dbpasswd	
subtree_cond	"ldap_entries.dn LIKE CONCAT('%',?)"
insentry_query	"INSERT INTO ldap_entries (dn,objclass,parent,keyval) VALUES (?,?,?,?)"