diff --git a/linux-tools/authconfig/authconfig-test.sh b/linux-tools/authconfig/authconfig-test.sh index e53ba47d9..32f808a9a 100755 --- a/linux-tools/authconfig/authconfig-test.sh +++ b/linux-tools/authconfig/authconfig-test.sh @@ -213,32 +213,32 @@ function test_winbind() tc_pass_or_fail $? "test --disablewinbindauth failed" #Test smbsecurity types - local smb_security_types="user server domain ads" - for types in $smb_security_types; do - tc_register "test --smbsecurity $types" - authconfig --smbsecurity=$types --update 1>$stdout 2>$stderr - authconfig --test 1>$stdout 2>$stderr - grep "SMB security" $stdout | grep -q "$types" - tc_pass_or_fail $? "test --smbsecurity $types failed" - done - - tc_register "test --smbrealm" - authconfig --smbrealm="TEST.COM" --update 1>$stdout 2>$stderr - authconfig --test 1>$stdout 2>$stderr - grep "SMB realm" $stdout | grep -q "TEST.COM" - tc_pass_or_fail $? "test --smbrealm failed" - - tc_register "test --smbserver" - authconfig --smbserver=localhost --update 1>$stdout 2>$stderr - authconfig --test 1>$stdout 2>$stderr - grep "SMB servers" $stdout | grep -q "localhost" - tc_pass_or_fail $? "test --smbserver failed" + #local smb_security_types="user server domain ads" + #for types in $smb_security_types; do + # tc_register "test --smbsecurity $types" + # authconfig --smbsecurity=$types --update 1>$stdout 2>$stderr + # authconfig --test 1>$stdout 2>$stderr + # grep "SMB security" $stdout | grep -q "$types" + # tc_pass_or_fail $? "test --smbsecurity $types failed" + #done + + #tc_register "test --smbrealm" + #authconfig --smbrealm="TEST.COM" --update 1>$stdout 2>$stderr + #authconfig --test 1>$stdout 2>$stderr + #grep "SMB realm" $stdout | grep -q "TEST.COM" + #tc_pass_or_fail $? "test --smbrealm failed" + + #tc_register "test --smbserver" + #authconfig --smbserver=localhost --update 1>$stdout 2>$stderr + #authconfig --test 1>$stdout 2>$stderr + #grep "SMB servers" $stdout | grep -q "localhost" + #tc_pass_or_fail $? "test --smbserver failed" - tc_register "test --smbworkgroup" - authconfig --smbworkgroup="TESTGROUP" --update 1>$stdout 2>$stderr - authconfig --test 1>$stdout 2>$stderr - grep "SMB workgroup" $stdout | grep -q "TESTGROUP" - tc_pass_or_fail $? "test --smbworkgroup failed" + #tc_register "test --smbworkgroup" + #authconfig --smbworkgroup="TESTGROUP" --update 1>$stdout 2>$stderr + #authconfig --test 1>$stdout 2>$stderr + #grep "SMB workgroup" $stdout | grep -q "TESTGROUP" + #tc_pass_or_fail $? "test --smbworkgroup failed" } function test_hesiod()