defines.sh 15 KB
Newer Older
1
#! /bin/sh
Kurt Zeilenga's avatar
Kurt Zeilenga committed
2
# $OpenLDAP$
Kurt Zeilenga's avatar
notices    
Kurt Zeilenga committed
3
4
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
##
Quanah Gibson-Mount's avatar
Quanah Gibson-Mount committed
5
## Copyright 1998-2021 The OpenLDAP Foundation.
Kurt Zeilenga's avatar
notices    
Kurt Zeilenga committed
6
7
8
9
10
11
12
13
14
## 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>.
15

16
17
umask 077

18
19
TESTWD=`pwd`

Pierangelo Masarati's avatar
cleanup    
Pierangelo Masarati committed
20
# backends
Pierangelo Masarati's avatar
Pierangelo Masarati committed
21
BACKLDAP=${AC_ldap-ldapno}
22
BACKMETA=${AC_meta-metano}
23
BACKASYNCMETA=${AC_asyncmeta-asyncmetano}
Ryan Tandy's avatar
Ryan Tandy committed
24
BACKPERL=${AC_perl-perlno}
25
BACKRELAY=${AC_relay-relayno}
26
BACKSQL=${AC_sql-sqlno}
Pierangelo Masarati's avatar
cleanup    
Pierangelo Masarati committed
27
28
29
30
	RDBMS=${SLAPD_USE_SQL-rdbmsno}
	RDBMSWRITE=${SLAPD_USE_SQLWRITE-no}

# overlays
Pierangelo Masarati's avatar
Pierangelo Masarati committed
31
ACCESSLOG=${AC_accesslog-accesslogno}
32
ARGON2=${AC_argon2-argon2no}
Howard Chu's avatar
Howard Chu committed
33
AUTOCA=${AC_autoca-autocano}
Howard Chu's avatar
Howard Chu committed
34
CONSTRAINT=${AC_constraint-constraintno}
35
DDS=${AC_dds-ddsno}
36
DEREF=${AC_deref-derefno}
Pierangelo Masarati's avatar
Pierangelo Masarati committed
37
DYNLIST=${AC_dynlist-dynlistno}
Ondřej Kuzník's avatar
Ondřej Kuzník committed
38
HOMEDIR=${AC_homedir-homedirno}
39
MEMBEROF=${AC_memberof-memberofno}
Ondřej Kuzník's avatar
Ondřej Kuzník committed
40
OTP=${AC_otp-otpno}
Howard Chu's avatar
Howard Chu committed
41
PROXYCACHE=${AC_pcache-pcacheno}
42
PPOLICY=${AC_ppolicy-ppolicyno}
43
REFINT=${AC_refint-refintno}
44
REMOTEAUTH=${AC_remoteauth-remoteauthno}
45
RETCODE=${AC_retcode-retcodeno}
46
RWM=${AC_rwm-rwmno}
47
SYNCPROV=${AC_syncprov-syncprovno}
Howard Chu's avatar
Howard Chu committed
48
TRANSLUCENT=${AC_translucent-translucentno}
Pierangelo Masarati's avatar
cleanup    
Pierangelo Masarati committed
49
UNIQUE=${AC_unique-uniqueno}
50
VALSORT=${AC_valsort-valsortno}
Pierangelo Masarati's avatar
cleanup    
Pierangelo Masarati committed
51
52

# misc
Pierangelo Masarati's avatar
Pierangelo Masarati committed
53
WITH_SASL=${AC_WITH_SASL-no}
54
USE_SASL=${SLAPD_USE_SASL-no}
55
56
57
WITH_TLS=${AC_WITH_TLS-no}
WITH_TLS_TYPE=${AC_TLS_TYPE-no}

Pierangelo Masarati's avatar
Pierangelo Masarati committed
58
ACI=${AC_ACI_ENABLED-acino}
59
SLEEP0=${SLEEP0-1}
60
SLEEP1=${SLEEP1-7}
61
SLEEP2=${SLEEP2-15}
62
TIMEOUT=${TIMEOUT-8}
63

