[exim-dev] [Bug 1668] RFE: sasl_user_exists condition

Góra strony
Delete this message
Reply to this message
Autor: admin
Data:  
Dla: exim-dev
Stare tematy: [exim-dev] [Bug 1668] New: RFE: sasl_user_exists condition
Temat: [exim-dev] [Bug 1668] RFE: sasl_user_exists condition
https://bugs.exim.org/show_bug.cgi?id=1668

--- Comment #8 from Robert Richmond <bob@???> ---
I attempted to write a test for this, but anything useful would require the
ability to mock up a sasldb with a known user that exists or known not to
exist. The only existing test for cyrus sasl support is 9300, and it only
checks for a user that doesn't exist, using whatever is in the system database.
And it's difficult to override the location where the sasl database would be
read from without adding the ability to pass other user-defined cyrus-sasl
configuration options to sasl_server_init (currently only mech_list is user
supplied).

If you could pass arbitrary options to sasl_server_init, you could override
sasldb_path, and supply a path to a test fixture to authenticate users from a
supplied test database.

Would there be interest in adding support for supplying user-specified
configuration options to sasl_server_init?

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