Mailing List Archive

[Bug 411] New: cyrus_sasl authenticator sets wrong appname
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

http://www.exim.org/bugzilla/show_bug.cgi?id=411

Summary: cyrus_sasl authenticator sets wrong appname
Product: Exim
Version: 4.63
Platform: All
OS/Version: Linux
Status: NEW
Severity: bug
Priority: low
Component: SMTP Authentication
AssignedTo: ph10@hermes.cam.ac.uk
ReportedBy: jochen@schalanda.name
QAContact: exim-dev@exim.org


In lines 121 and 215 in ./src/auths/cyrus_sasl.c, the parameter appname of
sasl_server_init is hardcoded to "exim". sasl_server_init(3) says: "appname is
the name of the application. It is used for where to find the default
configuration file."

This causes the SASL library to search for the file "exim.conf" in the SASL
configuration directory instead of the value specified by server_service in the
Exim configuration.

IMHO the value off appname should be set to the value provided by the Exim
configuration or the default value "smtp" (as stated in the specification of
Exim).

--
Configure bugmail: http://www.exim.org/bugzilla/userprefs.cgi?tab=email

--
## List details at http://www.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##