Skip to contentSkip to conversation

sssd: use example conf file

PATCH New Armin Kuster 1 participant 2 messages Jun 11, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 sssd: use example conf file

---
 .../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
index 1709a7a..1e8b537 100644
@@ -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
#1 lore raw

PATCH 2/2 oeqa: sssd.py fix tests

---
 lib/oeqa/runtime/cases/sssd.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
lib/oeqa/runtime/cases/sssd.py +2 -2
index 4644836..1dfdb94 100644
@@ -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