https://bugs.exim.org/show_bug.cgi?id=3173

            Bug ID: 3173
           Summary: Exim 4.99 RADIUS authentication failed
           Product: Exim
           Version: 4.99
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: SMTP Authentication
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

RADIUS authentication doesn't work for me with Exim 4.99, but it works without
problems with 4.98.2.

Excerpt from the configuration:

begin authenticators
radius_login:
  driver = plaintext
  public_name = LOGIN
  server_prompts = Username:: : Password::
  server_condition = ${if radius{<| $auth1|$auth2}{yes}{no}}
  server_advertise_condition = ${if def:tls_in_cipher}
  server_set_id = ${sg{$auth1}{\N@.*@\N}{@}}


Debug output from Exim 4.98.2 (working correctly):

radius_login authenticator server_condition:
  $auth1 = benutzer
  $auth2 = geheim
  $1 = benutzer
  $2 = geheim
Running RADIUS authentication for user "benutzer" and "geheim"
RADIUS code returned 0
expanded string: yes
 compiled RE '@.*@' not found in local cache
 compiling RE '@.*@'
 compiled RE '@.*@' saved in local cache
SMTP>> 235 Authentication succeeded


Debug output from Exim 4.99 (not working):

radius_login authenticator server_condition:
  $auth1 = benutzer
  $auth2 = geheim
  $1 = benutzer
  $2 = geheim
Running RADIUS authentication for user "<| benutzer|geheim" and ""
RADIUS code returned 1
expanded string: no
 compiled RE '@.*@' not found in local cache
 compiling RE '@.*@'
 compiled RE '@.*@' saved in local cache
SMTP>> 535 Incorrect authentication data


The line "Running RADIUS authentication for user" suggests that changing the
list separator didn't work. This setting is important for me, because otherwise
passwords with colons as the first character won't work.

Furthermore, it says "expanded string: no" instead of "expanded string: yes".
Does the configuration need to be changed from Exim 4.98.2 to 4.99? If so, how?

Regards,
Heiko Schlichting

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

-- 
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
##   [email protected]
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to