From b7fb17473294035471a12b84b47768babbc907b7 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Sat, 7 Nov 2015 02:06:52 +0100 Subject: 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 --- modules/sympa/templates/auth.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/sympa/templates/auth.conf b/modules/sympa/templates/auth.conf index 54af2fc5..af998b68 100644 --- a/modules/sympa/templates/auth.conf +++ b/modules/sympa/templates/auth.conf @@ -10,3 +10,4 @@ ldap bind_dn cn=sympa-<%= hostname %>,ou=System Accounts,<%= dc_suffix %> bind_password <%= ldap_password %> authentication_info_url <%= authentication_info_url %> + -- cgit v1.2.1