sssd: use example conf file
PATCH 1/2 sssd: use example conf file
Signed-off-by Armin Kuster <[email protected]>
--- .../recipes-security/sssd/files/sssd.conf | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
dynamic-layers/networking-layer/recipes-security/sssd/files/sssd.conf +8 -1
@@ -1,8 +1,15 @@ [sssd] services = nss, pam -config_file_version = 2 +domains = shadowutils [nss] [pam] +[domain/shadowutils] +id_provider = files + +auth_provider = proxy +proxy_pam_target = sssd-shadowutils + +proxy_fast_alias = True
Signature · 1 line
2.25.1
PATCH 2/2 oeqa: sssd.py fix tests
Signed-off-by Armin Kuster <[email protected]>
--- lib/oeqa/runtime/cases/sssd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
lib/oeqa/runtime/cases/sssd.py +2 -2
@@ -28,10 +28,10 @@ class SSSDTest(OERuntimeTestCase): @OETestDepends(['sssd.SSSDTest.test_sssd_sssctl_conf_perms_chk']) def test_sssd_sssctl_deamon(self): - status, output = self.target.run('sssctl domain-status') + status, output = self.target.run('sssctl domain-list') match = re.search('No domains configured, fatal error!', output) if match: - msg = ('sssctl domain-status failed, sssd.conf not setup correctly. ' + msg = ('sssctl domain-list failed, sssd.conf not setup correctly. ' 'Status and output:%s and %s' % (status, output)) self.assertEqual(status, 0, msg = msg)
Signature · 1 line
2.25.1