| 1 | # $OpenLDAP$ |
| 2 | # |
| 3 | # See slapd.conf(5) for details on configuration options. |
| 4 | # This file should NOT be world readable. |
| 5 | # |
| 6 | include /usr/local/etc/openldap/schema/core.schema |
| 7 | include /usr/local/etc/openldap/schema/cosine.schema |
| 8 | include /usr/local/etc/openldap/schema/inetorgperson.schema |
| 9 | |
| 10 | # Define global ACLs to disable default read access. |
| 11 | |
| 12 | # Do not enable referrals until AFTER you have a working directory |
| 13 | # service AND an understanding of referrals. |
| 14 | #referral ldap://root.openldap.org |
| 15 | |
| 16 | pidfile /usr/local/var/slapd.pid |
| 17 | argsfile /usr/local/var/slapd.args |
| 18 | |
| 19 | ####################################################################### |
| 20 | # sql database definitions |
| 21 | ####################################################################### |
| 22 | |
| 23 | database sql |
| 24 | suffix "o=sql,c=RU" |
| 25 | rootdn "cn=root,o=sql,c=RU" |
| 26 | rootpw secret |
| 27 | dbname ldap_mysql |
| 28 | dbuser root |
| 29 | dbpasswd |
| 30 | subtree_cond "ldap_entries.dn LIKE CONCAT('%',?)" |
| 31 | insentry_stmt "INSERT INTO ldap_entries (dn,oc_map_id,parent,keyval) VALUES (?,?,?,?)" |
| 32 | has_ldapinfo_dn_ru no |