Commit graph

233 commits

Author SHA1 Message Date
Paul Aurich
ef8bc026b4 s2s: SASL EXTERNAL 2010-11-21 21:10:43 -08:00
Waqas Hussain
5f992383c5 mod_saslauth: Allow restarting SASL negotiation from scratch. 2010-11-02 22:23:07 +05:00
Waqas Hussain
f5e1cfc3b6 mod_saslauth: Separated processing of <auth/> and <response/> elements, and return proper error on out-of-order <response/> elements. 2010-11-02 22:05:19 +05:00
Waqas Hussain
3b185b580e mod_saslauth: Moved SASL mechanism selection and CDATA handling into separate functions. 2010-11-02 21:19:50 +05:00
Waqas Hussain
42756c02be mod_saslauth: Handle SASL <abort/> properly. 2010-11-02 15:07:25 +05:00
Waqas Hussain
747e485a9d mod_saslauth: Updated to use the new events API. 2010-10-16 07:18:01 +05:00
Waqas Hussain
159b5aed6f mod_saslauth: Improved logging a bit. 2010-10-16 05:16:45 +05:00
Waqas Hussain
2e66b95ef0 mod_saslauth: Updated to use the new events API. 2010-10-16 05:03:00 +05:00
Waqas Hussain
373662e4a6 mod_saslauth, mod_auth_cyrus, util.sasl_cyrus: Moved cyrus account provisioning check out of mod_saslauth. 2010-08-23 16:54:56 +05:00
Waqas Hussain
5207cd874e mod_saslauth: Get rid of the sasl_backend option (use auth modules instead). 2010-08-23 16:28:06 +05:00
Waqas Hussain
f17ecb66bc mod_saslauth: Get rid of most Cyrus SASL related code (use authentication='cyrus' instead). 2010-08-23 16:22:58 +05:00
Waqas Hussain
29db7ce7a6 mod_saslauth: Fixed a nil global access. 2010-07-31 15:16:15 +05:00
Waqas Hussain
0479f87585 mod_saslauth: Check for unencrypted PLAIN auth in mod_saslauth instead of the SASL handler (makes it work for Cyrus SASL). 2010-07-31 13:55:46 +05:00
Waqas Hussain
f1fed4a75d mod_saslauth: Move mandatory encryption enforcement to before sasl_handler:select(). 2010-07-31 13:49:22 +05:00
Waqas Hussain
143af24d62 mod_saslauth: Got rid of undocumented and useless 'sasl_realm' config option (was only used for anonymous auth, and that didn't make sense). 2010-07-18 17:50:38 +05:00
Waqas Hussain
5be7de51a6 mod_saslauth: Cleaned up unused requires. 2010-07-17 19:02:56 +05:00
Waqas Hussain
616d8ecbb0 mod_saslauth: A little cleanup for anonymous_login. 2010-07-17 18:58:25 +05:00
Waqas Hussain
fa595a9dd3 SASL: Simplified sasl_handler:mechanisms() to return a set, and not an array. 2010-07-14 19:56:57 +05:00
Matthew Wild
0dbf22f2ba mod_saslauth: Rename variable 'aret' to 'ok' as per convention 2010-07-12 16:44:56 +01:00
Matthew Wild
06982adcd2 Merge 0.7->trunk 2010-06-12 02:39:18 +01:00
Waqas Hussain
bb5877bcfa mod_saslauth: Return proper error on invalid usernames. 2010-06-11 21:01:17 +05:00
Waqas Hussain
9e6d86c402 mod_saslauth: Updated to use usermanager.get_sasl_handler. 2010-06-07 02:40:14 +05:00
Matthew Wild
396e106183 mod_saslauth: Fix log level 2010-06-04 13:55:39 +01:00
Jeff Mitchell
79df72e1a6 Correct out of order logic in mod_hashpassauth
Make saslauth check the existence of the get_password and test_password functions to determine which authentication profile to use.
2010-05-28 14:47:32 -04:00
Jeff Mitchell
990ed0f0b3 Check in mod_hashpassauth -- works! 2010-05-26 18:16:58 -04:00
Matthew Wild
58ceb41a94 mod_saslauth: Split out cyrus SASL config options into locals, and add support for cyrus_application_name (default: 'prosody') 2010-05-20 11:51:55 +01:00
Matthew Wild
9df44146a6 usermanager, mod_saslauth: Make account provisioning for Cyrus SASL optional (default: not required) 2010-05-20 11:32:24 +01:00
Matthew Wild
06fe337d67 mod_saslauth: Add return value and error message to the Cyrus SASL handle_status callback 2010-05-20 11:08:51 +01:00
Matthew Wild
e0c6bb2b56 mod_saslauth: Allow the Cyrus SASL realm to be configurable 2010-05-20 11:05:43 +01:00
Waqas Hussain
155c497847 mod_saslauth: Tidier code for SASL backend selection. 2010-03-23 20:17:46 +05:00
Waqas Hussain
e0f77c120d mod_saslauth: Fail with an error when the requested SASL backend cannot be used. 2010-03-23 20:11:39 +05:00
Matthew Wild
46c0b8c7f9 Merge 0.6->0.7 2010-03-22 17:24:55 +00:00
Matthew Wild
2bc0606453 Update copyright headers for 2010 2010-03-22 17:06:15 +00:00
Paul Aurich
5e9e92c9bf mod_saslauth: Add a sasl_realm option 2010-03-17 15:29:14 -07:00
Matthew Wild
8862e1b27e Merge 0.6.2/waqas with 0.6.2/MattJ 2010-03-03 22:05:05 +00:00
Matthew Wild
bd1934e306 mod_saslauth: Add FIXME to remind myself to fix this as soon as I have time 2010-03-01 16:23:26 +00:00
Matthew Wild
b73fce8d46 mod_saslauth: Unlock globals while loading cyrus 2010-03-01 16:02:59 +00:00
Matthew Wild
8900765d21 mod_saslauth: Log debug message with full error if cyrussasl couldn't be loaded 2010-02-15 22:56:36 +00:00
Matthew Wild
a7e7b8488b mod_saslauth: Correct syntax for gracefully handling a missing cyrussasl library 2010-02-15 22:56:15 +00:00
Waqas Hussain
93d80250eb mod_saslauth: Warn and fallback gracefully when Cyrus SASL is requested, but missing. 2010-02-15 02:51:07 +05:00
Matthew Wild
88c9871069 mod_saslauth: Don't print raw SASL data to avoid logging passwords unnecessarily 2010-02-13 19:35:12 +00:00
Waqas Hussain
98da041401 mod_saslauth: Hook stream-features event using new events API. 2010-02-12 04:25:37 +05:00
Waqas Hussain
df3c5d431b mod_saslauth: Fixed some indentation and added some semi-colons. 2010-01-11 19:17:26 +05:00
Waqas Hussain
2a388bda5c mod_saslauth: Made some variables local to avoid unnecessary global access. 2010-01-11 19:05:08 +05:00
Paul Aurich
af4bab0fbc mod_saslauth: Oops. 2010-01-03 10:07:20 -08:00
Paul Aurich
baafc1c47c mod_saslauth: Use module:get_option() 2010-01-03 09:51:01 -08:00
Paul Aurich
90edd26fd4 mod_saslauth: Add sasl_backend config parameter 2010-01-02 20:03:24 -08:00
Tobias Markmann
ea8ac406e6 mod_saslauth: Adjust sanitizing. 2009-12-23 23:13:39 +01:00
Tobias Markmann
04a38eb6c5 mod_saslauth: Sanitize debugging information so it won't break terminal emulation when using GSSAPI auth. 2009-12-23 23:09:44 +01:00
jorj
ec61c983ac added comment to remind us to fix binary output breaking the terminal
later
2009-12-23 16:45:03 -05:00