1 # $OpenLDAP: pkg/ldap/servers/slapd/back-sql/rdbms_depend/pgsql/slapd.conf,v 1.5 2005/01/05 15:23:01 ando Exp $
3 # See slapd.conf(5) for details on configuration options.
4 # This file should NOT be world readable.
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
10 # Define global ACLs to disable default read access.
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
16 pidfile /usr/local/var/slapd.pid
17 argsfile /usr/local/var/slapd.args
19 #######################################################################
20 # sql database definitions
21 #######################################################################
25 rootdn "cn=root,o=sql,c=RU"
30 insentry_stmt "insert into ldap_entries (id,dn,oc_map_id,parent,keyval) values ((select max(id)+1 from ldap_entries),?,?,?,?)"