summaryrefslogtreecommitdiff
path: root/source4/script/tests/mktestdc.sh
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-04-09 00:53:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:49:54 -0500
commit3ff1625f1f48e7d3107786c7f8fa7b1a43196e5d (patch)
treec1c377f4f93ee1e11c01e235f69cb6619e29e779 /source4/script/tests/mktestdc.sh
parent51fd15608173421258cc474063cf49f5b72e5d56 (diff)
downloadsamba-3ff1625f1f48e7d3107786c7f8fa7b1a43196e5d.tar.gz
samba-3ff1625f1f48e7d3107786c7f8fa7b1a43196e5d.tar.bz2
samba-3ff1625f1f48e7d3107786c7f8fa7b1a43196e5d.zip
r22134: Create different smb.conf file for the client side. This should make use with Samba 3 or windows easier as well as environments.
(This used to be commit a32cdc06c39b07fbc7a3015ef059cc9143fb6e20)
Diffstat (limited to 'source4/script/tests/mktestdc.sh')
-rwxr-xr-xsource4/script/tests/mktestdc.sh13
1 files changed, 2 insertions, 11 deletions
diff --git a/source4/script/tests/mktestdc.sh b/source4/script/tests/mktestdc.sh
index 3c5cc58353..ee4a99c8a3 100755
--- a/source4/script/tests/mktestdc.sh
+++ b/source4/script/tests/mktestdc.sh
@@ -43,8 +43,6 @@ cd $PREFIX
PREFIX_ABS=`pwd`
cd $oldpwd
-TEST_DATA_PREFIX=$PREFIX_ABS
-
TMPDIR=$PREFIX_ABS/tmp
ETCDIR=$PREFIX_ABS/etc
PIDDIR=$PREFIX_ABS/pid
@@ -61,15 +59,8 @@ LDAPDIR=$PREFIX_ABS/ldap
rm -rf $PREFIX/*
mkdir -p $PRIVATEDIR $ETCDIR $PIDDIR $NCALRPCDIR $LOCKDIR $TMPDIR $LDAPDIR/db $LDAPDIR/db/bdb-logs $LDAPDIR/db/tmp
-if [ -z "$VALGRIND" ]; then
- nativeiconv="true"
-else
- nativeiconv="false"
-fi
-
cat >$CONFFILE<<EOF
[global]
- iconv:native = $nativeiconv
netbios name = $NETBIOSNAME
netbios aliases = $SERVER
workgroup = $DOMAIN
@@ -92,7 +83,6 @@ cat >$CONFFILE<<EOF
server max protocol = SMB2
notify:inotify = false
ldb:nosync = true
- torture:basedir = $TEST_DATA_PREFIX
system:anonymous = true
#We don't want to pass our self-tests if the PAC code is wrong
@@ -283,7 +273,6 @@ $srcdir/bin/ldbadd -H $PRIVATEDIR/wins_config.ldb < $PRIVATEDIR/wins_config.ldif
echo "KRB5_CONFIG=$KRB5_CONFIG"
echo "PREFIX_ABS=$PREFIX_ABS"
-echo "TEST_DATA_PREFIX=$TEST_DATA_PREFIX"
echo "CONFIGURATION=$CONFIGURATION"
echo "CONFFILE=$CONFFILE"
echo "SLAPD_CONF=$SLAPD_CONF"
@@ -303,3 +292,5 @@ echo "PREFIX=$PREFIX"
echo "LDAPDIR=$LDAPDIR"
echo "PROVISION_OPTIONS=$PROVISION_OPTIONS"
echo "PROVISION_ACI=$PROVISION_ACI"
+echo "WINBINDD_SOCKET_DIR=$WINBINDD_SOCKET_DIR"
+echo "NCALRPCDIR=$NCALRPCDIR"