| 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 PostgreSQL |
| 28 | dbuser postgres |
| 29 | dbpasswd postgres |
| 30 | insentry_stmt "insert into ldap_entries (id,dn,oc_map_id,parent,keyval) values ((select max(id)+1 from ldap_entries),?,?,?,?)" |
| 31 | upper_func "upper" |
| 32 | strcast_func "text" |
| 33 | concat_pattern "?||?" |
| 34 | has_ldapinfo_dn_ru no |
| 35 |