dns: Use new DNS debugclass in DNS server
[kai/samba.git] / testsuite / build_farm / basicsmb-domainsec-nt4.test
1 . basicsmb.fns
2
3 test_joindomain_nt4() {
4
5         echo $prefix/bin/smbpasswd -L -a -m buildfarm$
6         $prefix/bin/smbpasswd -L -a -m buildfarm$
7
8         echo $prefix/bin/net rpc oldjoin -S localhost
9         $prefix/bin/net rpc oldjoin -S localhost
10         status=$?
11         if [ $status = 0 ]; then
12             echo "'net rpc oldjoin' correctly joined the domain"
13         else
14             echo "'net rpc oldjoin' failed to join the domain! (status $status)"
15             return 1
16         fi
17         return 0
18 }
19
20 password=samba
21 security=DOMAIN
22 (test_smb_conf_setup && test_smbpasswd $password ) || exit 1
23
24 test_joindomain_nt4 $password || exit 1
25
26 test_listfilesauth $security  || exit 1
27 test_listfilesnpw $security  || exit 1
28