Mercurial > prosody-modules
view mod_admin_web/admin_web/www_files/css/style.css @ 6319:04c3273cb81f
mod_auth_cyrus: Add empty 'profile' table to SASL handler objects
This is for compatibility with Prosody's built-in util.sasl objects.
A SASL profile table usually includes methods supported by the backend, which
can be used by SASL mechanism handlers to perform operations (such as testing
the password). It also optionally contains a 'cb' field with channel binding
method handlers.
The Cyrus backend doesn't support channel binding, and doesn't have the same
concept of auth backend methods (it handles all that internally, and Prosody
has no insight or control over it).
Thus, we create an empty profile which informs Prosody that the SASL handler
does not support any of the auth or channel binding methods. Some features
will not work, but they didn't work anyway. This just makes it explicit.
This fixes a traceback in mod_sasl2_fast, which expected SASL handlers to
always contain a 'profile' field.
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Thu, 04 Sep 2025 10:14:46 +0100 |
| parents | f53475ee7ff4 |
| children |
line wrap: on
line source
body { margin: 0 } a { color: #0000FF } #adhocCommands > ul { margin: 0 } .btn { margin-right: 0.3em } .btn:last-child { margin-right: 0 } #log_container { clear: both; display: none } #adhocCommands { border-right: solid 1px } #adhocCommands li { list-style: inside } #login { float: left; margin: 1em 2em 0 1em; padding-right: 1em; border: solid 1px; background: #eef0f2; color: #000000 } #main { display: none; margin: 1em } #main p { margin: 0 } #top { clear: both; width: 100%; padding: 0; } @media screen and (min-width: 757px) { #header { background: url(../images/blue_orange.png) repeat-x } } #header img { max-width: 100%; height: auto } #menu { display: none; color: #454748; font-size: 1.1em; background: #eef0f2; width: 100%; } #menu ul { display: inline; list-style-type: none; margin: 0; padding: 0.5em 0 } #menu li { display: inline; padding: 0 0.5em } #menu a { color: #454748; text-decoration: none } #menu li a:hover { color: #6197DF; text-decoration: underline } #selector { display: inline-block } #s2sList h2, #c2sList h2 { color: #4b8ade; margin: 0 } #s2sList li, #c2sList li { cursor: pointer } #host { margin: 0.25em; }