Pierangelo Masarati's avatar
cleanup    
Pierangelo Masarati committed
64
# dirs
Kurt Zeilenga's avatar
Kurt Zeilenga committed
65
PROGDIR=./progs
66
DATADIR=${USER_DATADIR-./testdata}
67
TESTDIR=${USER_TESTDIR-$TESTWD/testrun}
68
SCHEMADIR=${USER_SCHEMADIR-./schema}
69
70
71
72
case "$SCHEMADIR" in
.*)	ABS_SCHEMADIR="$TESTWD/$SCHEMADIR" ;;
*)  ABS_SCHEMADIR="$SCHEMADIR" ;;
esac
73
74
75
76
case "$SRCDIR" in
.*)	ABS_SRCDIR="$TESTWD/$SRCDIR" ;;
*)  ABS_SRCDIR="$SRCDIR" ;;
esac
77
export TESTDIR
78
79
80
81

DBDIR1A=$TESTDIR/db.1.a
DBDIR1B=$TESTDIR/db.1.b
DBDIR1C=$TESTDIR/db.1.c
82
DBDIR1D=$TESTDIR/db.1.d
83
DBDIR1=$DBDIR1A
84
85
86
87
DBDIR2A=$TESTDIR/db.2.a
DBDIR2B=$TESTDIR/db.2.b
DBDIR2C=$TESTDIR/db.2.c
DBDIR2=$DBDIR2A
88
89
90
91
DBDIR3=$TESTDIR/db.3.a
DBDIR4=$TESTDIR/db.4.a
DBDIR5=$TESTDIR/db.5.a
DBDIR6=$TESTDIR/db.6.a
92
SQLCONCURRENCYDIR=$DATADIR/sql-concurrency
93

Pierangelo Masarati's avatar
cleanup    
Pierangelo Masarati committed
94
95
96
97
CLIENTDIR=../clients/tools
#CLIENTDIR=/usr/local/bin

