#
# master slapd config -- for testing
#
-#include ./data/slapd.at.conf
-#include ./data/slapd.oc.conf
include ./schema/core.schema
include ./schema/cosine.schema
include ./schema/inetorgperson.schema
#
# DNS SRV slapd config -- for testing
#
-#include ./data/slapd.at.conf
-#include ./data/slapd.oc.conf
include ./schema/core.schema
schemacheck on
pidfile ./test-db/slapd.pid
#
# master slapd config -- for testing
#
-#include ./data/slapd.at.conf
-#include ./data/slapd.oc.conf
include ./schema/core.schema
include ./schema/cosine.schema
include ./schema/inetorgperson.schema
+++ /dev/null
-# $OpenLDAP$
-#
-# master slapd config -- for testing
-#
-include ../servers/slapd/schema/others_nis.at.conf
-include ../servers/slapd/schema/others_nis.oc.conf
-include ../servers/slapd/schema/nis.at.conf
-include ../servers/slapd/schema/nis.oc.conf
-include ../servers/slapd/schema/internet_mail.at.conf
-include ../servers/slapd/schema/internet_mail.oc.conf
-schemacheck on
-pidfile ./test-db/slapd.pid
-argsfile ./test-db/slapd.args
-
-#######################################################################
-# ldbm database definitions
-#######################################################################
-
-database ldbm
-cachesize 4
-suffix "o=SGI, c=US"
-directory ./test-db
-rootdn "cn=Manager, o=SGI, c=US"
-rootpw secret
-index objectClass eq
-index uid pres,eq,approx
-index gidNumber pres,eq,approx
-index uidNumber pres,eq,approx
-index cn pres,eq,approx
-index memberUid pres,eq,approx
-index macAddress pres,eq,approx
-index ipServiceProtocol pres,eq,approx
-index ipServicePort pres,eq,approx
-index oncRpcNumber pres,eq,approx
-index ipHostNumber pres,eq,approx
-index ipNetworkNumber pres,eq,approx
-index ipProtocolNumber pres,eq,approx
-index default none
-lastmod on
#
# master slapd config -- for testing
#
-#include ./data/slapd.at.conf
-#include ./data/slapd.oc.conf
include ./schema/core.schema
include ./schema/cosine.schema
include ./schema/inetorgperson.schema
#
# master slapd config -- for testing
#
-#include ./data/slapd.at.conf
-#include ./data/slapd.oc.conf
include ./schema/core.schema
include ./schema/cosine.schema
include ./schema/inetorgperson.schema
#
# slave slapd config -- for default referral testing
#
-#include ./data/slapd.at.conf
-#include ./data/slapd.oc.conf
include ./schema/core.schema
include ./schema/cosine.schema
include ./schema/inetorgperson.schema
#
# master slapd config -- for testing of replication
#
-#include ./data/slapd.at.conf
-#include ./data/slapd.oc.conf
include ./schema/core.schema
include ./schema/cosine.schema
include ./schema/inetorgperson.schema
#
# master slapd config -- for testing of replication
#
-#include ./data/slapd.at.conf
-#include ./data/slapd.oc.conf
include ./schema/core.schema
include ./schema/cosine.schema
include ./schema/inetorgperson.schema
# stand-alone slapd config -- for testing
# with indexing
#
-#include ./data/slapd.at.conf
-#include ./data/slapd.oc.conf
-#
include ./schema/core.schema
include ./schema/cosine.schema
#
# stand-alone slapd config -- for testing
# with indexing
#
-#include ./data/slapd.at.conf
-#include ./data/slapd.oc.conf
include ./schema/core.schema
include ./schema/cosine.schema
include ./schema/inetorgperson.schema
+++ /dev/null
-#! /bin/sh
-# $OpenLDAP$
-
-if [ $# -eq 0 ]; then
- SRCDIR="."
-else
- SRCDIR=$1; shift
-fi
-if [ $# -eq 1 ]; then
- BDB2=$1; shift
-fi
-
-. $SRCDIR/scripts/defines.sh $SRCDIR $BDB2
-
-# Sample NIS database in LDIF format
-NIS_LDIF=$SRCDIR/data/nis_sample.ldif
-
-# Sample configuration file for your LDAP server
-if test "$BACKEND" = "bdb2" ; then
- NIS_CONF=$DATADIR/slapd-bdb2-nis-master.conf
-else
- NIS_CONF=$DATADIR/slapd-nis-master.conf
-fi
-
-echo "Cleaning up in $DBDIR..."
-
-rm -f $DBDIR/[!C]*
-
-echo "Running slapadd to build slapd database..."
-$SLAPADD -f $NIS_CONF -l $NIS_LDIF
-RC=$?
-if [ $RC != 0 ]; then
- echo "slapadd failed!"
- exit $RC
-fi
-
-echo "Starting slapd on TCP/IP port $PORT..."
-$SLAPD -f $NIS_CONF -p $PORT -d $LVL $TIMING > $MASTERLOG 2>&1 &
-PID=$!
-
-echo ">>>>> LDAP server with NIS schema is up! PID=$PID"
-
-
-exit 0