1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/testsuite/build_farm/basicsmb-domainsec-nt4.test
Andrew Bartlett b2cfadcac1 Also echo the smbpasswd command line
(This used to be commit 71b63db1bf)
2002-01-20 22:51:16 +00:00

29 lines
673 B
Plaintext

. basicsmb.fns
test_joindomain_nt4() {
echo $prefix/bin/smbpasswd -L -a -m buildfarm$
$prefix/bin/smbpasswd -L -a -m buildfarm$
echo $prefix/bin/net rpc join oldstyle -S localhost
$prefix/bin/net rpc join oldstyle -S localhost
status=$?
if [ $status = 0 ]; then
echo "'net rpc join oldstyle' correctly joined the domain"
else
echo "'net rpc join oldstyle' failed to join the domain! (status $status)"
return 1
fi
return 0
}
password=samba
security=DOMAIN
(test_smb_conf_setup && test_smbpasswd $password ) || exit 1
test_joindomain_nt4 $password || exit 1
test_listfilesauth $security || exit 1
test_listfilesnpw $security || exit 1