Blame SOURCES/0030-Issue-50873-Fix-healthcheck-and-virtual-attr-check.patch

8394b4
From 8c7b89bb2a1e25041e339e9e6092f031ac26d585 Mon Sep 17 00:00:00 2001
8394b4
From: Mark Reynolds <mreynolds@redhat.com>
8394b4
Date: Wed, 5 Feb 2020 09:48:15 -0500
8394b4
Subject: [PATCH] Issue 50873 - Fix healthcheck and virtual attr check
8394b4
8394b4
Description:  Used the wrong DN to lookup COS definitions
8394b4
8394b4
relates: https://pagure.io/389-ds-base/issue/50873
8394b4
8394b4
Reviewed by: mreynolds (one line commit rule)
8394b4
---
8394b4
 src/lib389/lib389/backend.py | 2 +-
8394b4
 1 file changed, 1 insertion(+), 1 deletion(-)
8394b4
8394b4
diff --git a/src/lib389/lib389/backend.py b/src/lib389/lib389/backend.py
8394b4
index ac2af021c..86ee33e6e 100644
8394b4
--- a/src/lib389/lib389/backend.py
8394b4
+++ b/src/lib389/lib389/backend.py
8394b4
@@ -438,7 +438,7 @@ class Backend(DSLdapObject):
8394b4
 
8394b4
         # Check COS next
8394b4
         for cosDefType in [CosIndirectDefinitions, CosPointerDefinitions, CosClassicDefinitions]:
8394b4
-            defs = cosDefType(self._instance, self._dn).list()
8394b4
+            defs = cosDefType(self._instance, suffix).list()
8394b4
             for cosDef in defs:
8394b4
                 attrs = cosDef.get_attr_val_utf8_l("cosAttribute").split()
8394b4
                 for attr in attrs:
8394b4
-- 
8394b4
2.21.1
8394b4