Skip to content

Commit

Permalink
Install required "sssd-ldap" package for 389ds
Browse files Browse the repository at this point in the history
Based on bug 1184692, the required "sssd-ldap" package
is not installed as dependency of package "389-ds" and
"sssd" in newer SLES15SP3 drop, so fix it in code
  • Loading branch information
rfan1 committed Apr 15, 2021
1 parent 18a47ec commit 7565fa1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/security/389ds/tls_389ds_sssd_client.pm
Expand Up @@ -38,7 +38,7 @@ sub run {
my $uid = '1003';

# Install 389-ds and sssd on client
zypper_call("in 389-ds sssd");
zypper_call("in 389-ds sssd sssd-ldap");

# Disable and stop the nscd daemon because it conflicts with sssd
disable_and_stop_service("nscd", ignore_failure => 1);
Expand Down Expand Up @@ -72,4 +72,9 @@ sub run {
assert_script_run("id $ldap_user | grep $uid");
}

sub post_fail_hook {
upload_logs("/var/log/messages");
upload_logs("/etc/sssd/sssd.conf");
}

1;

0 comments on commit 7565fa1

Please sign in to comment.