|
|
9991ea |
From b3d761fb187f08d910df0bee420e9ed3b23d035f Mon Sep 17 00:00:00 2001
|
|
|
9991ea |
From: Jan Cholasta <jcholast@redhat.com>
|
|
|
9991ea |
Date: Thu, 6 Feb 2014 12:33:43 +0100
|
|
|
9991ea |
Subject: [PATCH 44/46] Remove sourcehostcategory from the default HBAC rule.
|
|
|
9991ea |
|
|
|
9991ea |
https://fedorahosted.org/freeipa/ticket/4158
|
|
|
9991ea |
|
|
|
9991ea |
Reviewed-By: Martin Kosek <mkosek@redhat.com>
|
|
|
9991ea |
---
|
|
|
9991ea |
install/share/default-hbac.ldif | 1 -
|
|
|
9991ea |
ipalib/plugins/hbacrule.py | 2 +-
|
|
|
9991ea |
2 files changed, 1 insertion(+), 2 deletions(-)
|
|
|
9991ea |
|
|
|
9991ea |
diff --git a/install/share/default-hbac.ldif b/install/share/default-hbac.ldif
|
|
|
9991ea |
index b7b6ba28453b867fa142d038b1e35e162dac800f..52fd30ec9ac4e01f68d9cc6a94fb4cc15177e10b 100644
|
|
|
9991ea |
--- a/install/share/default-hbac.ldif
|
|
|
9991ea |
+++ b/install/share/default-hbac.ldif
|
|
|
9991ea |
@@ -7,7 +7,6 @@ dn:
|
|
|
9991ea |
accessruletype: allow
|
|
|
9991ea |
usercategory: all
|
|
|
9991ea |
hostcategory: all
|
|
|
9991ea |
-sourcehostcategory: all
|
|
|
9991ea |
servicecategory: all
|
|
|
9991ea |
ipaenabledflag: TRUE
|
|
|
9991ea |
description: Allow all users to access any host from any host
|
|
|
9991ea |
diff --git a/ipalib/plugins/hbacrule.py b/ipalib/plugins/hbacrule.py
|
|
|
9991ea |
index 5cc8bc1a34de38ce5c5f6faf8ea24ee6873bf0b7..daf165346ba67c6525f7ab2034519c7a03fd3394 100644
|
|
|
9991ea |
--- a/ipalib/plugins/hbacrule.py
|
|
|
9991ea |
+++ b/ipalib/plugins/hbacrule.py
|
|
|
9991ea |
@@ -118,7 +118,7 @@ class hbacrule(LDAPObject):
|
|
|
9991ea |
default_attributes = [
|
|
|
9991ea |
'cn', 'ipaenabledflag',
|
|
|
9991ea |
'description', 'usercategory', 'hostcategory',
|
|
|
9991ea |
- 'sourcehostcategory', 'servicecategory', 'ipaenabledflag',
|
|
|
9991ea |
+ 'servicecategory', 'ipaenabledflag',
|
|
|
9991ea |
'memberuser', 'sourcehost', 'memberhost', 'memberservice',
|
|
|
9991ea |
'memberhostgroup', 'externalhost',
|
|
|
9991ea |
]
|
|
|
9991ea |
--
|
|
|
9991ea |
1.8.5.3
|
|
|
9991ea |
|