root@tspatca2103> cat /opt/openldap/yaju/etc/openldap/slapd.conf
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include         /opt/openldap/yaju/etc/openldap/schema/core.schema

# 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

pidfile         /opt/openldap/yaju/var/run/slapd.pid
argsfile        /opt/openldap/yaju/var/run/slapd.args

# Load dynamic backend modules:
# modulepath    /opt/openldap/yaju/libexec/openldap
# moduleload    back_bdb.la
# moduleload    back_hdb.la
# moduleload    back_ldap.la

# Sample security restrictions
#       Require integrity protection (prevent hijacking)
#       Require 112-bit (3DES or better) encryption for updates
#       Require 63-bit encryption for simple bind
# security ssf=1 update_ssf=112 simple_bind=64

# Sample access control policy:
#       Root DSE: allow anyone to read it
#       Subschema (sub)entry DSE: allow anyone to read it
#       Other DSEs:
#               Allow self write access
#               Allow authenticated users read access
#               Allow anonymous users to authenticate
#       Directives needed to implement policy:
# access to dn.base="" by * read
# access to dn.base="cn=Subschema" by * read
# access to *
#       by self write
#       by users read
#       by anonymous auth
#
# if no access controls are present, the default policy
# allows anyone and everyone to read anything but restricts
# updates to rootdn.  (e.g., "access to * by * read")
#
# rootdn can always read and write EVERYTHING!

#######################################################################
# MDB database definitions
#######################################################################

backend          mdb
database        mdb
#suffix         "dc=example,dc=com"
#rootdn         "cn=Manager,dc=example,dc=com"
# Cleartext passwords, especially for the rootdn, should
# be avoid.  See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory       /opt/openldap/yaju/var/openldap-data
# Indices to maintain
#index  objectClass     eq
#index   msisdn          eq
#index   entryCSN        eq
#index   entryUUID       eq
#index   uid             eq
#index   cn              eq
#index   sn              eq
index uid pres,eq
index cn,sn pres,eq,approx,sub
index objectClass eq


#maxreaders default is 126
maxreaders       64
maxsize          16106127360
#maxsize          10737418240
#maxsize           2147483648


#concurrency Specify a desired level of concurrency. Provided to the underlying thread system as a hint.  The default is not to provide any hint.
#concurrency 8

#listener-threads Specify the number of threads to use for the connection manager.  The default is 1 and this is typically adequate for up to 16 CPU cores.
#The value should be set to a power of 2.
listener-threads     1

#Specify a file for recording debug log messages. By default these messages only go to stderr  and  are  not  recorded  anywhere else. Specifying a logfile
#copies messages to both stderr and the logfile.
logfile    /tmp/yaju_onnboardspr.txt

loglevel stats

#Specify the maximum number of entries to return from a search operation.  The default size limit  is  500.
sizelimit   10000

#Specify the maximum number of seconds (in real time) slapd will spend answering a search request.
timelimit 3600

#Specify the maximum size of the primary thread pool.  The default is 16; the minimum value is 2.
threads    16

#Specify the DN suffix of queries that will be passed to this backend database.  Multiple suffix lines can be given and at least
#one is required for each database definition.
#suffix          "dc=C-NTDB"
suffix "dc=example,dc=com"

#Specify  the  distinguished  name  that is not subject to access control or administrative limit restrictions for operations on
# this database.
#rootdn          "dc=C-NTDB"
rootdn         "cn=Manager,dc=example,dc=com"

rootpw          secret
