1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

A couple more little fixes for the domain security tests.

This commit is contained in:
Andrew Bartlett -
parent 7f7a53e848
commit 409fb69ecb
2 changed files with 5 additions and 5 deletions

View File

@ -8,9 +8,9 @@ test_joindomain_nt4() {
$prefix/bin/net rpc join oldstyle -S localhost
status=$?
if [ $status = 0 ]; then
echo "'net rpc join oldstyle' correctly joined the domain ($workgroup)"
echo "'net rpc join oldstyle' correctly joined the domain"
else
echo "'net rpc join oldstyle' failed to join the domain ($workgroup)! (status $status)"
echo "'net rpc join oldstyle' failed to join the domain! (status $status)"
return 1
fi
return 0

View File

@ -2,15 +2,15 @@
. basicsmb.fns
test_joindomain() {
test_joindomain_password="$1"
test_join_domain_password="$1"
echo "$prefix/bin/net rpc join -S localhost -U $whoami%$test_join_domain_password"
$prefix/bin/net rpc join -S localhost -U $whoami%$test_join_domain_password
status=$?
if [ $status = 0 ]; then
echo "'net rpc join' correctly joined the domain ($workgroup)"
echo "'net rpc join' correctly joined the domain"
else
echo "'net rpc join' failed to join the domain ($workgroup)! (status $status)"
echo "'net rpc join' failed to join the domain! (status $status)"
return 1
fi
return 0