pgreco / rpms / ipa

Forked from forks/areguera/rpms/ipa 4 years ago
Clone

Blame SOURCES/0012-fix-selinuxusermap-search-for-non-admin-users.patch

590d18
From d234274f7e99a7eeff89e4039cf176a4b15147ec Mon Sep 17 00:00:00 2001
590d18
From: Martin Basti <mbasti@redhat.com>
590d18
Date: Thu, 16 Jul 2015 15:07:05 +0200
590d18
Subject: [PATCH] fix selinuxusermap search for non-admin users
590d18
590d18
Remove nonexistent attribute 'hostmembergroup' that is not in ACI nor schema.
590d18
590d18
Related to https://fedorahosted.org/freeipa/ticket/5130
590d18
590d18
Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
590d18
---
590d18
 ipalib/plugins/selinuxusermap.py | 2 +-
590d18
 1 file changed, 1 insertion(+), 1 deletion(-)
590d18
590d18
diff --git a/ipalib/plugins/selinuxusermap.py b/ipalib/plugins/selinuxusermap.py
590d18
index 76668b4692d4374fd09a83d6c28cb6cb2b20c958..e1a16af5004a5f4fd01166230ddd586068b6b556 100644
590d18
--- a/ipalib/plugins/selinuxusermap.py
590d18
+++ b/ipalib/plugins/selinuxusermap.py
590d18
@@ -143,7 +143,7 @@ class selinuxusermap(LDAPObject):
590d18
         'cn', 'ipaenabledflag',
590d18
         'description', 'usercategory', 'hostcategory',
590d18
         'ipaenabledflag', 'memberuser', 'memberhost',
590d18
-        'memberhostgroup', 'seealso', 'ipaselinuxuser',
590d18
+        'seealso', 'ipaselinuxuser',
590d18
     ]
590d18
     uuid_attribute = 'ipauniqueid'
590d18
     rdn_attribute = 'ipauniqueid'
590d18
-- 
590d18
2.4.3
590d18