summaryrefslogtreecommitdiff
path: root/source4/script
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-09-22 19:43:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:19:15 -0500
commitc220ef880d9585d16efb547125008bb870777029 (patch)
tree6ee541a5133c8dea7a612167f97ff3d77cff8b42 /source4/script
parent390ece7f3daa6e0d3501fb9549213582386ec02b (diff)
downloadsamba-c220ef880d9585d16efb547125008bb870777029.tar.gz
samba-c220ef880d9585d16efb547125008bb870777029.tar.bz2
samba-c220ef880d9585d16efb547125008bb870777029.zip
r18828: Export some more useful environment varibles, particularly for use in
'make testenv' Andrew Bartlett (This used to be commit 5215b834bd08ae01b055aed0f2dc074b58996709)
Diffstat (limited to 'source4/script')
-rwxr-xr-xsource4/script/tests/mktestsetup.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/source4/script/tests/mktestsetup.sh b/source4/script/tests/mktestsetup.sh
index 9a4528379f..e8f3dcff6e 100755
--- a/source4/script/tests/mktestsetup.sh
+++ b/source4/script/tests/mktestsetup.sh
@@ -22,6 +22,7 @@ REALM=SAMBA.EXAMPLE.COM
DNSNAME="samba.example.com"
BASEDN="dc=samba,dc=example,dc=com"
PASSWORD=penguin
+AUTH="-U$USERNAME%$PASSWORD"
SRCDIR=`pwd`
ROOT=$USER
SERVER=localhost
@@ -65,6 +66,7 @@ export CONFIGURATION
export CONFFILE
export SLAPD_CONF
export PIDDIR
+export AUTH
rm -rf $PREFIX/*
mkdir -p $PRIVATEDIR $ETCDIR $PIDDIR $NCALRPCDIR $LOCKDIR $TMPDIR $TLSDIR $LDAPDIR/db
@@ -327,6 +329,17 @@ rootpw $PASSWORD
directory $LDAPDIR/db
index objectClass eq
index samAccountName eq
+index name eq
+index objectSid eq
+index objectCategory eq
+index member eq
+index uidNumber eq
+index gidNumber eq
+index unixName eq
+index privilege eq
+index nCName eq
+index lDAPDisplayName eq
+index subClassOf eq
overlay syncprov
syncprov-checkpoint 100 10