Commit Graph

37 Commits (bc402b6409639f130f2ef7f13c9e240194de859c)

Author SHA1 Message Date
Kim Alvefur 43b814a83b vairious: Add annotation when an empty environment is set [luacheck] 8 years ago
Kim Alvefur eaa823a597 util.*: Remove use of module() function, make all module functions local and return them in a table at the end 11 years ago
Florian Zeitz 1d833bb807 Remove all trailing whitespace 13 years ago
Matthew Wild 9306fa4979 mod_auth_cyrus, util.sasl_cyrus: Add new option 'cyrus_server_fqdn' to override the hostname passed to Cyrus (and used in e.g. GSSAPI/Kerberos) - fixes #295 14 years ago
Waqas Hussain 372813b78e util.sasl, util.sasl_cyrus: Mechanism selection cleaned up to be more consistent. 16 years ago
Waqas Hussain 310785e05e util.sasl, util.sasl_cyrus: Load mechanisms list early rather than lazily, as they are always loaded anyway. 16 years ago
Waqas Hussain 373662e4a6 mod_saslauth, mod_auth_cyrus, util.sasl_cyrus: Moved cyrus account provisioning check out of mod_saslauth. 16 years ago
Waqas Hussain 06fbe2e853 util.sasl_cyrus: Spaces -> tabs. 16 years ago
Waqas Hussain faa99714fc util.sasl_cyrus: Make multi-step SASL mechanisms work correctly. 16 years ago
Waqas Hussain 90c9e3ccc8 util.sasl, util.sasl_cyrus: Removed a ton of unused variables. 16 years ago
Waqas Hussain 185399af4d util.sasl_cyrus: Cleanup. 16 years ago
Waqas Hussain 714eb9da1b util.sasl_cyrus: Removed method:forbidden(). 16 years ago
Waqas Hussain dbaf695730 util.sasl, util.sasl_cyrus: s/self.mechanisms()/self:mechanisms()/ in method:select(). 16 years ago
Waqas Hussain 74f1fca10e util.sasl, util.sasl_cyrus: Use method:mechanisms() in method:select(), instead of using the mechanisms list directly (fixes a traceback). 16 years ago
Waqas Hussain 81c3a58d1f util.sasl, util.sasl_cyrus: Updated method:mechanisms() to cache and re-use list of mechanisms. 16 years ago
Waqas Hussain fa595a9dd3 SASL: Simplified sasl_handler:mechanisms() to return a set, and not an array. 16 years ago
Waqas Hussain 33b8a56bf8 util.sasl_cyrus: Return error strings using the new table mapping error codes to strings. 16 years ago
Waqas Hussain 3fb552cc7a util.sasl_cyrus: Added a table mapping error codes to strings. 16 years ago
Waqas Hussain c49bc6b710 util.sasl_cyrus: Log the textual representation of unknown Cyrus SASL errors, not just the error code. 16 years ago
Waqas Hussain fc73419e7f util.sasl_cyrus: Log the textual representation of unknown Cyrus SASL errors, not just the error code. 16 years ago
Waqas Hussain bf495a7c62 util.sasl_cyrus: Log the textual representation of unknown Cyrus SASL errors, not just the error code. 16 years ago
Matthew Wild 95f7a472e0 util.sasl_cyrus: Support for specifying the application name (to pass to Cyrus SASL's init()) 16 years ago
Matthew Wild 367052b111 util.sasl_cyrus: Return invalid-mechanism instead of undefined-condition where appropriate 16 years ago
Matthew Wild d8c2bb590c util.sasl_cyrus: Clarify some log messages and levels 16 years ago
Paul Aurich 8ec1bec1fe util.sasl_cyrus: Protect the call to cyrussasl.server_new properly. 16 years ago
Paul Aurich f858b0f258 util.sasl_cyrus: If available, use a c14n callback for interoperability with bad clients. 16 years ago
Paul Aurich 11b625e4eb util.sasl_cyrus: If available, use a c14n callback for interoperability with bad clients. 16 years ago
Paul Aurich a99005ba14 util.cyrus_sasl: Pass the realm to Cyrus 16 years ago
Paul Aurich 94fe1f3568 util.cyrus_sasl: Pass the realm to Cyrus 16 years ago
Waqas Hussain 969ea466e4 util.sasl_cyrus: Ensure the mechanisms table is available after a failed auth attempt. 16 years ago
Waqas Hussain 4bf01bb76b util.sasl_cyrus: Add text message from cyrussasl to <not-authorized/> errors. 17 years ago
Tobias Markmann 52fe0318ef util.sasl_cyrus: Report an error if Cyrus SASL init fails. 17 years ago
Tobias Markmann 8b90969a60 util.sasl_cyrus: Removing whitespace. 17 years ago
Tobias Markmann d121f0332f util.sasl_cyrus: Automatically initialize Cyrus SASL with the first used service name. 17 years ago
Tobias Markmann 9936532e18 util.sasl_cyrus: Change variable name. 17 years ago
Tobias Markmann 5915724fd2 util.sasl_cyrus: Fixing cyrus mechanism list parsing. (Thanks darkrain) 17 years ago
jorj 6a6004339d first working version with Cyrus SASL support. 17 years ago
Tobias Markmann ebc2fcb9e2 util.sasl_cyrus: Further fixing and cleanup. 17 years ago
Tobias Markmann 9dc560b2a8 util.sasl_cyrus: Initializing Cyrus SASL library and a bit cleanup. 17 years ago
Tobias Markmann 9d6dd22165 util.sasl_cyrus: Log errors if CyrusSASL init fails. 17 years ago
Tobias Markmann edc52a67f0 Adding sasl_cyrus.lua. A sasl.lua drop-in replacement to use CyrusSASL for all c2s authentication. 17 years ago
Tobias Markmann d3bf83037f util.sasl: Move some variables to local space. Fix a bug. 17 years ago
Tobias Markmann 44b3480e14 util.sasl: Adding clean_clone() method. 17 years ago
Waqas Hussain 2f06e65cd6 util.sasl.plain: Allow empty authzid (thanks bjc). 17 years ago
Tobias Markmann 406173262f Cleaning up. 17 years ago
Tobias Markmann 517d02616e Tidying up. 17 years ago
Tobias Markmann 2519d3119c Enable restriction of supported mechanisms in the SASL library. 17 years ago
Matthew Wild 4cac67d580 util.sasl: Add COMPAT comment 17 years ago
Waqas Hussain ae703e45bf util.sasl: Added compatibility workaround for jwchat sending an encoded trailing '\0' in SASL responses. 17 years ago
Tobias Markmann b0f89bf885 Making interop with libpurple. (Thanks darkrain). 17 years ago