Use SASL authzid as client identity if auth module permits it#524
Use SASL authzid as client identity if auth module permits it#524zinid merged 2 commits intoprocessone:masterfrom
Conversation
3165f49 to
5263ee9
Compare
|
What do you mean DIGEST-MD5 might not work? It's still in use. Or it might not work with SASL proxy authentication, but will work for sure with regular SASL? |
|
I may have broken SASL DIGEST here. I did not test it. It is deprecated In favour of SCRAM so I did not pay attention to it. |
8ce9b9d to
07ec735
Compare
|
Digest auth fixed. This should probably be good to merge now. The test failures are MUC related, which I havn't touched here. |
c52aefd to
b46f9c4
Compare
|
I've finally managed to get the test suite running locally, and it does indeed appear that there remain issues with DIGEST auth, which I will fix ASAP. |
|
@benlangfeld good |
f462be7 to
6946a34
Compare
This allows the authentication modules to perform SASL proxy authentication. It puts the onus on them to authorize the authcid to masquerade as the authzid. Doesn't currently implement such functionality in existing auth modules, since they cannot currently codify a relationship between the two identities. Does not permit the authzid to use a domain differently from the one of the connection. Note: digest might not work, but I have no interest in it, being deprecated.
6946a34 to
917d48f
Compare
|
This should be good to go now. What are the chances of it making it into 15.05? |
|
Is there any chance this might be reviewed for inclusion? |
|
💃 Thanks @zinid! |
|
@benlangfeld Cool 👍 |
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This allows the authentication modules to perform SASL proxy authentication. It puts the onus on them to authorize the authcid to masquerade as the authzid. Doesn't currently implement such functionality in existing auth modules, since they cannot currently codify a relationship between the two identities. Does not permit the authzid to use a domain differently from the one of the connection.
Note: digest might not work, but I have no interest in it, being deprecated.