dpward / rpms / sssd

Forked from rpms/sssd 3 years ago
Clone

Blame SOURCES/0148-VALIDATORS-Change-regex-for-app-domains.patch

bb7cd1
From b32bb7226b89777063e4cd49373ce86353abd74c Mon Sep 17 00:00:00 2001
bb7cd1
From: =?UTF-8?q?Michal=20=C5=BDidek?= <mzidek@redhat.com>
bb7cd1
Date: Tue, 30 May 2017 13:17:45 +0200
bb7cd1
Subject: [PATCH 148/152] VALIDATORS: Change regex for app domains
bb7cd1
MIME-Version: 1.0
bb7cd1
Content-Type: text/plain; charset=UTF-8
bb7cd1
Content-Transfer-Encoding: 8bit
bb7cd1
bb7cd1
Use the same restrictions for application domains that we use for
bb7cd1
normal domain.
bb7cd1
bb7cd1
Resolves:
bb7cd1
https://pagure.io/SSSD/sssd/issue/3356
bb7cd1
bb7cd1
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
bb7cd1
---
bb7cd1
 src/config/cfg_rules.ini | 3 ++-
bb7cd1
 1 file changed, 2 insertions(+), 1 deletion(-)
bb7cd1
bb7cd1
diff --git a/src/config/cfg_rules.ini b/src/config/cfg_rules.ini
bb7cd1
index 628f2e0e0a040bad5128d00d9348aa91170ed704..2c8c0cb98ed039c374c827775798f61369c1521e 100644
bb7cd1
--- a/src/config/cfg_rules.ini
bb7cd1
+++ b/src/config/cfg_rules.ini
bb7cd1
@@ -13,7 +13,8 @@ section = kcm
bb7cd1
 section_re = ^secrets/users/[0-9]\+$
bb7cd1
 section_re = ^domain/[^/\@]\+$
bb7cd1
 section_re = ^domain/[^/\@]\+/[^/\@]\+$
bb7cd1
-section_re = ^application/.*$
bb7cd1
+section_re = ^application/[^/\@]\+$
bb7cd1
+
bb7cd1
 
bb7cd1
 [rule/allowed_sssd_options]
bb7cd1
 validator = ini_allowed_options
bb7cd1
-- 
bb7cd1
2.9.4
bb7cd1