1 if [ $whoami != "root" ]; then
7 test_joindomain_nt4() {
9 smbpasswd -L -a -m buildfarm$
11 echo $prefix/bin/net rpc join oldstyle -S localhost
12 $prefix/bin/net rpc join oldstyle -S localhost
14 if [ $status = 0 ]; then
15 echo "'net rpc join oldstyle' correctly joined the domain ($workgroup)"
17 echo "'net rpc join oldstyle' failed to join the domain ($workgroup)! (status $status)"
25 (test_smb_conf_setup && test_smbpasswd $password ) || exit 1
27 test_joindomain_nt4 $password || exit 1
29 test_listfilesauth $security || exit 1
30 test_listfilesnpw $security || exit 1