We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bf86ff commit 1b400c9Copy full SHA for 1b400c9
linux-tools/authconfig/authconfig-test.sh
@@ -212,6 +212,8 @@ function test_winbind()
212
grep "USEWINBINDAUTH" /etc/sysconfig/authconfig | grep -q "no"
213
tc_pass_or_fail $? "test --disablewinbindauth failed"
214
215
+ tc_check_package samba
216
+ if [ $? -eq 0 ]; then
217
#Test smbsecurity types
218
local smb_security_types="user server domain ads"
219
for types in $smb_security_types; do
@@ -239,6 +241,10 @@ function test_winbind()
239
241
authconfig --test 1>$stdout 2>$stderr
240
242
grep "SMB workgroup" $stdout | grep -q "TESTGROUP"
243
tc_pass_or_fail $? "test --smbworkgroup failed"
244
+
245
+ else
246
+ tc_info "skipped samba related tests as Samba package is not installed"
247
+ fi
248
}
249
250
function test_hesiod()
0 commit comments