Bug 17009 - No login field on Mailing list page ml.mageia.org
Summary: No login field on Mailing list page ml.mageia.org
Status: RESOLVED FIXED
Alias: None
Product: Websites
Classification: Unclassified
Component: identity.mageia.org (show other bugs)
Version: trunk
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Sysadmin Team
QA Contact:
URL: http://ml.mageia.org
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-25 00:58 CEST by psyca
Modified: 2015-11-07 18:12 CET (History)
7 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description psyca 2015-10-25 00:58:59 CEST
Description of problem:
The Login field/Button for ml.mageia.org is missing on the page. You cannot login to this page.

Tested with Firefox and Chromium

Reproducible: 

Steps to Reproduce:
Comment 1 Claire Revillet 2015-10-25 14:15:45 CET
@sysadmins:

I confirm that there is a problem with top bar of the sympa page (iirc the login link was in the top bar)

CC: (none) => grenoya
Assignee: atelier-bugs => sysadmin-bugs

Comment 2 Rémi Verschelde 2015-10-25 16:42:34 CET
Also reported here: https://ml.mageia.org/l/arc/sysadmin-discuss/2015-10/msg00044.html

According to neoclust it could be that Sympa can't reach LDAP.

Component: Other => identity.mageia.org

Comment 3 Thomas Backlund 2015-10-25 21:04:49 CET
Hm, thats weird... I have not really changed anything regarding ldap or sympa yet

Will look into it

CC: (none) => tmb

claire robinson 2015-10-29 22:17:23 CET

CC: (none) => eeeemail, lewyssmith

Dave Hodgins 2015-10-29 22:56:05 CET

CC: (none) => davidwhodgins

Comment 4 Mageia Robot 2015-11-07 02:09:35 CET
commit b7fb17473294035471a12b84b47768babbc907b7
Author: Olivier Blin <dev@...>
Date:   Sat Nov 7 02:06:52 2015 +0100

    Revert lint fix on sympa auth.conf to get back login fields (mga#17009)
    
    sympa does not seem to parse auth.conf properly if there is no extra
    newline at the end of file.
    
    Matching code in /usr/share/sympa/lib/Conf.pm:
            }elsif (/^\s*(ldap|cas|user_table|generic_sso)\s*$/io) {
                $current_paragraph->{'auth_type'} = lc($1);
    
    perlre man page says the following about the /o modifier in regexps:
    o  - pretend to optimize your code, but actually introduce bugs
---
 Commit Link:
   http://gitweb.mageia.org/infrastructure/puppet/commit/?id=b7fb17473294035471a12b84b47768babbc907b7
Comment 5 Olivier Blin 2015-11-07 02:12:03 CET
Fixed by adding back an extra newline in the auth.conf file.

Maybe a side-effect of perl's /o modifier for regexps, which is documented as introducing bugs...

Status: NEW => RESOLVED
CC: (none) => mageia, pterjan, thierry.vignaud
Resolution: (none) => FIXED

Lewis Smith 2015-11-07 18:12:04 CET

CC: lewyssmith => (none)


Note You need to log in before you can comment on or make changes to this bug.