Bug 1533793
Summary: | Use Variable with mod_authnz_ldap | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Arthur Garnier <arthur.garnier> |
Component: | httpd | Assignee: | Luboš Uhliarik <luhliari> |
Status: | CLOSED ERRATA | QA Contact: | Maryna Nalbandian <mnalband> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.5 | CC: | bgollahe, bnater, fkrska, jhouska, jorton, luhliari, nbhumkar, rbdiri |
Target Milestone: | rc | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | httpd-2.4.6-82.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-10-30 11:19:05 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1549616 |
Description
Arthur Garnier
2018-01-12 09:08:31 UTC
Expressions in the ldap-* require directives are not supported in 2.4.6, per the documentation: https://httpd.apache.org/docs/2.4/mod/mod_authnz_ldap.html#requiredirectives "Since v2.4.8, expressions are supported within the LDAP require directives." We can look at backporting this for a future update to the package. Hi, My bad I didn't see this mention in the documentation. Yes it could be great if you could backport this feature in a future update (soon if possible...). Regards VERIFIED NEW PASS: httpd-2.4.6-88.el7 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 15:45:56 ] :: [ LOG ] :: Good contact -- autorised user % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 100 42 100 42 0 0 19 0 0:00:02 0:00:02 --:--:-- 19 100 42 100 42 0 0 19 0 0:00:02 0:00:02 --:--:-- 19 :: [ 15:45:58 ] :: [ PASS ] :: File 'output.good' should contain 'start-<!--#echo VAR="REMOTE_USER" -->-end' :: [ 15:45:58 ] :: [ LOG ] :: Bad contact -- unautorized user % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 477 100 477 0 0 4612 0 --:--:-- --:--:-- --:--:-- 4631 :: [ 15:45:58 ] :: [ PASS ] :: File 'output.bad' should contain '401 Unauthorized' :: [ 15:45:59 ] :: [ PASS ] :: Files output.bad and output.good should differ :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: OLD FAIL: httpd-2.4.6-80.el7_5.1. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 15:42:26 ] :: [ LOG ] :: Good contact -- autorised user % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 100 477 100 477 0 0 224 0 0:00:02 0:00:02 --:--:-- 224 :: [ 15:42:28 ] :: [ FAIL ] :: File 'output.good' should contain 'start-<!--#echo VAR="REMOTE_USER" -->-end' :: [ 15:42:28 ] :: [ LOG ] :: Bad contact -- unautorized user % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 477 100 477 0 0 4357 0 --:--:-- --:--:-- --:--:-- 4376 :: [ 15:42:28 ] :: [ PASS ] :: File 'output.bad' should contain '401 Unauthorized' :: [ 15:42:28 ] :: [ FAIL ] :: Files output.bad and output.good should differ :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:3211 |