s4/scripting: Remove legacy selftest-vars.sh script
authorTim Beale <timbeale@catalyst.net.nz>
Mon, 11 Mar 2019 02:37:45 +0000 (15:37 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 12 Mar 2019 01:53:26 +0000 (01:53 +0000)
This script was added in 2010 and has only been sporadically kept
up-to-date since. It doesn't appear to work (I think that selftest
and the testenvs have perhaps grown in complexity since 2010 and it's no
longer possible to try to access a testenv from a different
process-space, due to how we use the cwrap libraries).

There's now an alternative (export_envvars_to_file()) in the selftest
code to regenerate a similar file, if anyone actually needs it.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/scripting/devel/selftest-vars.sh [deleted file]

diff --git a/source4/scripting/devel/selftest-vars.sh b/source4/scripting/devel/selftest-vars.sh
deleted file mode 100644 (file)
index 5d532f2..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-# . these into your shell to allow you to run with socketwrapper
-# outside the test environment
-
-export UID_WRAPPER=1
-export NSS_WRAPPER_PASSWD=$PWD/st/ad_dc_ntvfs/passwd
-export NSS_WRAPPER_GROUP=$PWD/st/ad_dc_ntvfs/group
-export CONFIGURATION="--configfile=$PWD/st/ad_dc_ntvfs/etc/smb.conf"
-export SELFTEST_MAXTIME=1200
-export NETBIOSNAME=localdc1
-export REALM=SAMBA.EXAMPLE.COM
-export SOCKET_WRAPPER_DEFAULT_IFACE=21
-export SERVER=localdc1
-export SELFTEST_WINBINDD_SOCKET_DIR=$PWD/st/ad_dc_ntvfs/winbindd_socket
-export SELFTEST_PREFIX=$PWD/st
-export DOMAIN=SAMBADOMAIN
-export BINDIR=./bin
-export DC_SERVER_IP=127.0.0.21
-export SOCKET_WRAPPER_DIR=$PWD/st/w
-export DC_USERNAME=Administrator
-export USERNAME=Administrator
-export SERVER_IP=127.0.0.21
-export KRB5_CONFIG=$PWD/st/ad_dc_ntvfs/etc/krb5.conf
-export PREFIX_ABS=$PWD/st
-export SRCDIR_ABS=$PWD
-export PREFIX=$PWD/st
-export KRB5CCNAME=$PWD/st/krb5ticket
-export SRCDIR=$PWD/
-export TLS_ENABLED=yes
-export DC_NETBIOSALIAS=localdc
-export DC_NETBIOSNAME=localdc1
-export DC_SERVER=localdc1
-export DC_PASSWORD=locDCpass1
-export PYTHONPATH=$PWD/bin/python
-export PASSWORD=locDCpass1
-export NETBIOSALIAS=localdc
-export SMB_CONF_PATH=$PWD/st/ad_dc_ntvfs/etc/smb.conf