1999-09-10 10:15:03 +08:00
|
|
|
#! /bin/sh
|
1999-09-02 08:52:43 +08:00
|
|
|
# $OpenLDAP$
|
2003-11-29 04:00:23 +08:00
|
|
|
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
|
|
|
##
|
2008-01-08 08:19:56 +08:00
|
|
|
## Copyright 1998-2008 The OpenLDAP Foundation.
|
2003-11-29 04:00:23 +08:00
|
|
|
## All rights reserved.
|
|
|
|
##
|
|
|
|
## Redistribution and use in source and binary forms, with or without
|
|
|
|
## modification, are permitted only as authorized by the OpenLDAP
|
|
|
|
## Public License.
|
|
|
|
##
|
|
|
|
## A copy of this license is available in the file LICENSE in the
|
|
|
|
## top-level directory of the distribution or, alternatively, at
|
|
|
|
## <http://www.OpenLDAP.org/license.html>.
|
1999-02-08 19:42:14 +08:00
|
|
|
|
2006-05-11 07:51:05 +08:00
|
|
|
umask 077
|
|
|
|
|
2007-03-09 17:34:41 +08:00
|
|
|
TESTWD=`pwd`
|
|
|
|
|
2006-06-13 02:08:51 +08:00
|
|
|
# backends
|
2004-08-20 20:44:32 +08:00
|
|
|
MONITORDB=${AC_monitor-no}
|
2004-06-19 18:05:07 +08:00
|
|
|
BACKLDAP=${AC_ldap-ldapno}
|
2004-12-30 23:10:31 +08:00
|
|
|
BACKMETA=${AC_meta-metano}
|
2004-07-12 08:19:15 +08:00
|
|
|
BACKRELAY=${AC_relay-relayno}
|
2004-08-20 20:44:32 +08:00
|
|
|
BACKSQL=${AC_sql-sqlno}
|
2006-06-13 02:08:51 +08:00
|
|
|
RDBMS=${SLAPD_USE_SQL-rdbmsno}
|
|
|
|
RDBMSWRITE=${SLAPD_USE_SQLWRITE-no}
|
|
|
|
|
|
|
|
# overlays
|
2005-11-23 02:50:39 +08:00
|
|
|
ACCESSLOG=${AC_accesslog-accesslogno}
|
2006-01-07 01:46:52 +08:00
|
|
|
DDS=${AC_dds-ddsno}
|
2005-11-23 02:50:39 +08:00
|
|
|
DYNLIST=${AC_dynlist-dynlistno}
|
2007-09-14 01:58:10 +08:00
|
|
|
MEMBEROF=${AC_memberof-memberofno}
|
2003-12-06 19:46:26 +08:00
|
|
|
PROXYCACHE=${AC_pcache-pcacheno}
|
2004-03-16 18:16:21 +08:00
|
|
|
PPOLICY=${AC_ppolicy-ppolicyno}
|
2004-04-17 16:35:18 +08:00
|
|
|
REFINT=${AC_refint-refintno}
|
2005-06-20 06:43:00 +08:00
|
|
|
RETCODE=${AC_retcode-retcodeno}
|
2004-07-12 08:19:15 +08:00
|
|
|
RWM=${AC_rwm-rwmno}
|
2005-12-17 00:38:15 +08:00
|
|
|
SYNCPROV=${AC_syncprov-syncprovno}
|
2005-03-10 12:35:57 +08:00
|
|
|
TRANSLUCENT=${AC_translucent-translucentno}
|
2004-09-12 00:17:10 +08:00
|
|
|
UNIQUE=${AC_unique-uniqueno}
|
2005-12-17 00:38:15 +08:00
|
|
|
VALSORT=${AC_valsort-valsortno}
|
2006-06-13 02:08:51 +08:00
|
|
|
|
|
|
|
# misc
|
2004-06-19 18:05:07 +08:00
|
|
|
WITH_SASL=${AC_WITH_SASL-no}
|
2004-06-19 18:36:03 +08:00
|
|
|
USE_SASL=${SLAPD_USE_SASL-no}
|
2005-08-23 01:58:36 +08:00
|
|
|
ACI=${AC_ACI_ENABLED-acino}
|
2005-12-17 00:38:15 +08:00
|
|
|
THREADS=${AC_THREADS-threadsno}
|
2003-10-22 13:14:08 +08:00
|
|
|
|
2006-06-13 02:08:51 +08:00
|
|
|
# dirs
|
1999-04-08 10:18:54 +08:00
|
|
|
PROGDIR=./progs
|
2005-10-02 02:01:27 +08:00
|
|
|
DATADIR=${USER_DATADIR-./testdata}
|
2007-03-09 17:34:41 +08:00
|
|
|
TESTDIR=${USER_TESTDIR-$TESTWD/testrun}
|
2005-10-02 02:01:27 +08:00
|
|
|
SCHEMADIR=${USER_SCHEMADIR-./schema}
|
2007-10-19 12:17:28 +08:00
|
|
|
case "$SCHEMADIR" in
|
|
|
|
.*) ABS_SCHEMADIR="$TESTWD/$SCHEMADIR" ;;
|
|
|
|
*) ABS_SCHEMADIR="$SCHEMADIR" ;;
|
|
|
|
esac
|
2003-10-22 13:14:08 +08:00
|
|
|
|
|
|
|
DBDIR1A=$TESTDIR/db.1.a
|
|
|
|
DBDIR1B=$TESTDIR/db.1.b
|
|
|
|
DBDIR1C=$TESTDIR/db.1.c
|
|
|
|
DBDIR1=$DBDIR1A
|
2005-01-29 23:22:42 +08:00
|
|
|
DBDIR2A=$TESTDIR/db.2.a
|
|
|
|
DBDIR2B=$TESTDIR/db.2.b
|
|
|
|
DBDIR2C=$TESTDIR/db.2.c
|
|
|
|
DBDIR2=$DBDIR2A
|
2003-10-22 13:14:08 +08:00
|
|
|
DBDIR3=$TESTDIR/db.3.a
|
|
|
|
DBDIR4=$TESTDIR/db.4.a
|
|
|
|
DBDIR5=$TESTDIR/db.5.a
|
|
|
|
DBDIR6=$TESTDIR/db.6.a
|
2005-08-08 04:59:56 +08:00
|
|
|
SQLCONCURRENCYDIR=$DATADIR/sql-concurrency
|
2003-10-22 13:14:08 +08:00
|
|
|
|
2006-06-13 02:08:51 +08:00
|
|
|
CLIENTDIR=../clients/tools
|
|
|
|
#CLIENTDIR=/usr/local/bin
|
|
|
|
|
|
|
|
# conf
|
2000-10-02 06:46:52 +08:00
|
|
|
CONF=$DATADIR/slapd.conf
|
2003-10-24 11:35:20 +08:00
|
|
|
CONFTWO=$DATADIR/slapd2.conf
|
2000-10-02 06:46:52 +08:00
|
|
|
MCONF=$DATADIR/slapd-master.conf
|
2004-08-28 11:53:41 +08:00
|
|
|
COMPCONF=$DATADIR/slapd-component.conf
|
2000-10-02 06:46:52 +08:00
|
|
|
PWCONF=$DATADIR/slapd-pw.conf
|
2004-04-26 07:58:22 +08:00
|
|
|
WHOAMICONF=$DATADIR/slapd-whoami.conf
|
2000-10-02 06:46:52 +08:00
|
|
|
ACLCONF=$DATADIR/slapd-acl.conf
|
2002-10-22 03:11:27 +08:00
|
|
|
RCONF=$DATADIR/slapd-referrals.conf
|
2003-05-09 14:50:44 +08:00
|
|
|
SRMASTERCONF=$DATADIR/slapd-syncrepl-master.conf
|
2005-10-15 14:16:01 +08:00
|
|
|
DSRMASTERCONF=$DATADIR/slapd-deltasync-master.conf
|
|
|
|
DSRSLAVECONF=$DATADIR/slapd-deltasync-slave.conf
|
2004-03-16 18:16:21 +08:00
|
|
|
PPOLICYCONF=$DATADIR/slapd-ppolicy.conf
|
2003-06-21 08:21:57 +08:00
|
|
|
PROXYCACHECONF=$DATADIR/slapd-proxycache.conf
|
|
|
|
CACHEMASTERCONF=$DATADIR/slapd-cache-master.conf
|
2003-06-26 14:12:55 +08:00
|
|
|
R1SRSLAVECONF=$DATADIR/slapd-syncrepl-slave-refresh1.conf
|
|
|
|
R2SRSLAVECONF=$DATADIR/slapd-syncrepl-slave-refresh2.conf
|
|
|
|
P1SRSLAVECONF=$DATADIR/slapd-syncrepl-slave-persist1.conf
|
|
|
|
P2SRSLAVECONF=$DATADIR/slapd-syncrepl-slave-persist2.conf
|
|
|
|
P3SRSLAVECONF=$DATADIR/slapd-syncrepl-slave-persist3.conf
|
2000-10-02 06:46:52 +08:00
|
|
|
REFSLAVECONF=$DATADIR/slapd-ref-slave.conf
|
|
|
|
SCHEMACONF=$DATADIR/slapd-schema.conf
|
2002-01-11 17:26:01 +08:00
|
|
|
GLUECONF=$DATADIR/slapd-glue.conf
|
2004-04-17 16:35:18 +08:00
|
|
|
REFINTCONF=$DATADIR/slapd-refint.conf
|
2005-06-20 06:43:00 +08:00
|
|
|
RETCODECONF=$DATADIR/slapd-retcode.conf
|
2004-04-17 16:35:18 +08:00
|
|
|
UNIQUECONF=$DATADIR/slapd-unique.conf
|
2004-04-18 02:15:08 +08:00
|
|
|
LIMITSCONF=$DATADIR/slapd-limits.conf
|
2004-05-08 06:13:39 +08:00
|
|
|
DNCONF=$DATADIR/slapd-dn.conf
|
2004-05-09 05:34:20 +08:00
|
|
|
EMPTYDNCONF=$DATADIR/slapd-emptydn.conf
|
2004-06-19 18:05:07 +08:00
|
|
|
IDASSERTCONF=$DATADIR/slapd-idassert.conf
|
2004-06-21 07:01:25 +08:00
|
|
|
LDAPGLUECONF1=$DATADIR/slapd-ldapglue.conf
|
|
|
|
LDAPGLUECONF2=$DATADIR/slapd-ldapgluepeople.conf
|
|
|
|
LDAPGLUECONF3=$DATADIR/slapd-ldapgluegroups.conf
|
2005-04-16 10:27:27 +08:00
|
|
|
RELAYCONF=$DATADIR/slapd-relay.conf
|
2005-01-10 05:23:34 +08:00
|
|
|
CHAINCONF1=$DATADIR/slapd-chain1.conf
|
|
|
|
CHAINCONF2=$DATADIR/slapd-chain2.conf
|
2005-01-29 23:22:42 +08:00
|
|
|
GLUESYNCCONF1=$DATADIR/slapd-glue-syncrepl1.conf
|
|
|
|
GLUESYNCCONF2=$DATADIR/slapd-glue-syncrepl2.conf
|
2004-08-20 20:44:32 +08:00
|
|
|
SQLCONF=$DATADIR/slapd-sql.conf
|
2005-06-02 03:33:18 +08:00
|
|
|
SQLSRMASTERCONF=$DATADIR/slapd-sql-syncrepl-master.conf
|
2005-03-10 12:35:57 +08:00
|
|
|
TRANSLUCENTLOCALCONF=$DATADIR/slapd-translucent-local.conf
|
|
|
|
TRANSLUCENTREMOTECONF=$DATADIR/slapd-translucent-remote.conf
|
2005-04-16 10:27:27 +08:00
|
|
|
METACONF=$DATADIR/slapd-meta.conf
|
2007-09-29 19:45:37 +08:00
|
|
|
METACONF1=$DATADIR/slapd-meta-target1.conf
|
|
|
|
METACONF2=$DATADIR/slapd-meta-target2.conf
|
2005-07-04 07:29:10 +08:00
|
|
|
GLUELDAPCONF=$DATADIR/slapd-glue-ldap.conf
|
2005-08-23 01:58:36 +08:00
|
|
|
ACICONF=$DATADIR/slapd-aci.conf
|
2005-08-24 16:55:12 +08:00
|
|
|
VALSORTCONF=$DATADIR/slapd-valsort.conf
|
2005-11-23 02:50:39 +08:00
|
|
|
DYNLISTCONF=$DATADIR/slapd-dynlist.conf
|
2005-12-16 01:34:43 +08:00
|
|
|
RSLAVECONF=$DATADIR/slapd-repl-slave-remote.conf
|
2005-12-15 19:35:46 +08:00
|
|
|
PLSRSLAVECONF=$DATADIR/slapd-syncrepl-slave-persist-ldap.conf
|
2006-05-29 15:49:25 +08:00
|
|
|
PLSRMASTERCONF=$DATADIR/slapd-syncrepl-multiproxy.conf
|
2006-01-07 01:46:52 +08:00
|
|
|
DDSCONF=$DATADIR/slapd-dds.conf
|
2006-06-13 02:08:51 +08:00
|
|
|
PASSWDCONF=$DATADIR/slapd-passwd.conf
|
2007-02-08 01:09:20 +08:00
|
|
|
UNDOCONF=$DATADIR/slapd-config-undo.conf
|
2007-09-13 05:13:49 +08:00
|
|
|
NAKEDCONF=$DATADIR/slapd-config-naked.conf
|
1999-01-10 10:25:41 +08:00
|
|
|
|
2007-01-22 21:42:34 +08:00
|
|
|
DYNAMICCONF=$DATADIR/slapd-dynamic.ldif
|
|
|
|
|
2006-06-13 02:08:51 +08:00
|
|
|
# generated files
|
2003-10-22 13:14:08 +08:00
|
|
|
CONF1=$TESTDIR/slapd.1.conf
|
|
|
|
CONF2=$TESTDIR/slapd.2.conf
|
|
|
|
CONF3=$TESTDIR/slapd.3.conf
|
|
|
|
CONF4=$TESTDIR/slapd.4.conf
|
|
|
|
CONF5=$TESTDIR/slapd.5.conf
|
|
|
|
CONF6=$TESTDIR/slapd.6.conf
|
|
|
|
ADDCONF=$TESTDIR/slapadd.conf
|
2007-03-09 17:34:41 +08:00
|
|
|
CONFLDIF=$TESTDIR/slapd-dynamic.ldif
|
1999-02-08 19:42:14 +08:00
|
|
|
|
2006-06-13 02:08:51 +08:00
|
|
|
LOG1=$TESTDIR/slapd.1.log
|
|
|
|
LOG2=$TESTDIR/slapd.2.log
|
|
|
|
LOG3=$TESTDIR/slapd.3.log
|
|
|
|
LOG4=$TESTDIR/slapd.4.log
|
|
|
|
LOG5=$TESTDIR/slapd.5.log
|
|
|
|
LOG6=$TESTDIR/slapd.6.log
|
|
|
|
SLAPADDLOG1=$TESTDIR/slapadd.1.log
|
|
|
|
SLURPLOG=$TESTDIR/slurp.log
|
1999-06-29 07:46:16 +08:00
|
|
|
|
2007-03-09 17:34:41 +08:00
|
|
|
CONFIGPWF=$TESTDIR/configpw
|
1999-04-29 14:50:00 +08:00
|
|
|
|
2006-06-13 02:08:51 +08:00
|
|
|
# args
|
|
|
|
TOOLARGS="-x $LDAP_TOOLARGS"
|
|
|
|
TOOLPROTO="-P 3"
|
1999-05-21 08:14:38 +08:00
|
|
|
|
2006-06-13 02:08:51 +08:00
|
|
|
# cmds
|
2000-10-02 06:46:52 +08:00
|
|
|
LDIFFILTER=$SRCDIR/scripts/acfilter.sh
|
|
|
|
CONFFILTER=$SRCDIR/scripts/conf.sh
|
|
|
|
|
2007-03-09 17:34:41 +08:00
|
|
|
SLAPADD="$TESTWD/../servers/slapd/slapd -Ta -d 0 $LDAP_VERBOSE"
|
|
|
|
SLAPCAT="$TESTWD/../servers/slapd/slapd -Tc -d 0 $LDAP_VERBOSE"
|
|
|
|
SLAPINDEX="$TESTWD/../servers/slapd/slapd -Ti -d 0 $LDAP_VERBOSE"
|
|
|
|
SLAPPASSWD="$TESTWD/../servers/slapd/slapd -Tpasswd"
|
2006-05-11 11:10:45 +08:00
|
|
|
|
2002-01-16 01:26:44 +08:00
|
|
|
unset DIFF_OPTIONS
|
2005-08-26 04:05:51 +08:00
|
|
|
# NOTE: -u/-c is not that portable...
|
|
|
|
DIFF="diff -i"
|
2002-01-31 05:35:52 +08:00
|
|
|
CMP="diff -i"
|
2003-02-06 05:20:04 +08:00
|
|
|
BCMP="diff -iB"
|
2000-07-20 10:23:00 +08:00
|
|
|
CMPOUT=/dev/null
|
2007-03-09 17:34:41 +08:00
|
|
|
SLAPD="$TESTWD/../servers/slapd/slapd -s0"
|
2000-07-16 08:14:08 +08:00
|
|
|
LDAPPASSWD="$CLIENTDIR/ldappasswd $TOOLARGS"
|
2004-06-19 23:46:38 +08:00
|
|
|
LDAPSASLSEARCH="$CLIENTDIR/ldapsearch $TOOLPROTO $LDAP_TOOLARGS -LLL"
|
2000-07-16 08:14:08 +08:00
|
|
|
LDAPSEARCH="$CLIENTDIR/ldapsearch $TOOLPROTO $TOOLARGS -LLL"
|
2002-10-22 03:11:27 +08:00
|
|
|
LDAPRSEARCH="$CLIENTDIR/ldapsearch $TOOLPROTO $TOOLARGS"
|
2004-11-13 20:23:01 +08:00
|
|
|
LDAPDELETE="$CLIENTDIR/ldapdelete $TOOLPROTO $TOOLARGS"
|
2000-07-16 08:14:08 +08:00
|
|
|
LDAPMODIFY="$CLIENTDIR/ldapmodify $TOOLPROTO $TOOLARGS"
|
2003-02-10 07:38:21 +08:00
|
|
|
LDAPADD="$CLIENTDIR/ldapmodify -a $TOOLPROTO $TOOLARGS"
|
2000-07-16 08:14:08 +08:00
|
|
|
LDAPMODRDN="$CLIENTDIR/ldapmodrdn $TOOLPROTO $TOOLARGS"
|
2002-03-11 08:23:18 +08:00
|
|
|
LDAPWHOAMI="$CLIENTDIR/ldapwhoami $TOOLARGS"
|
2004-07-20 08:28:15 +08:00
|
|
|
LDAPCOMPARE="$CLIENTDIR/ldapcompare $TOOLARGS"
|
2006-01-07 01:46:52 +08:00
|
|
|
LDAPEXOP="$CLIENTDIR/ldapexop $TOOLARGS"
|
1999-02-22 19:28:01 +08:00
|
|
|
SLAPDTESTER=$PROGDIR/slapd-tester
|
2002-11-12 03:39:10 +08:00
|
|
|
LVL=${SLAPD_DEBUG-261}
|
2002-01-21 14:35:04 +08:00
|
|
|
LOCALHOST=localhost
|
2004-07-26 21:45:28 +08:00
|
|
|
BASEPORT=${SLAPD_BASEPORT-9010}
|
|
|
|
PORT1=`expr $BASEPORT + 1`
|
|
|
|
PORT2=`expr $BASEPORT + 2`
|
|
|
|
PORT3=`expr $BASEPORT + 3`
|
|
|
|
PORT4=`expr $BASEPORT + 4`
|
|
|
|
PORT5=`expr $BASEPORT + 5`
|
|
|
|
PORT6=`expr $BASEPORT + 6`
|
2003-10-22 13:14:08 +08:00
|
|
|
URI1="ldap://${LOCALHOST}:$PORT1/"
|
2004-07-26 07:16:40 +08:00
|
|
|
URI2="ldap://${LOCALHOST}:$PORT2/"
|
2003-10-22 13:14:08 +08:00
|
|
|
URI3="ldap://${LOCALHOST}:$PORT3/"
|
|
|
|
URI4="ldap://${LOCALHOST}:$PORT4/"
|
|
|
|
URI5="ldap://${LOCALHOST}:$PORT5/"
|
|
|
|
URI6="ldap://${LOCALHOST}:$PORT6/"
|
2006-06-13 02:08:51 +08:00
|
|
|
|
|
|
|
# LDIF
|
1999-01-10 10:25:41 +08:00
|
|
|
LDIF=$DATADIR/test.ldif
|
2002-01-11 17:26:01 +08:00
|
|
|
LDIFGLUED=$DATADIR/test-glued.ldif
|
1999-01-10 10:25:41 +08:00
|
|
|
LDIFORDERED=$DATADIR/test-ordered.ldif
|
2003-05-31 05:43:03 +08:00
|
|
|
LDIFORDEREDCP=$DATADIR/test-ordered-cp.ldif
|
|
|
|
LDIFORDEREDNOCP=$DATADIR/test-ordered-nocp.ldif
|
2001-11-02 23:39:43 +08:00
|
|
|
LDIFBASE=$DATADIR/test-base.ldif
|
1999-12-13 02:45:06 +08:00
|
|
|
LDIFPASSWD=$DATADIR/passwd.ldif
|
2004-04-26 07:58:22 +08:00
|
|
|
LDIFWHOAMI=$DATADIR/test-whoami.ldif
|
1999-12-13 02:45:06 +08:00
|
|
|
LDIFPASSWDOUT=$DATADIR/passwd-out.ldif
|
2004-03-16 18:16:21 +08:00
|
|
|
LDIFPPOLICY=$DATADIR/ppolicy.ldif
|
2002-01-27 07:14:51 +08:00
|
|
|
LDIFLANG=$DATADIR/test-lang.ldif
|
|
|
|
LDIFLANGOUT=$DATADIR/lang-out.ldif
|
2002-10-22 03:11:27 +08:00
|
|
|
LDIFREF=$DATADIR/referrals.ldif
|
2004-04-17 16:35:18 +08:00
|
|
|
LDIFREFINT=$DATADIR/test-refint.ldif
|
|
|
|
LDIFUNIQUE=$DATADIR/test-unique.ldif
|
2004-04-18 02:15:08 +08:00
|
|
|
LDIFLIMITS=$DATADIR/test-limits.ldif
|
2004-05-08 06:13:39 +08:00
|
|
|
LDIFDN=$DATADIR/test-dn.ldif
|
2004-05-09 06:06:31 +08:00
|
|
|
LDIFEMPTYDN1=$DATADIR/test-emptydn1.ldif
|
|
|
|
LDIFEMPTYDN2=$DATADIR/test-emptydn2.ldif
|
2004-06-19 18:05:07 +08:00
|
|
|
LDIFIDASSERT1=$DATADIR/test-idassert1.ldif
|
|
|
|
LDIFIDASSERT2=$DATADIR/test-idassert2.ldif
|
2004-06-21 07:01:25 +08:00
|
|
|
LDIFLDAPGLUE1=$DATADIR/test-ldapglue.ldif
|
|
|
|
LDIFLDAPGLUE2=$DATADIR/test-ldapgluepeople.ldif
|
|
|
|
LDIFLDAPGLUE3=$DATADIR/test-ldapgluegroups.ldif
|
2004-08-26 08:06:39 +08:00
|
|
|
LDIFCOMPMATCH=$DATADIR/test-compmatch.ldif
|
2005-01-10 05:23:34 +08:00
|
|
|
LDIFCHAIN1=$DATADIR/test-chain1.ldif
|
|
|
|
LDIFCHAIN2=$DATADIR/test-chain2.ldif
|
2005-03-10 12:35:57 +08:00
|
|
|
LDIFTRANSLUCENTDATA=$DATADIR/test-translucent-data.ldif
|
|
|
|
LDIFTRANSLUCENTCONFIG=$DATADIR/test-translucent-config.ldif
|
|
|
|
LDIFTRANSLUCENTADD=$DATADIR/test-translucent-add.ldif
|
|
|
|
LDIFTRANSLUCENTMERGED=$DATADIR/test-translucent-merged.ldif
|
2005-04-16 10:27:27 +08:00
|
|
|
LDIFMETA=$DATADIR/test-meta.ldif
|
2005-08-24 16:55:12 +08:00
|
|
|
LDIFVALSORT=$DATADIR/test-valsort.ldif
|
2004-11-13 20:23:01 +08:00
|
|
|
SQLADD=$DATADIR/sql-add.ldif
|
2006-06-13 02:08:51 +08:00
|
|
|
|
|
|
|
# strings
|
2000-05-26 10:48:24 +08:00
|
|
|
MONITOR=""
|
2002-10-22 03:11:27 +08:00
|
|
|
REFDN="c=US"
|
2004-04-22 06:14:01 +08:00
|
|
|
BASEDN="dc=example,dc=com"
|
2007-09-15 18:17:55 +08:00
|
|
|
MANAGERDN="cn=Manager,$BASEDN"
|
|
|
|
UPDATEDN="cn=Replica,$BASEDN"
|
1998-08-09 08:43:13 +08:00
|
|
|
PASSWD=secret
|
2007-09-29 19:45:37 +08:00
|
|
|
BABSDN="cn=Barbara Jensen,ou=Information Technology DivisioN,ou=People,$BASEDN"
|
|
|
|
BJORNSDN="cn=Bjorn Jensen,ou=Information Technology DivisioN,ou=People,$BASEDN"
|
2007-09-15 18:17:55 +08:00
|
|
|
JAJDN="cn=James A Jones 1,ou=Alumni Association,ou=People,$BASEDN"
|
|
|
|
JOHNDDN="cn=John Doe,ou=Information Technology Division,ou=People,$BASEDN"
|
|
|
|
MELLIOTDN="cn=Mark Elliot,ou=Alumni Association,ou=People,$BASEDN"
|
2004-04-17 16:35:18 +08:00
|
|
|
REFINTDN="cn=Manager,o=refint"
|
2005-06-20 06:43:00 +08:00
|
|
|
RETCODEDN="ou=RetCodes,$BASEDN"
|
2004-04-17 16:35:18 +08:00
|
|
|
UNIQUEDN="cn=Manager,o=unique"
|
2004-05-09 05:34:20 +08:00
|
|
|
EMPTYDNDN="cn=Manager,c=US"
|
2005-03-10 12:35:57 +08:00
|
|
|
TRANSLUCENTROOT="o=translucent"
|
|
|
|
TRANSLUCENTUSER="ou=users,o=translucent"
|
|
|
|
TRANSLUCENTDN="uid=binder,o=translucent"
|
|
|
|
TRANSLUCENTPASSWD="bindtest"
|
2007-09-15 18:17:55 +08:00
|
|
|
METABASEDN="ou=Meta,$BASEDN"
|
2005-04-16 10:27:27 +08:00
|
|
|
METAMANAGERDN="cn=Manager,$METABASEDN"
|
2005-08-24 16:55:12 +08:00
|
|
|
VALSORTDN="cn=Manager,o=valsort"
|
|
|
|
VALSORTBASEDN="o=valsort"
|
2003-10-22 13:14:08 +08:00
|
|
|
|
2006-06-13 02:08:51 +08:00
|
|
|
# generated outputs
|
2003-10-22 13:14:08 +08:00
|
|
|
SEARCHOUT=$TESTDIR/ldapsearch.out
|
2005-06-02 03:33:18 +08:00
|
|
|
SEARCHOUT2=$TESTDIR/ldapsearch2.out
|
2003-10-22 13:14:08 +08:00
|
|
|
SEARCHFLT=$TESTDIR/ldapsearch.flt
|
2005-06-02 03:33:18 +08:00
|
|
|
SEARCHFLT2=$TESTDIR/ldapsearch2.flt
|
2003-10-22 13:14:08 +08:00
|
|
|
LDIFFLT=$TESTDIR/ldif.flt
|
|
|
|
TESTOUT=$TESTDIR/test.out
|
|
|
|
INITOUT=$TESTDIR/init.out
|
2005-08-24 16:55:12 +08:00
|
|
|
VALSORTOUT1=$DATADIR/valsort1.out
|
|
|
|
VALSORTOUT2=$DATADIR/valsort2.out
|
|
|
|
VALSORTOUT3=$DATADIR/valsort3.out
|
2003-10-22 13:14:08 +08:00
|
|
|
|
|
|
|
SERVER1OUT=$TESTDIR/server1.out
|
2003-10-23 05:36:10 +08:00
|
|
|
SERVER1FLT=$TESTDIR/server1.flt
|
2003-10-22 13:14:08 +08:00
|
|
|
SERVER2OUT=$TESTDIR/server2.out
|
|
|
|
SERVER2FLT=$TESTDIR/server2.flt
|
|
|
|
SERVER3OUT=$TESTDIR/server3.out
|
|
|
|
SERVER3FLT=$TESTDIR/server3.flt
|
|
|
|
SERVER4OUT=$TESTDIR/server4.out
|
|
|
|
SERVER4FLT=$TESTDIR/server4.flt
|
|
|
|
SERVER5OUT=$TESTDIR/server5.out
|
|
|
|
SERVER5FLT=$TESTDIR/server5.flt
|
|
|
|
SERVER6OUT=$TESTDIR/server6.out
|
|
|
|
SERVER6FLT=$TESTDIR/server6.flt
|
|
|
|
|
|
|
|
MASTEROUT=$SERVER1OUT
|
|
|
|
MASTERFLT=$SERVER1FLT
|
|
|
|
SLAVEOUT=$SERVER2OUT
|
2007-11-20 02:20:31 +08:00
|
|
|
SLAVE2OUT=$SERVER3OUT
|
2003-10-22 13:14:08 +08:00
|
|
|
SLAVEFLT=$SERVER2FLT
|
2007-11-20 02:20:31 +08:00
|
|
|
SLAVE2FLT=$SERVER3FLT
|
2003-10-22 13:14:08 +08:00
|
|
|
|
2006-06-13 02:08:51 +08:00
|
|
|
# original outputs for cmp
|
2004-05-28 11:23:38 +08:00
|
|
|
PROXYCACHEOUT=$DATADIR/proxycache.out
|
2002-10-22 03:11:27 +08:00
|
|
|
REFERRALOUT=$DATADIR/referrals.out
|
1999-01-10 10:25:41 +08:00
|
|
|
SEARCHOUTMASTER=$DATADIR/search.out.master
|
2002-08-30 05:36:36 +08:00
|
|
|
SEARCHOUTX=$DATADIR/search.out.xsearch
|
2004-08-26 08:06:39 +08:00
|
|
|
COMPSEARCHOUT=$DATADIR/compsearch.out
|
1999-01-10 10:25:41 +08:00
|
|
|
MODIFYOUTMASTER=$DATADIR/modify.out.master
|
|
|
|
ADDDELOUTMASTER=$DATADIR/adddel.out.master
|
1999-05-27 08:31:30 +08:00
|
|
|
MODRDNOUTMASTER0=$DATADIR/modrdn.out.master.0
|
|
|
|
MODRDNOUTMASTER1=$DATADIR/modrdn.out.master.1
|
|
|
|
MODRDNOUTMASTER2=$DATADIR/modrdn.out.master.2
|
|
|
|
MODRDNOUTMASTER3=$DATADIR/modrdn.out.master.3
|
1999-01-10 10:25:41 +08:00
|
|
|
ACLOUTMASTER=$DATADIR/acl.out.master
|
|
|
|
REPLOUTMASTER=$DATADIR/repl.out.master
|
|
|
|
MODSRCHFILTERS=$DATADIR/modify.search.filters
|
2003-10-18 10:39:08 +08:00
|
|
|
CERTIFICATETLS=$DATADIR/certificate.tls
|
2003-10-17 10:15:50 +08:00
|
|
|
CERTIFICATEOUT=$DATADIR/certificate.out
|
2004-05-08 06:13:39 +08:00
|
|
|
DNOUT=$DATADIR/dn.out
|
2004-05-09 06:06:31 +08:00
|
|
|
EMPTYDNOUT1=$DATADIR/emptydn.out.slapadd
|
|
|
|
EMPTYDNOUT2=$DATADIR/emptydn.out
|
2004-06-19 23:46:38 +08:00
|
|
|
IDASSERTOUT=$DATADIR/idassert.out
|
2004-06-21 07:01:25 +08:00
|
|
|
LDAPGLUEOUT=$DATADIR/ldapglue.out
|
|
|
|
LDAPGLUEANONYMOUSOUT=$DATADIR/ldapglueanonymous.out
|
2004-07-20 08:28:15 +08:00
|
|
|
RELAYOUT=$DATADIR/relay.out
|
2005-01-10 05:23:34 +08:00
|
|
|
CHAINOUT=$DATADIR/chain.out
|
2005-01-24 17:38:11 +08:00
|
|
|
CHAINREFOUT=$DATADIR/chainref.out
|
2005-01-13 05:03:52 +08:00
|
|
|
CHAINMODOUT=$DATADIR/chainmod.out
|
2005-01-29 23:22:42 +08:00
|
|
|
GLUESYNCOUT=$DATADIR/gluesync.out
|
2004-08-24 17:26:39 +08:00
|
|
|
SQLREAD=$DATADIR/sql-read.out
|
|
|
|
SQLWRITE=$DATADIR/sql-write.out
|
2005-03-10 12:35:57 +08:00
|
|
|
TRANSLUCENTOUT=$DATADIR/translucent.search.out
|
2005-04-16 10:27:27 +08:00
|
|
|
METAOUT=$DATADIR/meta.out
|
2005-04-21 02:57:36 +08:00
|
|
|
METACONCURRENCYOUT=$DATADIR/metaconcurrency.out
|
2005-05-14 09:26:06 +08:00
|
|
|
MANAGEOUT=$DATADIR/manage.out
|
2005-08-18 18:28:36 +08:00
|
|
|
SUBTREERENAMEOUT=$DATADIR/subtree-rename.out
|
2005-08-23 01:58:36 +08:00
|
|
|
ACIOUT=$DATADIR/aci.out
|
2005-11-23 02:50:39 +08:00
|
|
|
DYNLISTOUT=$DATADIR/dynlist.out
|
2006-01-07 01:46:52 +08:00
|
|
|
DDSOUT=$DATADIR/dds.out
|
2007-09-13 05:13:49 +08:00
|
|
|
MEMBEROFOUT=$DATADIR/memberof.out
|
2007-03-09 17:34:41 +08:00
|
|
|
SHTOOL="$SRCDIR/../build/shtool"
|
2003-10-21 11:08:08 +08:00
|
|
|
|
1999-09-29 08:56:43 +08:00
|
|
|
# Just in case we linked the binaries dynamically
|
2007-03-09 17:34:41 +08:00
|
|
|
LD_LIBRARY_PATH=$TESTWD/../libraries:${LD_LIBRARY_PATH} export LD_LIBRARY_PATH
|