[exim-dev] [Bug 2297] New: Authentication using PAM fails if…

Top Page
Delete this message
Reply to this message
Author: admin
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 2297] New: Authentication using PAM fails if there is colon characters in a password
https://bugs.exim.org/show_bug.cgi?id=2297

            Bug ID: 2297
           Summary: Authentication using PAM fails if there is colon
                    characters in a password
           Product: Exim
           Version: 4.90
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: SMTP Authentication
          Assignee: jgh146exb@???
          Reporter: zhman86@???
                CC: exim-dev@???


Authentication fails if there is a colon (':') character in a password



For instance I used the two passwords below to check the issue.
am7queiHio:
h$<:Y;!G4WOIu*\`2`j1

Authenticator in exim.conf:
################pam https://github.com/Exim/exim/wiki/AuthenticatedSmtpUsingPam
PLAIN:
driver = plaintext
server_prompts = :
server_condition = "${if pam{$auth2:$auth3}{yes}{no}}"
server_set_id = $auth2
server_advertise_condition = ${if def:tls_in_cipher }

LOGIN:
driver = plaintext
server_prompts = "Username:: : Password::"
server_condition = "${if pam{$auth1:$auth2}{yes}{no}}"
server_set_id = $auth1
server_advertise_condition = ${if def:tls_in_cipher }

-------------
Additional info:
exim-4.90.1-3.el7.x86_64

exim --version
Exim version 4.90_1 #2 built 14-Mar-2018 08:32:15

OS: Linux centos 7 3.10.0-862.3.2.el7.x86_64 #1 SMP Mon May 21 23:36:36 UTC
2018 x86_64 x86_64 x86_64 GNU/Linux

--
You are receiving this mail because:
You are on the CC list for the bug.