s4-nbt: use private_data instead of private.
[Samba/gbeck.git] / source4 / selftest / samba4_tests.sh
blobbdebddf260516c27bb9795fc21c7436b7faf3abc
1 #!/bin/sh
2 # This script generates a list of testsuites that should be run as part of
3 # the Samba 4 test suite.
5 # The output of this script is parsed by selftest.pl, which then decides
6 # which of the tests to actually run. It will, for example, skip all tests
7 # listed in samba4-skip or only run a subset during "make quicktest".
9 # The idea is that this script outputs all of the tests of Samba 4, not
10 # just those that are known to pass, and list those that should be skipped
11 # or are known to file in samba4-skip/samba4-knownfail. This makes it
12 # very easy to see what functionality is still missing in Samba 4 and makes
13 # it possible to run the testsuite against other servers, such as Samba 3 or
14 # Windows that have a different set of features.
16 # The syntax for a testsuite is "-- TEST --" on a single line, followed
17 # by the name of the test, the environment it needs and the command to run, all
18 # three separated by newlines. All other lines in the output are considered
19 # comments.
21 if [ ! -n "$PERL" ]
22 then
23 PERL=perl
26 incdir=`dirname $0`
28 plantest() {
29 name=$1
30 env=$2
31 shift 2
32 cmdline="$*"
33 echo "-- TEST --"
34 if [ "$env" = "none" ]; then
35 echo "samba4.$name"
36 else
37 echo "samba4.$name ($env)"
39 echo $env
40 echo $cmdline
43 normalize_testname() {
44 name=$1
45 shift 1
46 echo $name | tr "A-Z-" "a-z."
49 plansmbtorturetest() {
50 name=$1
51 env=$2
52 shift 2
53 other_args="$*"
54 modname=`normalize_testname $name`
55 cmdline="$VALGRIND $smb4torture $other_args $name"
56 plantest "$modname" "$env" $cmdline
59 $incdir/../bin/smbtorture -V
61 samba4srcdir=$incdir/..
62 samba4bindir=$samba4srcdir/bin
63 smb4torture="$samba4bindir/smbtorture $TORTURE_OPTIONS"
65 # Simple tests for LDAP and CLDAP
67 for options in "" "--option=socket:testnonblock=true" "-U\$USERNAME%\$PASSWORD --option=socket:testnonblock=true" "-U\$USERNAME%\$PASSWORD"; do
68 plantest "ldb.ldap with options $options" dc $samba4srcdir/../testprogs/blackbox/test_ldb.sh ldap \$SERVER_IP $options
69 done
70 # see if we support ldaps
71 if grep ENABLE_GNUTLS.1 include/config.h > /dev/null; then
72 for options in "" "-U\$USERNAME%\$PASSWORD"; do
73 plantest "ldb.ldaps with options $options" dc $samba4srcdir/../testprogs/blackbox/test_ldb.sh ldaps \$SERVER_IP $options
74 done
76 plantest "ldb.ldapi with options $options" dc $samba4srcdir/../testprogs/blackbox/test_ldb.sh ldapi \$PREFIX_ABS/dc/private/ldapi $options
77 for t in LDAP-CLDAP LDAP-BASIC LDAP-SCHEMA LDAP-UPTODATEVECTOR
79 plansmbtorturetest "$t" dc "-U\$USERNAME%\$PASSWORD" //\$SERVER_IP/_none_
80 done
82 # only do the ldb tests when not in quick mode - they are quite slow, and ldb
83 # is now pretty well tested by the rest of the quick tests anyway
84 LDBDIR=$samba4srcdir/lib/ldb
85 export LDBDIR
86 plantest "ldb" none TEST_DATA_PREFIX=\$PREFIX $LDBDIR/tests/test-tdb.sh
88 # Tests for RPC
90 # add tests to this list as they start passing, so we test
91 # that they stay passing
92 ncacn_np_tests="RPC-SCHANNEL RPC-JOIN RPC-LSA RPC-DSSETUP RPC-ALTERCONTEXT RPC-MULTIBIND RPC-NETLOGON RPC-HANDLES RPC-SAMSYNC RPC-SAMBA3SESSIONKEY RPC-SAMBA3-GETUSERNAME RPC-SAMBA3-LSA RPC-BINDSAMBA3 RPC-NETLOGSAMBA3 RPC-ASYNCBIND RPC-LSALOOKUP RPC-LSA-GETUSER RPC-SCHANNEL2 RPC-AUTHCONTEXT"
93 ncalrpc_tests="RPC-SCHANNEL RPC-JOIN RPC-LSA RPC-DSSETUP RPC-ALTERCONTEXT RPC-MULTIBIND RPC-NETLOGON RPC-DRSUAPI RPC-ASYNCBIND RPC-LSALOOKUP RPC-LSA-GETUSER RPC-SCHANNEL2 RPC-AUTHCONTEXT"
94 ncacn_ip_tcp_tests="RPC-SCHANNEL RPC-JOIN RPC-LSA RPC-DSSETUP RPC-ALTERCONTEXT RPC-MULTIBIND RPC-NETLOGON RPC-HANDLES RPC-DSSYNC RPC-ASYNCBIND RPC-LSALOOKUP RPC-LSA-GETUSER RPC-SCHANNEL2 RPC-AUTHCONTEXT"
95 slow_ncacn_np_tests="RPC-SAMLOGON RPC-SAMR RPC-SAMR-USERS RPC-SAMR-PASSWORDS"
96 slow_ncalrpc_tests="RPC-SAMR RPC-SAMR-PASSWORDS"
97 slow_ncacn_ip_tcp_tests="RPC-SAMR RPC-SAMR-PASSWORDS RPC-CRACKNAMES"
99 all_tests="$ncalrpc_tests $ncacn_np_tests $ncacn_ip_tcp_tests $slow_ncalrpc_tests $slow_ncacn_np_tests $slow_ncacn_ip_tcp_tests RPC-SECRETS RPC-SAMBA3-SHARESEC"
101 # Make sure all tests get run
102 for t in `$smb4torture --list | grep "^RPC-"`
104 echo $all_tests | grep $t > /dev/null
105 if [ $? -ne 0 ]
106 then
107 auto_rpc_tests="$auto_rpc_tests $t"
109 done
111 for bindoptions in seal,padcheck $VALIDATE bigendian; do
112 for transport in ncalrpc ncacn_np ncacn_ip_tcp; do
113 case $transport in
114 ncalrpc) tests=$ncalrpc_tests ;;
115 ncacn_np) tests=$ncacn_np_tests ;;
116 ncacn_ip_tcp) tests=$ncacn_ip_tcp_tests ;;
117 esac
118 for t in $tests; do
119 plantest "`normalize_testname $t` on $transport with $bindoptions" dc $VALGRIND $smb4torture $transport:"\$SERVER[$bindoptions]" -U"\$USERNAME"%"\$PASSWORD" -W \$DOMAIN $t "$*"
120 done
121 plantest "rpc.samba3.sharesec on $transport with $bindoptions" dc $VALGRIND $smb4torture $transport:"\$SERVER[$bindoptions]" -U"\$USERNAME"%"\$PASSWORD" -W \$DOMAIN --option=torture:share=tmp RPC-SAMBA3-SHARESEC "$*"
122 done
123 done
125 for bindoptions in "" $VALIDATE bigendian; do
126 for t in $auto_rpc_tests; do
127 plantest "`normalize_testname $t` with $bindoptions" dc $VALGRIND $smb4torture "\$SERVER[$bindoptions]" -U"\$USERNAME"%"\$PASSWORD" -W \$DOMAIN $t "$*"
128 done
129 done
131 for bindoptions in connect $VALIDATE ; do
132 for transport in ncalrpc ncacn_np ncacn_ip_tcp; do
133 case $transport in
134 ncalrpc) tests=$slow_ncalrpc_tests ;;
135 ncacn_np) tests=$slow_ncacn_np_tests ;;
136 ncacn_ip_tcp) tests=$slow_ncacn_ip_tcp_tests ;;
137 esac
138 for t in $tests; do
139 plantest "`normalize_testname $t` on $transport with $bindoptions" dc $VALGRIND $smb4torture $transport:"\$SERVER[$bindoptions]" -U"\$USERNAME"%"\$PASSWORD" -W \$DOMAIN $t "$*"
140 done
141 done
142 done
145 # Tests for the NET API
147 net=`$smb4torture --list | grep ^NET-`
149 for t in $net; do
150 plansmbtorturetest "$t" dc "\$SERVER[$VALIDATE]" -U"\$USERNAME"%"\$PASSWORD" -W "\$DOMAIN" "$*"
151 done
153 # Tests for session keys
154 # FIXME: Integrate these into a single smbtorture test
156 bindoptions=""
157 transport="ncacn_np"
158 for ntlmoptions in \
159 "-k no --option=usespnego=yes" \
160 "-k no --option=usespnego=yes --option=ntlmssp_client:128bit=no" \
161 "-k no --option=usespnego=yes --option=ntlmssp_client:56bit=yes" \
162 "-k no --option=usespnego=yes --option=ntlmssp_client:56bit=no" \
163 "-k no --option=usespnego=yes --option=ntlmssp_client:128bit=no --option=ntlmssp_client:56bit=yes" \
164 "-k no --option=usespnego=yes --option=ntlmssp_client:128bit=no --option=ntlmssp_client:56bit=no" \
165 "-k no --option=usespnego=yes --option=clientntlmv2auth=yes" \
166 "-k no --option=usespnego=yes --option=clientntlmv2auth=yes --option=ntlmssp_client:128bit=no" \
167 "-k no --option=usespnego=yes --option=clientntlmv2auth=yes --option=ntlmssp_client:128bit=no --option=ntlmssp_client:56bit=yes" \
168 "-k no --option=usespnego=no --option=clientntlmv2auth=yes" \
169 "-k no --option=gensec:spnego=no --option=clientntlmv2auth=yes" \
170 "-k no --option=usespnego=no"; do
171 name="rpc.secrets on $transport with $bindoptions with $ntlmoptions"
172 plantest "$name" dc $smb4torture $transport:"\$SERVER[$bindoptions]" $ntlmoptions -U"\$USERNAME"%"\$PASSWORD" -W \$DOMAIN --option=gensec:target_hostname=\$NETBIOSNAME RPC-SECRETS "$*"
173 done
174 plantest "rpc.secrets on $transport with $bindoptions with Kerberos" dc $smb4torture $transport:"\$SERVER[$bindoptions]" -k yes -U"\$USERNAME"%"\$PASSWORD" -W \$DOMAIN "--option=gensec:target_hostname=\$NETBIOSNAME" RPC-SECRETS "$*"
175 plantest "rpc.secrets on $transport with $bindoptions with Kerberos - use target principal" dc $smb4torture $transport:"\$SERVER[$bindoptions]" -k yes -U"\$USERNAME"%"\$PASSWORD" -W \$DOMAIN "--option=clientusespnegoprincipal=yes" "--option=gensec:target_hostname=\$NETBIOSNAME" RPC-SECRETS "$*"
176 plantest "rpc.secrets on $transport with Kerberos - use Samba3 style login" dc $smb4torture $transport:"\$SERVER" -k yes -U"\$USERNAME"%"\$PASSWORD" -W "\$DOMAIN" "--option=gensec:fake_gssapi_krb5=yes" "--option=gensec:gssapi_krb5=no" "--option=gensec:target_hostname=\$NETBIOSNAME" "RPC-SECRETS-none*" "$*"
177 plantest "rpc.secrets on $transport with Kerberos - use Samba3 style login, use target principal" dc $smb4torture $transport:"\$SERVER" -k yes -U"\$USERNAME"%"\$PASSWORD" -W "\$DOMAIN" "--option=clientusespnegoprincipal=yes" "--option=gensec:fake_gssapi_krb5=yes" "--option=gensec:gssapi_krb5=no" "--option=gensec:target_hostname=\$NETBIOSNAME" "RPC-SECRETS-none*" "$*"
179 # Echo tests
180 transports="ncacn_np ncacn_ip_tcp ncalrpc"
182 for transport in $transports; do
183 for bindoptions in connect spnego spnego,sign spnego,seal $VALIDATE padcheck bigendian bigendian,seal; do
184 for ntlmoptions in \
185 "--option=socket:testnonblock=True --option=torture:quick=yes"; do
186 plantest "rpc.echo on $transport with $bindoptions and $ntlmoptions" dc $smb4torture $transport:"\$SERVER[$bindoptions]" $ntlmoptions -U"\$USERNAME"%"\$PASSWORD" -W "\$DOMAIN" RPC-ECHO "$*"
187 done
188 done
189 done
191 for transport in $transports; do
192 for bindoptions in sign seal; do
193 for ntlmoptions in \
194 "--option=ntlmssp_client:ntlm2=yes --option=torture:quick=yes" \
195 "--option=ntlmssp_client:ntlm2=no --option=torture:quick=yes" \
196 "--option=ntlmssp_client:ntlm2=yes --option=ntlmssp_client:128bit=no --option=torture:quick=yes" \
197 "--option=ntlmssp_client:ntlm2=no --option=ntlmssp_client:128bit=no --option=torture:quick=yes" \
198 "--option=ntlmssp_client:ntlm2=yes --option=ntlmssp_client:keyexchange=no --option=torture:quick=yes" \
199 "--option=ntlmssp_client:ntlm2=no --option=ntlmssp_client:keyexchange=no --option=torture:quick=yes" \
200 "--option=clientntlmv2auth=yes --option=ntlmssp_client:keyexchange=no --option=torture:quick=yes" \
201 "--option=clientntlmv2auth=yes --option=ntlmssp_client:128bit=no --option=ntlmssp_client:keyexchange=yes --option=torture:quick=yes" \
202 "--option=clientntlmv2auth=yes --option=ntlmssp_client:128bit=no --option=ntlmssp_client:keyexchange=no --option=torture:quick=yes" \
203 ; do
204 plantest "rpc.echo on $transport with $bindoptions and $ntlmoptions" dc $smb4torture $transport:"\$SERVER[$bindoptions]" $ntlmoptions -U"\$USERNAME"%"\$PASSWORD" -W \$DOMAIN RPC-ECHO "$*"
205 done
206 done
207 done
209 plantest "rpc.echo on ncacn_np over smb2" dc $smb4torture ncacn_np:"\$SERVER[smb2]" -U"\$USERNAME"%"\$PASSWORD" -W \$DOMAIN RPC-ECHO "$*"
211 # Tests against the NTVFS POSIX backend
212 NTVFSARGS=""
213 NTVFSARGS="${NTVFSARGS} --option=torture:sharedelay=100000"
214 NTVFSARGS="${NTVFSARGS} --option=torture:oplocktimeout=3"
215 NTVFSARGS="${NTVFSARGS} --option=torture:writetimeupdatedelay=500000"
217 smb2=`$smb4torture --list | grep "^SMB2-" | xargs`
218 #The QFILEINFO-IPC test needs to be on ipc$
219 raw=`$smb4torture --list | grep "^RAW-" | grep -v "RAW-QFILEINFO-IPC"| xargs`
220 base=`$smb4torture --list | grep "^BASE-" | xargs`
222 for t in $base $raw $smb2; do
223 plansmbtorturetest "$t" dc $ADDARGS //\$SERVER/tmp -U"\$USERNAME"%"\$PASSWORD" $NTVFSARGS
224 done
226 plansmbtorturetest "RAW-QFILEINFO-IPC" dc $ADDARGS //\$SERVER/ipc$ -U"\$USERNAME"%"\$PASSWORD"
228 rap=`$smb4torture --list | grep "^RAP-" | xargs`
229 for t in $rap; do
230 plansmbtorturetest "$t" dc $ADDARGS //\$SERVER/IPC\\\$ -U"\$USERNAME"%"\$PASSWORD"
231 done
233 # Tests against the NTVFS CIFS backend
234 for t in $base $raw; do
235 plantest "ntvfs.cifs.`normalize_testname $t`" dc $VALGRIND $smb4torture //\$NETBIOSNAME/cifs -U"\$USERNAME"%"\$PASSWORD" $NTVFSARGS $t
236 done
238 # Local tests
240 for t in `$smb4torture --list | grep "^LOCAL-" | xargs`; do
241 plansmbtorturetest "$t" none ncalrpc: "$*"
242 done
244 if test -f $samba4bindir/tdbtorture
245 then
246 plantest "tdb.stress" none $VALGRIND $samba4bindir/tdbtorture
249 # Pidl tests
251 if test x"${PIDL_TESTS_SKIP}" = x"yes"; then
252 echo "Skipping pidl tests - PIDL_TESTS_SKIP=yes"
253 elif $PERL -e 'eval require Test::More;' > /dev/null 2>&1; then
254 for f in $samba4srcdir/../pidl/tests/*.pl; do
255 plantest "pidl.`basename $f .pl`" none $PERL $f "|" $samba4srcdir/script/harness2subunit.pl
256 done
257 else
258 echo "Skipping pidl tests - Test::More not installed"
261 # Blackbox Tests:
262 # tests that interact directly with the command-line tools rather than using
263 # the API. These mainly test that the various command-line options of commands
264 # work correctly.
266 bbdir=$incdir/../../testprogs/blackbox
268 plantest "blackbox.ndrdump" none $samba4srcdir/librpc/tests/test_ndrdump.sh
269 plantest "blackbox.net" dc $samba4srcdir/utils/tests/test_net.sh "\$SERVER" "\$USERNAME" "\$PASSWORD" "\$DOMAIN"
270 plantest "blackbox.kinit" dc $bbdir/test_kinit.sh "\$SERVER" "\$USERNAME" "\$PASSWORD" "\$REALM" "\$DOMAIN" "$PREFIX" $CONFIGURATION
271 plantest "blackbox.cifsdd" dc $samba4srcdir/client/tests/test_cifsdd.sh "\$SERVER" "\$USERNAME" "\$PASSWORD" "\$DOMAIN"
272 plantest "blackbox.nmblookup" dc $samba4srcdir/utils/tests/test_nmblookup.sh "\$NETBIOSNAME" "\$NETBIOSALIAS" "\$SERVER" "\$SERVER_IP"
273 plantest "blackbox.nmblookup" member $samba4srcdir/utils/tests/test_nmblookup.sh "\$NETBIOSNAME" "\$NETBIOSALIAS" "\$SERVER" "\$SERVER_IP"
274 plantest "blackbox.locktest" dc $samba4srcdir/torture/tests/test_locktest.sh "\$SERVER" "\$USERNAME" "\$PASSWORD" "\$DOMAIN" "$PREFIX"
275 plantest "blackbox.masktest" dc $samba4srcdir/torture/tests/test_masktest.sh "\$SERVER" "\$USERNAME" "\$PASSWORD" "\$DOMAIN" "$PREFIX"
276 plantest "blackbox.gentest" dc $samba4srcdir/torture/tests/test_gentest.sh "\$SERVER" "\$USERNAME" "\$PASSWORD" "\$DOMAIN" "$PREFIX"
277 plantest "blackbox.wbinfo" dc $samba4srcdir/nsswitch/tests/test_wbinfo.sh "\$DOMAIN" "\$USERNAME" "\$PASSWORD" "dc"
278 plantest "blackbox.wbinfo" member $samba4srcdir/nsswitch/tests/test_wbinfo.sh "\$DOMAIN" "\$DC_USERNAME" "\$DC_PASSWORD" "member"
280 # Tests using the "Simple" NTVFS backend
282 for t in "BASE-RW1"; do
283 plantest "ntvfs.simple.`normalize_testname $t`" dc $VALGRIND $smb4torture $ADDARGS //\$SERVER/simple -U"\$USERNAME"%"\$PASSWORD" $t
284 done
286 # Domain Member Tests
288 plantest "rpc.echo against member server with local creds" member $VALGRIND $smb4torture ncacn_np:"\$NETBIOSNAME" -U"\$NETBIOSNAME/\$USERNAME"%"\$PASSWORD" RPC-ECHO "$*"
289 plantest "rpc.echo against member server with domain creds" member $VALGRIND $smb4torture ncacn_np:"\$NETBIOSNAME" -U"\$DOMAIN/\$DC_USERNAME"%"\$DC_PASSWORD" RPC-ECHO "$*"
290 plantest "rpc.samr against member server with local creds" member $VALGRIND $smb4torture ncacn_np:"\$NETBIOSNAME" -U"\$NETBIOSNAME/\$USERNAME"%"\$PASSWORD" "RPC-SAMR" "$*"
291 plantest "rpc.samr.users against member server with local creds" member $VALGRIND $smb4torture ncacn_np:"\$NETBIOSNAME" -U"\$NETBIOSNAME/\$USERNAME"%"\$PASSWORD" "RPC-SAMR-USERS" "$*"
292 plantest "rpc.samr.passwords against member server with local creds" member $VALGRIND $smb4torture ncacn_np:"\$NETBIOSNAME" -U"\$NETBIOSNAME/\$USERNAME"%"\$PASSWORD" "RPC-SAMR-PASSWORDS" "$*"
293 plantest "blackbox.smbclient against member server with local creds" member $samba4srcdir/client/tests/test_smbclient.sh "\$NETBIOSNAME" "\$USERNAME" "\$PASSWORD" "\$NETBIOSNAME" "$PREFIX"
295 NBT_TESTS=`$smb4torture --list | grep "^NBT-" | xargs`
297 for t in $NBT_TESTS; do
298 plansmbtorturetest "$t" dc //\$SERVER/_none_ -U\$USERNAME%\$PASSWORD
299 done
301 WB_OPTS="--option=\"torture:strict mode=no\""
302 WB_OPTS="${WB_OPTS} --option=\"torture:timelimit=1\""
303 WB_OPTS="${WB_OPTS} --option=\"torture:winbindd separator=/\""
304 WB_OPTS="${WB_OPTS} --option=\"torture:winbindd netbios name=\$SERVER\""
305 WB_OPTS="${WB_OPTS} --option=\"torture:winbindd netbios domain=\$DOMAIN\""
307 WINBIND_STRUCT_TESTS=`$smb4torture --list | grep "^WINBIND-STRUCT" | xargs`
308 WINBIND_NDR_TESTS=`$smb4torture --list | grep "^WINBIND-NDR" | xargs`
309 for env in dc member; do
310 for t in $WINBIND_STRUCT_TESTS; do
311 plansmbtorturetest $t $env $WB_OPTS //_none_/_none_
312 done
314 for t in $WINBIND_NDR_TESTS; do
315 plansmbtorturetest $t $env $WB_OPTS //_none_/_none_
316 done
317 done
319 if test -f $samba4bindir/nsstest
320 then
321 plantest "nss.test using winbind" member $VALGRIND $samba4bindir/nsstest $samba4bindir/shared/libnss_winbind.so
324 PYTHON=/usr/bin/python
325 SUBUNITRUN="$PYTHON ./scripting/bin/subunitrun"
326 plantest "ldb.python" none PYTHONPATH="$PYTHONPATH:lib/ldb/tests/python/" $SUBUNITRUN api
327 plantest "credentials.python" none PYTHONPATH="$PYTHONPATH:auth/credentials/tests" $SUBUNITRUN bindings
328 plantest "registry.python" none PYTHONPATH="$PYTHONPATH:lib/registry/tests/" $SUBUNITRUN bindings
329 plantest "tdb.python" none PYTHONPATH="$PYTHONPATH:../lib/tdb/python/tests" $SUBUNITRUN simple
330 plantest "auth.python" none PYTHONPATH="$PYTHONPATH:auth/tests/" $SUBUNITRUN bindings
331 plantest "security.python" none PYTHONPATH="$PYTHONPATH:libcli/security/tests" $SUBUNITRUN bindings
332 plantest "param.python" none PYTHONPATH="$PYTHONPATH:param/tests" $SUBUNITRUN bindings
333 plantest "upgrade.python" none $SUBUNITRUN samba.tests.upgrade
334 plantest "samba.python" none $SUBUNITRUN samba.tests
335 plantest "provision.python" none $SUBUNITRUN samba.tests.provision
336 plantest "samba3.python" none $SUBUNITRUN samba.tests.samba3
337 plantest "samr.python" dc $SUBUNITRUN samba.tests.dcerpc.sam
338 plantest "dcerpc.bare.python" dc $SUBUNITRUN samba.tests.dcerpc.bare
339 plantest "unixinfo.python" dc $SUBUNITRUN samba.tests.dcerpc.unix
340 plantest "samdb.python" none $SUBUNITRUN samba.tests.samdb
341 plantest "events.python" none PYTHONPATH="$PYTHONPATH:lib/events" $SUBUNITRUN tests
342 plantest "messaging.python" none PYTHONPATH="$PYTHONPATH:lib/messaging/tests" $SUBUNITRUN bindings
343 plantest "samba3sam.python" none PYTHONPATH="$PYTHONPATH:dsdb/samdb/ldb_modules/tests" $SUBUNITRUN samba3sam
344 plantest "rpcecho.python" dc $SUBUNITRUN samba.tests.dcerpc.rpcecho
345 plantest "winreg.python" dc $SUBUNITRUN -U\$USERNAME%\$PASSWORD samba.tests.dcerpc.registry
346 plantest "ldap.python" dc $PYTHON $samba4srcdir/lib/ldb/tests/python/ldap.py $CONFIGURATION \$SERVER -U\$USERNAME%\$PASSWORD -W \$DOMAIN
347 plantest "blackbox.samba3dump" none $PYTHON scripting/bin/samba3dump $samba4srcdir/../testdata/samba3
348 rm -rf $PREFIX/upgrade
349 plantest "blackbox.upgrade" none $PYTHON setup/upgrade $CONFIGURATION --targetdir=$PREFIX/upgrade ../testdata/samba3 ../testdata/samba3/smb.conf
350 rm -rf $PREFIX/provision
351 mkdir $PREFIX/provision
352 plantest "blackbox.provision.py" none PYTHON="$PYTHON" $samba4srcdir/setup/tests/blackbox_provision.sh "$PREFIX/provision"
353 plantest "blackbox.provision-backend.py" none PYTHON="$PYTHON" $samba4srcdir/setup/tests/blackbox_provision-backend.sh "$PREFIX/provision"
354 plantest "blackbox.setpassword.py" none PYTHON="$PYTHON" $samba4srcdir/setup/tests/blackbox_setpassword.sh "$PREFIX/provision"
355 plantest "blackbox.newuser.py" none PYTHON="$PYTHON" $samba4srcdir/setup/tests/blackbox_newuser.sh "$PREFIX/provision"