Mercurial > prosody-modules
annotate mod_sasl2_bind2/README.md @ 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 | 86989059de5b |
| children |
| rev | line source |
|---|---|
|
5029
56b9f0b1409f
mod_sasl2_bind: Support for Bind 2.0 with SASL2
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
1 --- |
|
56b9f0b1409f
mod_sasl2_bind: Support for Bind 2.0 with SASL2
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
2 labels: |
|
5090
6947c34303cf
mod_sasl2_bind2: Update and expand README with current status
Matthew Wild <mwild1@gmail.com>
parents:
5029
diff
changeset
|
3 - Stage-Beta |
|
5029
56b9f0b1409f
mod_sasl2_bind: Support for Bind 2.0 with SASL2
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
4 summary: "Bind 2 integration with SASL2" |
|
5093
f2dfbcc676a6
mod_sasl2_bind2: Add explicit dependency on mod_sasl2
Kim Alvefur <zash@zash.se>
parents:
5090
diff
changeset
|
5 rockspec: |
|
f2dfbcc676a6
mod_sasl2_bind2: Add explicit dependency on mod_sasl2
Kim Alvefur <zash@zash.se>
parents:
5090
diff
changeset
|
6 dependencies: |
|
f2dfbcc676a6
mod_sasl2_bind2: Add explicit dependency on mod_sasl2
Kim Alvefur <zash@zash.se>
parents:
5090
diff
changeset
|
7 - mod_sasl2 |
|
5029
56b9f0b1409f
mod_sasl2_bind: Support for Bind 2.0 with SASL2
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
8 --- |
|
56b9f0b1409f
mod_sasl2_bind: Support for Bind 2.0 with SASL2
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
9 |
|
5090
6947c34303cf
mod_sasl2_bind2: Update and expand README with current status
Matthew Wild <mwild1@gmail.com>
parents:
5029
diff
changeset
|
10 Add support for [XEP-0386: Bind 2], which is a new method for clients to bind |
|
6078
82e830095b87
mod_sasl2_bind2: Update XEP status and Comp.
Menel <menel@snikket.de>
parents:
5093
diff
changeset
|
11 resources and establish sessions in XMPP, using SASL2. |
|
5090
6947c34303cf
mod_sasl2_bind2: Update and expand README with current status
Matthew Wild <mwild1@gmail.com>
parents:
5029
diff
changeset
|
12 |
|
6947c34303cf
mod_sasl2_bind2: Update and expand README with current status
Matthew Wild <mwild1@gmail.com>
parents:
5029
diff
changeset
|
13 This module depends on [mod_sasl2]. It exposes no configuration options. |
|
6078
82e830095b87
mod_sasl2_bind2: Update XEP status and Comp.
Menel <menel@snikket.de>
parents:
5093
diff
changeset
|
14 |
|
82e830095b87
mod_sasl2_bind2: Update XEP status and Comp.
Menel <menel@snikket.de>
parents:
5093
diff
changeset
|
15 # Compatibility |
|
82e830095b87
mod_sasl2_bind2: Update XEP status and Comp.
Menel <menel@snikket.de>
parents:
5093
diff
changeset
|
16 |
|
82e830095b87
mod_sasl2_bind2: Update XEP status and Comp.
Menel <menel@snikket.de>
parents:
5093
diff
changeset
|
17 Prosody-Version Status |
|
82e830095b87
mod_sasl2_bind2: Update XEP status and Comp.
Menel <menel@snikket.de>
parents:
5093
diff
changeset
|
18 --------------- ---------------------- |
|
6217
694f8fab07d4
: mod_sasl2*** : Update Compability for all of them
Menel <menel@snikket.de>
parents:
6078
diff
changeset
|
19 trunk Works as of 2025-05-25 |
|
6224
86989059de5b
:multibe Readme.md: correct prosody 0.13 to 13
Menel <menel@snikket.de>
parents:
6217
diff
changeset
|
20 13 Works |
|
6078
82e830095b87
mod_sasl2_bind2: Update XEP status and Comp.
Menel <menel@snikket.de>
parents:
5093
diff
changeset
|
21 0.12 Does not work |
