[PATCH] [bugfix] Ticket 114 - pattern match of RHEL6/input/checks/file_owner_ldap_server_files.xml

Shawn Wells shawn.d.wells at gmail.com
Sat Apr 20 06:57:30 UTC 2013


-------------- next part --------------
>From eae164299e247e1b64ce51a214283ea13bded914 Mon Sep 17 00:00:00 2001
From: Shawn Wells <shawn at redhat.com>
Date: Sat, 20 Apr 2013 02:56:09 -0400
Subject: [PATCH] [bugfix] Ticket 114 - pattern match of RHEL6/input/checks/file_owner_ldap_server_files.xml
 regex needed to be ".*" not "*"

Thanks gapinski for reporting!
---
 .../input/checks/file_owner_ldap_server_files.xml  |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/RHEL6/input/checks/file_owner_ldap_server_files.xml b/RHEL6/input/checks/file_owner_ldap_server_files.xml
index adfe04f..b4428da 100644
--- a/RHEL6/input/checks/file_owner_ldap_server_files.xml
+++ b/RHEL6/input/checks/file_owner_ldap_server_files.xml
@@ -26,6 +26,6 @@
   <unix:file_object comment="/var/lib/ldap/*"
   id="obj_20143" version="1">
     <unix:path>/var/lib/ldap</unix:path>
-    <unix:filename operation="pattern match">*</unix:filename>
+    <unix:filename operation="pattern match">.*</unix:filename>
   </unix:file_object>
 </def-group>
-- 
1.7.1



More information about the scap-security-guide mailing list