]> git.sur5r.net Git - openldap/blob - tests/scripts/defines.sh
Enhance LDIF handling
[openldap] / tests / scripts / defines.sh
1
2 DATADIR=$SRCDIR/data
3 PROGDIR=./progs
4
5 if test "$BACKEND" = "bdb2" ; then
6         LDIF2LDBM=../servers/slapd/tools/ldif2ldbm-bdb2
7         CONF=$DATADIR/slapd-bdb2-master.conf
8         ACLCONF=$DATADIR/slapd-bdb2-acl.conf
9         MASTERCONF=$DATADIR/slapd-bdb2-repl-master.conf
10         SLAVECONF=$DATADIR/slapd-bdb2-repl-slave.conf
11         REFSLAVECONF=$DATADIR/slapd-bdb2-ref-slave.conf
12         TIMING="-t"
13 else
14         LDIF2LDBM=../servers/slapd/tools/ldif2ldbm
15         CONF=$DATADIR/slapd-master.conf
16         ACLCONF=$DATADIR/slapd-acl.conf
17         MASTERCONF=$DATADIR/slapd-repl-master.conf
18         SLAVECONF=$DATADIR/slapd-repl-slave.conf
19         REFSLAVECONF=$DATADIR/slapd-ref-slave.conf
20 fi
21
22 if test "$LDAP_PROTO" ; then
23         PROTO="-P $LDAP_PROTO"
24 fi
25
26 PASSWDCONF=$DATADIR/slapd-passwd.conf
27
28 CLIENTDIR=../clients/tools
29 #CLIENTDIR=/usr/local/bin
30
31 SLAPD=../servers/slapd/slapd
32 SLURPD=../servers/slurpd/slurpd
33 LDAPSEARCH="$CLIENTDIR/ldapsearch $PROTO -LLL"
34 LDAPMODIFY="$CLIENTDIR/ldapmodify $PROTO"
35 LDAPADD="$CLIENTDIR/ldapadd $PROTO"
36 LDAPMODRDN="$CLIENTDIR/ldapmodrdn $PROTO"
37 SLAPDTESTER=$PROGDIR/slapd-tester
38 LVL=${SLAPD_DEBUG-5}
39 ADDR=127.0.0.1
40 PORT=9009
41 SLAVEPORT=9010
42 DBDIR=./test-db
43 REPLDIR=./test-repl
44 LDIF=$DATADIR/test.ldif
45 LDIFORDERED=$DATADIR/test-ordered.ldif
46 MONITOR="cn=monitor"
47 BASEDN="o=University of Michigan, c=US"
48 MANAGERDN="cn=Manager, o=University of Michigan, c=US"
49 UPDATEDN="cn=Replica, o=University of Michigan, c=US"
50 PASSWD=secret
51 BABSDN="cn=Barbara Jensen, ou=Information Technology Division, ou=People, o=University of Michigan, c=US"
52 BJORNSDN="cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=University of Michigan, c=US"
53 JAJDN="cn=James A Jones 1, ou=Alumni Association, ou=People, o=University of Michigan, c=US"
54 MASTERLOG=$DBDIR/master.log
55 SLAVELOG=$DBDIR/slave.log
56 SLURPLOG=$DBDIR/slurp.log
57 SEARCHOUT=$DBDIR/ldapsearch.out
58 SEARCHFLT=$DBDIR/ldapsearch.flt
59 LDIFFLT=$DBDIR/ldif.flt
60 MASTEROUT=$DBDIR/master.out
61 SLAVEOUT=$DBDIR/slave.out
62 TESTOUT=$DBDIR/test.out
63 SEARCHOUTMASTER=$DATADIR/search.out.master
64 MODIFYOUTMASTER=$DATADIR/modify.out.master
65 ADDDELOUTMASTER=$DATADIR/adddel.out.master
66 MODRDNOUTMASTER0=$DATADIR/modrdn.out.master.0
67 MODRDNOUTMASTER1=$DATADIR/modrdn.out.master.1
68 MODRDNOUTMASTER2=$DATADIR/modrdn.out.master.2
69 MODRDNOUTMASTER3=$DATADIR/modrdn.out.master.3
70 ACLOUTMASTER=$DATADIR/acl.out.master
71 REPLOUTMASTER=$DATADIR/repl.out.master
72 MODSRCHFILTERS=$DATADIR/modify.search.filters