# conf
98
CONF=$DATADIR/slapd.conf
99
CONFTWO=$DATADIR/slapd2.conf
100
CONF2DB=$DATADIR/slapd-2db.conf
101
MCONF=$DATADIR/slapd-provider.conf
102
COMPCONF=$DATADIR/slapd-component.conf
103
PWCONF=$DATADIR/slapd-pw.conf
104
WHOAMICONF=$DATADIR/slapd-whoami.conf
105
ACLCONF=$DATADIR/slapd-acl.conf
106
RCONF=$DATADIR/slapd-referrals.conf
107
108
109
SRPROVIDERCONF=$DATADIR/slapd-syncrepl-provider.conf
DSRPROVIDERCONF=$DATADIR/slapd-deltasync-provider.conf
DSRCONSUMERCONF=$DATADIR/slapd-deltasync-consumer.conf
110
PPOLICYCONF=$DATADIR/slapd-ppolicy.conf
111
PROXYCACHECONF=$DATADIR/slapd-proxycache.conf
112
PROXYAUTHZCONF=$DATADIR/slapd-proxyauthz.conf
113
114
115
116
117
118
119
CACHEPROVIDERCONF=$DATADIR/slapd-cache-provider.conf
PROXYAUTHZPROVIDERCONF=$DATADIR/slapd-cache-provider-proxyauthz.conf
R1SRCONSUMERCONF=$DATADIR/slapd-syncrepl-consumer-refresh1.conf
R2SRCONSUMERCONF=$DATADIR/slapd-syncrepl-consumer-refresh2.conf
P1SRCONSUMERCONF=$DATADIR/slapd-syncrepl-consumer-persist1.conf
P2SRCONSUMERCONF=$DATADIR/slapd-syncrepl-consumer-persist2.conf
P3SRCONSUMERCONF=$DATADIR/slapd-syncrepl-consumer-persist3.conf
Howard Chu's avatar
Howard Chu committed
120
DIRSYNC1CONF=$DATADIR/slapd-dirsync1.conf
121
122
123
DSEESYNC1CONF=$DATADIR/slapd-dsee-consumer1.conf
DSEESYNC2CONF=$DATADIR/slapd-dsee-consumer2.conf
REFCONSUMERCONF=$DATADIR/slapd-ref-consumer.conf
124
SCHEMACONF=$DATADIR/slapd-schema.conf
125
126
TLSCONF=$DATADIR/slapd-tls.conf
TLSSASLCONF=$DATADIR/slapd-tls-sasl.conf
127
GLUECONF=$DATADIR/slapd-glue.conf
128
REFINTCONF=$DATADIR/slapd-refint.conf
129
RETCODECONF=$DATADIR/slapd-retcode.conf
130
UNIQUECONF=$DATADIR/slapd-unique.conf
131
LIMITSCONF=$DATADIR/slapd-limits.conf
Pierangelo Masarati's avatar
Pierangelo Masarati committed
132
DNCONF=$DATADIR/slapd-dn.conf
133
EMPTYDNCONF=$DATADIR/slapd-emptydn.conf
Pierangelo Masarati's avatar
Pierangelo Masarati committed
134
IDASSERTCONF=$DATADIR/slapd-idassert.conf
135
136
137
LDAPGLUECONF1=$DATADIR/slapd-ldapglue.conf
LDAPGLUECONF2=$DATADIR/slapd-ldapgluepeople.conf
LDAPGLUECONF3=$DATADIR/slapd-ldapgluegroups.conf
138
RELAYCONF=$DATADIR/slapd-relay.conf
139
140
CHAINCONF1=$DATADIR/slapd-chain1.conf
CHAINCONF2=$DATADIR/slapd-chain2.conf
141
142
GLUESYNCCONF1=$DATADIR/slapd-glue-syncrepl1.conf
GLUESYNCCONF2=$DATADIR/slapd-glue-syncrepl2.conf
143
SQLCONF=$DATADIR/slapd-sql.conf
144
SQLSRPROVIDERCONF=$DATADIR/slapd-sql-syncrepl-provider.conf
Howard Chu's avatar
Howard Chu committed
145
146
TRANSLUCENTLOCALCONF=$DATADIR/slapd-translucent-local.conf
TRANSLUCENTREMOTECONF=$DATADIR/slapd-translucent-remote.conf
147
METACONF=$DATADIR/slapd-meta.conf
Pierangelo Masarati's avatar
Pierangelo Masarati committed
148
149
METACONF1=$DATADIR/slapd-meta-target1.conf
METACONF2=$DATADIR/slapd-meta-target2.conf
150
ASYNCMETACONF=$DATADIR/slapd-asyncmeta.conf
151
GLUELDAPCONF=$DATADIR/slapd-glue-ldap.conf
Pierangelo Masarati's avatar
Pierangelo Masarati committed
152
ACICONF=$DATADIR/slapd-aci.conf
153
VALSORTCONF=$DATADIR/slapd-valsort.conf
154
DEREFCONF=$DATADIR/slapd-deref.conf
Pierangelo Masarati's avatar
Pierangelo Masarati committed
155
DYNLISTCONF=$DATADIR/slapd-dynlist.conf
Ondřej Kuzník's avatar
Ondřej Kuzník committed
156
HOMEDIRCONF=$DATADIR/slapd-homedir.conf
157
158
159
RCONSUMERCONF=$DATADIR/slapd-repl-consumer-remote.conf
PLSRCONSUMERCONF=$DATADIR/slapd-syncrepl-consumer-persist-ldap.conf
PLSRPROVIDERCONF=$DATADIR/slapd-syncrepl-multiproxy.conf
160
DDSCONF=$DATADIR/slapd-dds.conf
Pierangelo Masarati's avatar
cleanup    
Pierangelo Masarati committed
161
PASSWDCONF=$DATADIR/slapd-passwd.conf
Howard Chu's avatar
Howard Chu committed
162
UNDOCONF=$DATADIR/slapd-config-undo.conf
Pierangelo Masarati's avatar
Pierangelo Masarati committed
163
NAKEDCONF=$DATADIR/slapd-config-naked.conf
164
VALREGEXCONF=$DATADIR/slapd-valregex.conf
165

166
167
DYNAMICCONF=$DATADIR/slapd-dynamic.ldif

