I've finally configured openldap-2.4.11, back_sql, and oracle.  I've
imported the test database implemented by database scripts online which
creates the tables ( persons, documents, etc ).  Now my problem is how
do I view all of the LDAP entries?  I'm a newbie at this, so any help
would be appreciated.

include         /usr/local/etc/openldap/schema/core.schema
include         /usr/local/etc/openldap/schema/cosine.schema
include         /usr/local/etc/openldap/schema/inetorgperson.schema

# Define global ACLs to disable default read access.
#include /usr/local/etc/openldap/slapd.access.conf

# 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
defaultsearchbase       dc=example,dc=com

#make sure you have (or the apropriate monitor module)
moduleload      back_sql

access to * by * read

#######################################################################
# sql database definitions
#######################################################################

database        sql

suffix          "dc=example,dc=com"

dbname          OracleODBC-10g
dbuser          XXX
dbpasswd        XXX
subtree_cond    "UPPER(ldap_entries.dn) LIKE CONCAT('%',UPPER(?))"
insentry_stmt   "INSERT INTO ldap_entries
(id,dn,oc_map_id,parent,keyval) VALUES (ldap_entry_ids.nextval,?,?,?,?)"
upper_func      UPPER


Thanks,


Leon King
Development Team Lead OASIS/ICIS WEB
Service Assurance
Outside: 919-378-6626
v-net: 965-6626


Reply via email to