Try to see if we can get these tests working...
[ira/wip.git] / testsuite / build_farm / basicsmb-domainsec-nt4.test
1 . basicsmb.fns
2
3 test_joindomain_nt4() {
4
5         smbpasswd -L -a -m buildfarm$
6
7         echo $prefix/bin/net rpc join oldstyle -S localhost
8         $prefix/bin/net rpc join oldstyle -S localhost
9         status=$?
10         if [ $status = 0 ]; then
11             echo "'net rpc join oldstyle' correctly joined the domain ($workgroup)"
12         else
13             echo "'net rpc join oldstyle' failed to join the domain ($workgroup)! (status $status)"
14             return 1
15         fi
16         return 0
17 }
18
19 password=samba
20 security=DOMAIN
21 (test_smb_conf_setup && test_smbpasswd $password ) || exit 1
22
23 test_joindomain_nt4 $password || exit 1
24
25 test_listfilesauth $security  || exit 1
26 test_listfilesnpw $security  || exit 1
27