1 if [ $whoami != "root" ]; then
7 test_joindomain_nt4() {
9 smbpasswd -a -m buildfarm$
11 echo $prefix/bin/smbpasswd -L -j TESTWG
12 $prefix/bin/smbpasswd -L -j TESTWG
14 if [ $status = 0 ]; then
15 echo "smbpasswd correctly joined the domain ($workgroup)"
17 echo "smbpasswd 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