168
SLAPDLLOADCONF=$DATADIR/slapd-lload.conf
Ondřej Kuzník's avatar
Ondřej Kuzník committed
169
LLOADDCONF=$DATADIR/lloadd.conf
Ondřej Kuzník's avatar
Ondřej Kuzník committed
170
LLOADDEMPTYCONF=$DATADIR/lloadd-empty.conf
Ondřej Kuzník's avatar
Ondřej Kuzník committed
171
LLOADDANONCONF=$DATADIR/lloadd-anon.conf
Ondřej Kuzník's avatar
Ondřej Kuzník committed
172
LLOADDUNREACHABLECONF=$DATADIR/lloadd-backend-issues.conf
Ondřej Kuzník's avatar
Ondřej Kuzník committed
173
LLOADDTLSCONF=$DATADIR/lloadd-tls.conf
Ondřej Kuzník's avatar
Ondřej Kuzník committed
174
LLOADDSASLCONF=$DATADIR/lloadd-sasl.conf
Ondřej Kuzník's avatar
Ondřej Kuzník committed
175

Pierangelo Masarati's avatar
cleanup    
Pierangelo Masarati committed
176
# generated files
177
178
179
180
181
182
183
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
184
CONFLDIF=$TESTDIR/slapd-dynamic.ldif
185

Pierangelo Masarati's avatar
cleanup    
Pierangelo Masarati committed
186
187
188
189
190
191
192
193
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
194

195
CONFIGPWF=$TESTDIR/configpw
196

197
LIBTOOL="${LIBTOOL-$TESTWD/../libtool}"
198
199
200
201
202
203
204
205
206
207
208
209
210
211
# wrappers (valgrind, gdb, environment variables, etc.)
if [ -n "$WRAPPER" ]; then
	: # skip
elif [ "$SLAPD_COMMON_WRAPPER" = gdb ]; then
	WRAPPER="$ABS_SRCDIR/scripts/grandchild_wrapper.py gdb -nx -x $ABS_SRCDIR/scripts/gdb.py -batch-silent -return-child-result --args"
elif [ "$SLAPD_COMMON_WRAPPER" = valgrind ]; then
	WRAPPER="valgrind --log-file=$TESTDIR/valgrind.%p.log --fullpath-after=`dirname $ABS_SRCDIR` --keep-debuginfo=yes --leak-check=full"
elif [ "$SLAPD_COMMON_WRAPPER" = "valgrind-errstop" ]; then
	WRAPPER="valgrind --log-file=$TESTDIR/valgrind.%p.log --vgdb=yes --vgdb-error=1"
elif [ "$SLAPD_COMMON_WRAPPER" = vgdb ]; then
	WRAPPER="valgrind --log-file=$TESTDIR/valgrind.%p.log --vgdb=yes --vgdb-error=0"
fi

if [ -n "$WRAPPER" ]; then
212
	SLAPD_WRAPPER="$LIBTOOL --mode=execute env $WRAPPER"
213
214
fi

Pierangelo Masarati's avatar
cleanup    
Pierangelo Masarati committed
215
# args
216
SASLARGS="-Q"
Pierangelo Masarati's avatar
cleanup    
Pierangelo Masarati committed
217
218
TOOLARGS="-x $LDAP_TOOLARGS"
TOOLPROTO="-P 3"
219

Pierangelo Masarati's avatar
cleanup    
Pierangelo Masarati committed
220
# cmds
221
CONFFILTER=$SRCDIR/scripts/conf.sh
Howard Chu's avatar
Howard Chu committed
222
CONFDIRSYNC=$SRCDIR/scripts/confdirsync.sh
223

224
225
MONITORDATA=$SRCDIR/scripts/monitor_data.sh

226
227
228
229
230
SLAPADD="$SLAPD_WRAPPER $TESTWD/../servers/slapd/slapd -Ta -d 0 $LDAP_VERBOSE"
SLAPCAT="$SLAPD_WRAPPER $TESTWD/../servers/slapd/slapd -Tc -d 0 $LDAP_VERBOSE"
SLAPINDEX="$SLAPD_WRAPPER $TESTWD/../servers/slapd/slapd -Ti -d 0 $LDAP_VERBOSE"
SLAPMODIFY="$SLAPD_WRAPPER $TESTWD/../servers/slapd/slapd -Tm -d 0 $LDAP_VERBOSE"
SLAPPASSWD="$SLAPD_WRAPPER $TESTWD/../servers/slapd/slapd -Tpasswd"
231

