Remove NIS test and other cruft

This commit is contained in:
Kurt Zeilenga 2000-09-15 18:47:09 +00:00
parent 5930d0e64c
commit c5972bf898
12 changed files with 0 additions and 104 deletions

View file

@ -2,8 +2,6 @@
#
# 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

View file

@ -2,8 +2,6 @@
#
# 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

View file

@ -2,8 +2,6 @@
#
# 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

View file

@ -1,39 +0,0 @@
# $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

View file

@ -2,8 +2,6 @@
#
# 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

View file

@ -2,8 +2,6 @@
#
# 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

View file

@ -2,8 +2,6 @@
#
# 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

View file

@ -2,8 +2,6 @@
#
# 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

View file

@ -2,8 +2,6 @@
#
# 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

View file

@ -3,9 +3,6 @@
# 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
#

View file

@ -3,8 +3,6 @@
# 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

View file

@ -1,44 +0,0 @@
#! /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