Commit Graph

67 Commits (54c77c0054c13aed866c19bec1179a886eaefea8)

Author SHA1 Message Date
Matthew Wild 4cac67d580 util.sasl: Add COMPAT comment 16 years ago
Waqas Hussain ae703e45bf util.sasl: Added compatibility workaround for jwchat sending an encoded trailing '\0' in SASL responses. 16 years ago
Waqas Hussain 8fc8a263c6 util.sasl: Improved a log message. 16 years ago
Waqas Hussain d8063b7436 util.sasl: Allow authzid=username (for compatibility with Smack's non-compliant behavior). 16 years ago
Waqas Hussain 715a48d5c3 util.sasl: Return proper error when client provides authzid. 16 years ago
Matthew Wild 7f7d80a4e8 util.sasl: Fix 2 global sets (one a tpyo) 17 years ago
Tobias Markmann c03e9b5ddc Allow ampersands in passwords for SASL PLAIN mechanism and fixing a typo. 17 years ago
Tobias Markmann 38bc2857bd Change variable name. The previous choice was too ugly looking. 17 years ago
Tobias Markmann fdf06e3692 Do SASLprep for SASL PLAIN mechanism to be more conform with RFC 4616. 17 years ago
Tobias Markmann 7ef662388b Moving realm at the beginning of the digest-md5 message send by the server. 17 years ago
Tobias Markmann a108ff1ca6 Fixing a SASL issue by always passing the realm from SASL framework init to the handlers. 17 years ago
nick f842b8417a Switch to using a more generic credentials_callback/handler for SASL auth. 17 years ago
Matthew Wild 1127f01f91 util.sasl: Convert spaces to tabs 17 years ago
Tobias Markmann ef8c8fb19f Move to-unicode conversion from mod_saslauth.lua to sasl.lua. 17 years ago
Tobias Markmann f5a6ea54cf Adjust PLAIN and DIGEST-MD5 mechanisms to new password_handler API. 17 years ago
Tobias Markmann 8be1d2e2d6 Adding COMPAT comment. 17 years ago
Waqas Hussain f39a3c3f1c util.sasl: Remove some nastiness 17 years ago
Tobias Markmann b35bf3760e . 17 years ago
Tobias Markmann 11bbb47e9c Some beauty treatment. 17 years ago
Tobias Markmann a8d9ed20fa Adding minimal support for authorization identities to workaround buggy SASL implementations. 17 years ago
Tobias Markmann 00122588ee adding RFC comment 17 years ago
Waqas Hussain babc0d7992 util/sasl: Removed unnecessary references to util.encodings.idna 17 years ago
Matthew Wild c80f91dc02 0.3->0.4 17 years ago
Tobias Markmann ee76996984 Adding TODO notice on UUIDs for usage with SASL ANONYMOUS. 17 years ago
Tobias Markmann 5affd107f0 Adding inital support for ANONYMOUS mechanism in SASL. 17 years ago
Matthew Wild c5ee166aa9 Update copyright notices for 2009 17 years ago
Waqas Hussain 9015fd411c sasl: Set realm to be the current realm when the client didn't send a realm, or sent an empty one 17 years ago
Waqas Hussain 5d25f17e02 sasl: Don't fail for realm="" 17 years ago
Matthew Wild d3ad4a5123 0.1 -> 0.2 17 years ago
Waqas Hussain ca2df50f6b Removed the unnecessary idna.to_ascii applied to the DIGEST-MD5 disgest-uri response values, which was causing auth failures with some clients. 17 years ago
Waqas Hussain 5b3c2cf167 Return error when the given realm value does not match the sent realm value. Prevents impersonation of an account on one virtual host, but a user with the same username on another host. 17 years ago
Waqas Hussain 2e6fcdb2d0 Latin1 support for SASL DIGEST-MD5 (second, and possibly final commit) 17 years ago
Waqas Hussain 0595c7a86c Latin1 support for SASL DIGEST-MD5 (initial commit) 17 years ago
Waqas Hussain 7ec231373f Fix for handling latin1 encoded hostnames in SASL 17 years ago
Matthew Wild 0c5cc83112 Insert copyright/license headers 17 years ago
Tobias Markmann 93aceeb147 Converting latin encoded responsed to utf-8 when needed. 17 years ago
Waqas Hussain 8932fbc85c Added function latin1toutf8 to sasl.lua, for processing non-utf8 responses 17 years ago
Tobias Markmann ae8f24b0bf Remove that idn stuff for realm because it's either an ugly hack that the password_handler isn't ready for or something worse. 17 years ago
Tobias Markmann d69635ec56 idna-to-unicode so password_handler looks for the right domain. 17 years ago
Tobias Markmann 9535a107ff Do idna-to-ascii to the realm we send first in Digest-MD5. 17 years ago
Tobias Markmann e20fe5e467 Apply IDNA to ASCII on hostnames. 17 years ago
Waqas Hussain c070aa7279 Added a FIXME 17 years ago
Waqas Hussain fa1df6cfe4 Improved the regexp used to parse the client response a bit. Authenticating with non-ascii realm values now works. 17 years ago
Tobias Markmann 8e2b0deb94 Do idna_to_ascii when building own response. 17 years ago
Waqas Hussain 631e249397 Completely switched to new hashes library from the old md5 library 17 years ago
Tobias Markmann 009fe2e38b Some ends too much. 17 years ago
Tobias Markmann 8e11baf028 Some changes to report more correct SASL failures. Support for disabled accounts. 17 years ago
Tobias Markmann 3bc6fdb526 Checking some variables for nil so no errors occur that'll break the server. 17 years ago
Tobias Markmann 74f2b0fd6f Removing some debug messages. 17 years ago
Tobias Markmann a06fac33d5 Made SASL module fit the new interface. 17 years ago