232
unset DIFF_OPTIONS
233
234
# NOTE: -u/-c is not that portable...
DIFF="diff -i"
Kurt Zeilenga's avatar
Kurt Zeilenga committed
235
CMP="diff -i"
236
BCMP="diff -iB"
237
CMPOUT=/dev/null
238
239
SLAPD="$SLAPD_WRAPPER $TESTWD/../servers/slapd/slapd -s0"
LLOADD="$SLAPD_WRAPPER $TESTWD/../servers/lloadd/lloadd -s0"
Kurt Zeilenga's avatar
Kurt Zeilenga committed
240
LDAPPASSWD="$CLIENTDIR/ldappasswd $TOOLARGS"
241
242
LDAPSASLSEARCH="$CLIENTDIR/ldapsearch $SASLARGS $TOOLPROTO $LDAP_TOOLARGS -LLL"
LDAPSASLWHOAMI="$CLIENTDIR/ldapwhoami $SASLARGS $LDAP_TOOLARGS"
Kurt Zeilenga's avatar
Kurt Zeilenga committed
243
LDAPSEARCH="$CLIENTDIR/ldapsearch $TOOLPROTO $TOOLARGS -LLL"
244
LDAPRSEARCH="$CLIENTDIR/ldapsearch $TOOLPROTO $TOOLARGS"
245
LDAPDELETE="$CLIENTDIR/ldapdelete $TOOLPROTO $TOOLARGS"
Kurt Zeilenga's avatar
Kurt Zeilenga committed
246
LDAPMODIFY="$CLIENTDIR/ldapmodify $TOOLPROTO $TOOLARGS"
247
LDAPADD="$CLIENTDIR/ldapmodify -a $TOOLPROTO $TOOLARGS"
Kurt Zeilenga's avatar
Kurt Zeilenga committed
248
LDAPMODRDN="$CLIENTDIR/ldapmodrdn $TOOLPROTO $TOOLARGS"
Kurt Zeilenga's avatar
Kurt Zeilenga committed
249
LDAPWHOAMI="$CLIENTDIR/ldapwhoami $TOOLARGS"
250
LDAPCOMPARE="$CLIENTDIR/ldapcompare $TOOLARGS"
251
LDAPEXOP="$CLIENTDIR/ldapexop $TOOLARGS"
252
SLAPDTESTER=$PROGDIR/slapd-tester
253
LDIFFILTER=$PROGDIR/ldif-filter
254
SLAPDMTREAD=$PROGDIR/slapd-mtread
255
LVL=${SLAPD_DEBUG-0x4105}
256
LOCALHOST=localhost
257
LOCALIP=127.0.0.1
258
259
260
261
262
263
264
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`
Isaac Boukris's avatar
Isaac Boukris committed
265
KDCPORT=`expr $BASEPORT + 7`
266
URI1="ldap://${LOCALHOST}:$PORT1/"
267
URIP1="ldap://${LOCALIP}:$PORT1/"
268
URI2="ldap://${LOCALHOST}:$PORT2/"
269
URIP2="ldap://${LOCALIP}:$PORT2/"
270
URI3="ldap://${LOCALHOST}:$PORT3/"
271
URIP3="ldap://${LOCALIP}:$PORT3/"
272
URI4="ldap://${LOCALHOST}:$PORT4/"
273
URIP4="ldap://${LOCALIP}:$PORT4/"
274
URI5="ldap://${LOCALHOST}:$PORT5/"
275
URIP5="ldap://${LOCALIP}:$PORT5/"
276
URI6="ldap://${LOCALHOST}:$PORT6/"
277
URIP6="ldap://${LOCALIP}:$PORT6/"
278
279
280
281
282
SURI1="ldaps://${LOCALHOST}:$PORT1/"
SURIP1="ldaps://${LOCALIP}:$PORT1/"
SURI2="ldaps://${LOCALHOST}:$PORT2/"
SURIP2="ldaps://${LOCALIP}:$PORT2/"
SURI3="ldaps://${LOCALHOST}:$PORT3/"
283
SURIP3="ldaps://${LOCALIP}:$PORT3/"
284
SURI4="ldaps://${LOCALHOST}:$PORT4/"
285
SURIP4="ldaps://${LOCALIP}:$PORT4/"
286
SURI5="ldaps://${LOCALHOST}:$PORT5/"
287
SURIP5="ldaps://${LOCALIP}:$PORT5/"
288
SURI6="ldaps://${LOCALHOST}:$PORT6/"
289
SURIP6="ldaps://${LOCALIP}:$PORT6/"
Pierangelo Masarati's avatar
cleanup    
Pierangelo Masarati committed
290

Isaac Boukris's avatar
Isaac Boukris committed
291
292
293
KRB5REALM="K5.REALM"
KDCHOST=$LOCALHOST

Pierangelo Masarati's avatar
cleanup    
Pierangelo Masarati committed
294
# LDIF
295
LDIF=$DATADIR/test.ldif
Howard Chu's avatar
Howard Chu committed
296
LDIFADD1=$DATADIR/do_add.1
297
LDIFGLUED=$DATADIR/test-glued.ldif
298
LDIFORDERED=$DATADIR/test-ordered.ldif
299
300
LDIFORDEREDCP=$DATADIR/test-ordered-cp.ldif
LDIFORDEREDNOCP=$DATADIR/test-ordered-nocp.ldif
Pierangelo Masarati's avatar
Pierangelo Masarati committed
301
LDIFBASE=$DATADIR/test-base.ldif
302
LDIFPASSWD=$DATADIR/passwd.ldif
303
LDIFWHOAMI=$DATADIR/test-whoami.ldif
304
LDIFPASSWDOUT=$DATADIR/passwd-out.ldif
305
LDIFPPOLICY=$DATADIR/ppolicy.ldif
306
307
LDIFLANG=$DATADIR/test-lang.ldif
LDIFLANGOUT=$DATADIR/lang-out.ldif
308
LDIFREF=$DATADIR/referrals.ldif
309
310
LDIFREFINT=$DATADIR/test-refint.ldif
LDIFUNIQUE=$DATADIR/test-unique.ldif
311
LDIFLIMITS=$DATADIR/test-limits.ldif
Pierangelo Masarati's avatar
Pierangelo Masarati committed
312
LDIFDN=$DATADIR/test-dn.ldif
Pierangelo Masarati's avatar
Pierangelo Masarati committed
313
314
LDIFEMPTYDN1=$DATADIR/test-emptydn1.ldif
LDIFEMPTYDN2=$DATADIR/test-emptydn2.ldif
Pierangelo Masarati's avatar
Pierangelo Masarati committed
315
316
LDIFIDASSERT1=$DATADIR/test-idassert1.ldif
LDIFIDASSERT2=$DATADIR/test-idassert2.ldif
317
318
319
LDIFLDAPGLUE1=$DATADIR/test-ldapglue.ldif
LDIFLDAPGLUE2=$DATADIR/test-ldapgluepeople.ldif
LDIFLDAPGLUE3=$DATADIR/test-ldapgluegroups.ldif
320
LDIFCOMPMATCH=$DATADIR/test-compmatch.ldif
321
322
LDIFCHAIN1=$DATADIR/test-chain1.ldif
LDIFCHAIN2=$DATADIR/test-chain2.ldif
Howard Chu's avatar
Howard Chu committed
323
324
325
326
LDIFTRANSLUCENTDATA=$DATADIR/test-translucent-data.ldif
LDIFTRANSLUCENTCONFIG=$DATADIR/test-translucent-config.ldif
LDIFTRANSLUCENTADD=$DATADIR/test-translucent-add.ldif
LDIFTRANSLUCENTMERGED=$DATADIR/test-translucent-merged.ldif
327
LDIFMETA=$DATADIR/test-meta.ldif
328
LDIFDEREF=$DATADIR/test-deref.ldif
329
LDIFVALSORT=$DATADIR/test-valsort.ldif
330
SQLADD=$DATADIR/sql-add.ldif
Howard Chu's avatar
Howard Chu committed
331
332
LDIFUNORDERED=$DATADIR/test-unordered.ldif
LDIFREORDERED=$DATADIR/test-reordered.ldif
333
LDIFMODIFY=$DATADIR/test-modify.ldif
Howard Chu's avatar
Howard Chu committed
334
335
LDIFDIRSYNCCP=$DATADIR/test-dirsync-cp.ldif
LDIFDIRSYNCNOCP=$DATADIR/test-dirsync-nocp.ldif
Pierangelo Masarati's avatar
cleanup    
Pierangelo Masarati committed
336
337

# strings
338
MONITOR=""
339
REFDN="c=US"
340
BASEDN="dc=example,dc=com"
341
MANAGERDN="cn=Manager,$BASEDN"
342
UPDATEDN="cn=consumer,$BASEDN"
Kurt Zeilenga's avatar
Kurt Zeilenga committed
343
PASSWD=secret
Pierangelo Masarati's avatar
Pierangelo Masarati committed
344
345
BABSDN="cn=Barbara Jensen,ou=Information Technology DivisioN,ou=People,$BASEDN"
BJORNSDN="cn=Bjorn Jensen,ou=Information Technology DivisioN,ou=People,$BASEDN"
346
BADBJORNSDN="cn=Bjorn JensenNotReally,ou=Information Technology DivisioN,ou=People,$BASEDN"
347
348
349
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"
350
REFINTDN="cn=Manager,o=refint"
351
RETCODEDN="ou=RetCodes,$BASEDN"
352
UNIQUEDN="cn=Manager,o=unique"
353
EMPTYDNDN="cn=Manager,c=US"
Howard Chu's avatar
Howard Chu committed
354
355
356
357
TRANSLUCENTROOT="o=translucent"
TRANSLUCENTUSER="ou=users,o=translucent"
TRANSLUCENTDN="uid=binder,o=translucent"
TRANSLUCENTPASSWD="bindtest"
358
METABASEDN="ou=Meta,$BASEDN"
359
METAMANAGERDN="cn=Manager,$METABASEDN"
360
361
DEREFDN="cn=Manager,o=deref"
DEREFBASEDN="o=deref"
362
363
VALSORTDN="cn=Manager,o=valsort"
VALSORTBASEDN="o=valsort"
Howard Chu's avatar
Howard Chu committed
364
365
366
367
368
MONITORDN="cn=Monitor"
OPERATIONSMONITORDN="cn=Operations,$MONITORDN"
CONNECTIONSMONITORDN="cn=Connections,$MONITORDN"
DATABASESMONITORDN="cn=Databases,$MONITORDN"
STATISTICSMONITORDN="cn=Statistics,$MONITORDN"
369

Pierangelo Masarati's avatar
cleanup    
Pierangelo Masarati committed
370
# generated outputs
371
SEARCHOUT=$TESTDIR/ldapsearch.out
372
SEARCHOUT2=$TESTDIR/ldapsearch2.out
373
SEARCHFLT=$TESTDIR/ldapsearch.flt
374
SEARCHFLT2=$TESTDIR/ldapsearch2.flt
375
LDIFFLT=$TESTDIR/ldif.flt
376
LDIFFLT2=$TESTDIR/ldif2.flt
377
378
TESTOUT=$TESTDIR/test.out
INITOUT=$TESTDIR/init.out
379
380
381
VALSORTOUT1=$DATADIR/valsort1.out
VALSORTOUT2=$DATADIR/valsort2.out
VALSORTOUT3=$DATADIR/valsort3.out
Howard Chu's avatar
Howard Chu committed
382
383
384
385
MONITOROUT1=$DATADIR/monitor1.out
MONITOROUT2=$DATADIR/monitor2.out
MONITOROUT3=$DATADIR/monitor3.out
MONITOROUT4=$DATADIR/monitor4.out
386
387

SERVER1OUT=$TESTDIR/server1.out
Kurt Zeilenga's avatar
Kurt Zeilenga committed
388
SERVER1FLT=$TESTDIR/server1.flt
389
390
391
392
393
394
395
396
397
398
399
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

400
401
402
403
404
405
PROVIDEROUT=$SERVER1OUT
PROVIDERFLT=$SERVER1FLT
CONSUMEROUT=$SERVER2OUT
CONSUMER2OUT=$SERVER3OUT
CONSUMERFLT=$SERVER2FLT
CONSUMER2FLT=$SERVER3FLT
406

407
408
MTREADOUT=$TESTDIR/mtread.out

Pierangelo Masarati's avatar
cleanup    
Pierangelo Masarati committed
409
# original outputs for cmp
410
PROXYCACHEOUT=$DATADIR/proxycache.out
411
REFERRALOUT=$DATADIR/referrals.out
412
SEARCHOUTPROVIDER=$DATADIR/search.out.provider
413
SEARCHOUTX=$DATADIR/search.out.xsearch
414
COMPSEARCHOUT=$DATADIR/compsearch.out
415
416
417
418
419
420
421
422
MODIFYOUTPROVIDER=$DATADIR/modify.out.provider
ADDDELOUTPROVIDER=$DATADIR/adddel.out.provider
MODRDNOUTPROVIDER0=$DATADIR/modrdn.out.provider.0
MODRDNOUTPROVIDER1=$DATADIR/modrdn.out.provider.1
MODRDNOUTPROVIDER2=$DATADIR/modrdn.out.provider.2
MODRDNOUTPROVIDER3=$DATADIR/modrdn.out.provider.3
ACLOUTPROVIDER=$DATADIR/acl.out.provider
REPLOUTPROVIDER=$DATADIR/repl.out.provider
423
MODSRCHFILTERS=$DATADIR/modify.search.filters
424
CERTIFICATETLS=$DATADIR/certificate.tls
Kurt Zeilenga's avatar
Kurt Zeilenga committed
425
CERTIFICATEOUT=$DATADIR/certificate.out
Pierangelo Masarati's avatar
Pierangelo Masarati committed
426
DNOUT=$DATADIR/dn.out
Pierangelo Masarati's avatar
Pierangelo Masarati committed
427
428
EMPTYDNOUT1=$DATADIR/emptydn.out.slapadd
EMPTYDNOUT2=$DATADIR/emptydn.out
429
IDASSERTOUT=$DATADIR/idassert.out
430
431
LDAPGLUEOUT=$DATADIR/ldapglue.out
LDAPGLUEANONYMOUSOUT=$DATADIR/ldapglueanonymous.out
432
RELAYOUT=$DATADIR/relay.out
433
CHAINOUT=$DATADIR/chain.out
434
CHAINREFOUT=$DATADIR/chainref.out
435
CHAINMODOUT=$DATADIR/chainmod.out
436
GLUESYNCOUT=$DATADIR/gluesync.out
437
438
SQLREAD=$DATADIR/sql-read.out
SQLWRITE=$DATADIR/sql-write.out
Howard Chu's avatar
Howard Chu committed
439
TRANSLUCENTOUT=$DATADIR/translucent.search.out
440
METAOUT=$DATADIR/meta.out
441
METACONCURRENCYOUT=$DATADIR/metaconcurrency.out
442
MANAGEOUT=$DATADIR/manage.out
Pierangelo Masarati's avatar
Pierangelo Masarati committed
443
SUBTREERENAMEOUT=$DATADIR/subtree-rename.out
Pierangelo Masarati's avatar
Pierangelo Masarati committed
444
ACIOUT=$DATADIR/aci.out
Pierangelo Masarati's avatar
Pierangelo Masarati committed
445
DYNLISTOUT=$DATADIR/dynlist.out
446
DDSOUT=$DATADIR/dds.out
447
DEREFOUT=$DATADIR/deref.out
Pierangelo Masarati's avatar
Pierangelo Masarati committed
448
MEMBEROFOUT=$DATADIR/memberof.out
449
MEMBEROFREFINTOUT=$DATADIR/memberof-refint.out
450
SHTOOL="$SRCDIR/../build/shtool"
451