2000-03-17 03:34:46 +08:00
|
|
|
# $OpenLDAP$
|
|
|
|
#
|
|
|
|
# See slapd.conf(5) for details on configuration options.
|
|
|
|
# This file should NOT be world readable.
|
|
|
|
#
|
2000-06-30 05:14:43 +08:00
|
|
|
include /usr/local/etc/openldap/schema/core.schema
|
|
|
|
include /usr/local/etc/openldap/schema/cosine.schema
|
|
|
|
include /usr/local/etc/openldap/schema/inetorgperson.schema
|
2000-03-17 03:34:46 +08:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2000-06-30 05:14:43 +08:00
|
|
|
pidfile /usr/local/var/slapd.pid
|
|
|
|
argsfile /usr/local/var/slapd.args
|
2000-03-17 03:34:46 +08:00
|
|
|
|
|
|
|
#######################################################################
|
2000-06-30 05:14:43 +08:00
|
|
|
# sql database definitions
|
2000-03-17 03:34:46 +08:00
|
|
|
#######################################################################
|
|
|
|
|
|
|
|
database sql
|
|
|
|
suffix "o=sql,c=RU"
|
|
|
|
rootdn "cn=root,o=sql,c=RU"
|
|
|
|
rootpw secret
|
|
|
|
dbname ldap_ora8
|
|
|
|
dbuser ldap
|
|
|
|
dbpasswd ldap
|
2000-05-27 00:03:32 +08:00
|
|
|
subtree_cond "UPPER(ldap_entries.dn) LIKE CONCAT('%',UPPER(?))"
|
2000-06-30 05:14:43 +08:00
|
|
|
insentry_query "INSERT INTO ldap_entries (id,dn,oc_map_id,parent,keyval) VALUES (ldap_entry_ids.nextval,?,?,?,?)"
|
2000-05-27 00:03:32 +08:00
|
|
|
upper_func UPPER
|