Badlop
ef67ec4286
start/stop_modules/methods accept atom or list of atoms
2011-06-22 12:32:52 +02:00
Badlop
71bfa17354
Fix crash when SASL PLAIN denies auth (EJAB-1425)
2011-03-16 18:38:44 +01:00
Christophe Romain
4a2005f7cc
update copyright up to 2011
2011-02-14 13:47:22 +01:00
Badlop
897141c9e1
Delete obsolete modules, because now the standard ones use gen_storage
2010-12-23 14:19:59 +01:00
Badlop
fe909a45e9
Allow auth modules to provide SASL errors; default is "not-authorized".
...
See
http://tools.ietf.org/html/draft-saintandre-rfc3920bis-09#section-7.4
2010-12-23 13:27:24 +01:00
Evgeniy Khramtsov
30366dbe98
Add password entropy check (EJAB-1326)
2010-11-03 12:43:58 +01:00
Andreas Köhler
7f1759ab0a
Fix a ?DEBUG call in ejabberd_auth.
2010-08-18 13:22:34 +02:00
Badlop
3cb128963c
Fix ejabberd_auth:get_vh_registered_users/2 (thanks to Andreas Köhler)
2010-08-18 13:22:30 +02:00
Badlop
92dc45ad76
Don't call modules that were obsoleted by GS
2010-07-30 13:22:03 +02:00
Badlop
cdb379a22c
Patch core for MH (thanks to Alexey Shchepin and Geoff Cant)
2010-07-23 00:29:28 +02:00
Badlop
1a6c162371
Fix Dialyzer errors in auth modules
2010-06-10 00:52:38 +02:00
Badlop
9275a0020e
Handle error response from auth modules (thanks to Eric Liang)
2010-05-28 01:36:27 +02:00
Badlop
1bcd481fdc
Update year of ProcessOne copyright from 2009 to 2010 (EJAB-1159)
...
SVN Revision: 2892
2010-01-12 16:15:16 +00:00
Mickaël Rémond
7ed6614ad4
Added a comment to improve code as suggested by Dialyzer.
...
SVN Revision: 2871
2010-01-09 16:38:07 +00:00
Badlop
007cafa7cd
Fix EDoc errors.
...
SVN Revision: 2495
2009-08-17 17:17:34 +00:00
Badlop
43b59911e2
* src/cyrsasl.erl: Change API of check_password: pass a function
...
to generate the digest (thanks to Graham Whitted)(EJAB-863)
* src/cyrsasl_anonymous.erl: Likewise
* src/cyrsasl_digest.erl: Likewise
* src/cyrsasl_plain.erl: Likewise
* src/ejabberd_auth.erl: Likewise
* src/ejabberd_auth_anonymous.erl: Likewise
* src/ejabberd_auth_external.erl: Likewise
* src/ejabberd_auth_internal.erl: Likewise
* src/ejabberd_auth_ldap.erl: Likewise
* src/ejabberd_auth_odbc.erl: Likewise
* src/ejabberd_auth_pam.erl: Likewise
* src/ejabberd_c2s.erl: Likewise
SVN Revision: 2033
2009-04-22 11:44:03 +00:00
Badlop
7982492f50
* src/ejabberd_auth.erl: If anonymous auth is enabled, when
...
checking if the account already exists in other auth methods, take
into account if the auth method failed (EJAB-882)
* src/ejabberd_auth_anonymous.erl: Likewise
* src/ejabberd_auth_external.erl: Likewise
* src/ejabberd_auth_internal.erl: Likewise
* src/ejabberd_auth_ldap.erl: Likewise
* src/ejabberd_auth_odbc.erl: Likewise
* src/ejabberd_auth_pam.erl: Likewise
SVN Revision: 1966
2009-03-04 18:34:02 +00:00
Badlop
a5f70e15a2
* src/ejabberd_auth.erl: Password is undefined when using digest
...
SVN Revision: 1908
2009-02-21 14:41:29 +00:00
Pablo Polvorin
e989d41d50
"remove_user" hook actualized to expect binary arguments.
...
Fix webadmin code that performs addition / removal of users.
SVN Revision: 1892
2009-02-20 15:30:16 +00:00
Pablo Polvorin
ea62092d6e
src/ejabberd_auth.erl: Fix: for legacy authentication, the Digest parameters could be 'undefined'.
...
src/mod_muc/mod_muc_room.erl: Typo.
src/ejabberd_c2s.erl: Remove comment for an already done TODO.
SVN Revision: 1885
2009-02-18 13:48:06 +00:00
Christophe Romain
e977d099e2
prevent from calling get_vh_registered_users/2 when not available
...
SVN Revision: 1871
2009-02-13 15:01:55 +00:00
Jean-Sébastien Pédron
8290026940
o Document the type of the argument(s) and the returned type of every
...
functions.
o Add guardians expression to many functions of ejabberd_auth and
ejabberd_auth_anonymous to ensure at an early stage that we were given
the right arguments. Other modules are not changed because they are only
used by ejabberd_auth which already does the check.
PR: EJABP-1
SVN Revision: 1863
2009-02-05 11:13:01 +00:00
Jean-Sébastien Pédron
ff500d8297
Merge from trunk (r1787 to r1804).
...
Included are fixes to src/mod_configure.erl and src/mod_caps.erl.
Note: this merge doesn't include the following revisions because it was
made by previous commits:
r1766, r1768, r1781, r1783, r1794, r1797, r1799, r1802.
Warning: Ejabberd may be broken until the merge is completly finished.
PR: EJABP-1
SVN Revision: 1829
2009-01-19 14:47:33 +00:00
Jean-Sébastien Pédron
25009ff9f4
Merge from trunk (r1764 to r1787).
...
Warning: Ejabberd may be broken until the merge is completly finished.
PR: EJABP-1
SVN Revision: 1827
2009-01-19 11:59:40 +00:00
Jean-Sébastien Pédron
2cc2039ad8
Merge from trunk (r1734 to r1752).
...
Note: this merge doesn't include the following revisions because it was
made by previous commits:
r1737, r1740, r1745, r1747, r1748.
Additionnaly, any deprecated content was removed from jlib.hrl. This
leaves only the new RSM records.
Warning: Ejabberd may be broken until the merge is completly finished.
PR: EJABP-1
SVN Revision: 1824
2009-01-19 10:14:04 +00:00
Jean-Sébastien Pédron
ab2b70f189
Merge from trunk (r1613 to 1649).
...
PR: EJABP-1
SVN Revision: 1650
2008-10-13 10:11:19 +00:00
Jean-Sébastien Pédron
4eaa8e19c9
Merge from trunk (r1457 to r1563).
...
SVN Revision: 1564
2008-09-16 14:39:57 +00:00
Jean-Sébastien Pédron
7ca5bebab3
Convert to exmpp.
...
SVN Revision: 1422
2008-07-09 09:16:03 +00:00
Badlop
96f0c001d9
* src/ejabberd_auth.erl: Improve anonymous authentication to not
...
remove rosters accidentally (EJAB-549). New functions in
ejabberd_auth to get/check password and know which module accepted
the authentication. New element 'auth_module' in ejabberd_c2s
record 'statedata'. Cyrsasl provides a new property in the
response: {auth_module, AuthModule}.
* src/ejabberd_auth_anonymous.erl: Likewise
* src/ejabberd_c2s.erl: Likewise
* src/cyrsasl_anonymous.erl: Likewise
* src/cyrsasl_digest.erl: Likewise
* src/cyrsasl_plain.erl: Likewise
SVN Revision: 1297
2008-04-22 17:41:30 +00:00
Christophe Romain
b2bd9759c8
Rewrite io:format calls to loglevel macros (EJAB-555)
...
SVN Revision: 1239
2008-03-21 14:44:16 +00:00
Mickaël Rémond
6e3ac3a5a0
* src/ejabberd_config.erl: dirty_get_registered_users now correctly returns all users for all vhosts no matter which back-end is used (EJAB-527)
...
* src/ejabberd_auth_odbc.erl: Likewise
* src/ejabberd_auth_internal.erl: Likewise
* src/ejabberd_auth.erl: Likewise
* src/ejabberd_auth_external.erl: Likewise
* src/ejabberd_auth_ldap.erl: Likewise
SVN Revision: 1198
2008-02-19 13:49:29 +00:00
Mickaël Rémond
0ae7f15ce7
* src/ejabberd_auth.erl: Do not allow empty password at creation. On authent, check in all cases that password is not empty.
...
* src/ejabberd_auth_odbc.erl: Likewise
* src/ejabberd_auth_internal.erl: Likewise
* src/ejabberd_auth_external.erl: Likewise
SVN Revision: 1183
2008-02-11 18:19:42 +00:00
Badlop
2d2fcc8210
* doc/guide.tex: Updated copyright dates to 2008
...
* src/*: Likewise
SVN Revision: 1153
2008-01-15 17:02:57 +00:00
Mickaël Rémond
56fe3579bb
* Applied copyright update patch 1.
...
SVN Revision: 1110
2007-12-24 11:41:41 +00:00
Badlop
d625fc80fc
* src/acl.erl and other 64 files: Remove Erlang module attribute
...
'vsn' because it doesn't provide any worth feature, and it
difficults hot code update (EJAB-440)
SVN Revision: 1044
2007-12-06 22:12:27 +00:00
Christophe Romain
d7d34f87e7
Better count management and batch users retrieval internal database
...
SVN Revision: 972
2007-11-16 13:58:00 +00:00
Mickaël Rémond
d6967f2745
* src/ejabberd_auth.erl: Better count management and batch users retrieval for relational database (Thanks to Massimiliano Mirra).
...
* src/ejabberd_auth_odbc.erl: Likewise.
* src/odbc/odbc_queries.erl: Likewise.
SVN Revision: 968
2007-11-03 17:35:23 +00:00
Alexey Shchepin
8aab10d28c
* src/ejabberd_auth.erl: Added get_vh_registered_users_number/1
...
function
* src/ejabberd_auth_odbc.erl: Likewise
* src/odbc/odbc_queries.erl: Added users_number/1 function
* src/ejabberd.cfg.example: Added an example for
pgsql_users_number_estimate option
SVN Revision: 766
2007-05-12 18:09:38 +00:00
Mickaël Rémond
6bf03a683d
* src/ejabberd_auth.erl: Better handling of errors when the server for
...
authentication is unknown.
SVN Revision: 585
2006-07-05 14:36:21 +00:00
Mickaël Rémond
bd276f0b07
* src/ejabberd_auth.erl: Fixed broken multiple connection with
...
anonymous login problem (EJAB-107).
* src/ejabberd_auth_anonymous.erl: Likewise.
SVN Revision: 579
2006-06-13 16:52:38 +00:00
Alexey Shchepin
c4b976881e
* src/msgs/pt-br.msg: Updated (thanks to Lucius Curado)
...
* src/xml_stream.erl: Support for stanza size limit (thanks to
Igor Goryachev)
* src/ejabberd_receiver.erl: Likewise
* src/ejabberd_c2s.erl: Likewise
* src/ejabberd_s2s_in.erl: Likewise
* src/ejabberd.cfg.example: Updated
* src/ejabberd_auth.erl: Fixed try_register/3 behaviour
SVN Revision: 537
2006-04-22 03:35:13 +00:00
Mickaël Rémond
8688bc508f
* src/ejabberd_auth.erl: Bugfix: We now are forced to check is an
...
anonymous user is log under a given user name before trying to register
it.
SVN Revision: 535
2006-04-20 17:51:29 +00:00
Alexey Shchepin
9a44fdffab
* src/ejabberd_sm.erl: SASL Anonymous + Anonymous login support
...
(thanks to Mickael Remond and Magnus Henoch)
* src/ejabberd_c2s.erl: Likewise
* src/ejabberd_auth.erl: Likewise
* src/ejabberd_auth_anonymous.erl: Likewise
* src/cyrsasl.erl: Likewise
* src/cyrsasl_anonymous.erl: Likewise
* src/ejabberd.cfg.example: Likewise
SVN Revision: 527
2006-04-07 00:39:24 +00:00
Alexey Shchepin
80181dc618
* src/ejabberd_ctl.erl: Added API for virtual host specific
...
commands, removed registered-users command
* src/ejabberd_auth.erl: Added processing of registered-users
command
* src/ejabberd_auth_internal.erl: Likewise
* src/ejabberd_auth_ldap.erl: Likewise
* src/ejabberd_auth_odbc.erl: Likewise
* src/ejabberd_app.erl: Added inititalization of ejabberd_ctl
* src/ejabberd_sm.erl: Minor update
SVN Revision: 510
2006-02-20 04:07:42 +00:00
Mickaël Rémond
2f0cf8bce8
* src/ejabberd_auth.erl: plugin authentication modules can now
...
be used in the configuration file: {auth_method, module} will
now use the module ejabberd_auth_module.erl for authentication.
(EJAB-45)
SVN Revision: 501
2006-02-07 17:35:32 +00:00
Alexey Shchepin
3202705ad6
* src/mod_register.erl: Bugfix
...
* src/mod_vcard.erl: Bugfix
* src/ejabberd_app.erl: Updated to allow different authentication
methods for different virtual hosts
* src/ejabberd_auth.erl: Likewise
* src/ejabberd_auth_external.erl: Likewise
* src/ejabberd_auth_internal.erl: Likewise
* src/ejabberd_auth_ldap.erl: Likewise
* src/ejabberd_auth_odbc.erl: Likewise
* src/cyrsasl.erl: Likewise
* src/cyrsasl_digest.erl: Likewise
* src/cyrsasl_plain.erl: Likewise
* src/ejabberd_c2s.erl: Likewise
* src/ejabberd_config.erl: Likewise
* src/extauth.erl: Likewise
* src/mod_last_odbc.erl: Likewise
* src/mod_offline_odbc.erl: Likewise
* src/mod_roster_odbc.erl: Likewise
* src/odbc/ejabberd_odbc.erl: Likewise
* src/odbc/ejabberd_odbc_sup.erl: Likewise
SVN Revision: 374
2005-07-13 03:24:13 +00:00
Alexey Shchepin
fa479b6384
* src/ejabberd_auth.erl: Added check for domain of registered user
...
* src/web/ejabberd_web_admin.erl: Fixed user registration via web
interface, fixed path to user's offline messages (thanks to
Mickael Remond)
SVN Revision: 323
2005-04-19 23:10:22 +00:00
tmallard
374446f847
Merged the Process One contributions ( Virtual Hosting )
...
SVN Revision: 307
2005-04-17 18:08:34 +00:00
Alexey Shchepin
8c8e3469bc
* src/odbc/pg.sql: DB creation script for postgres
...
* src/odbc/ejabberd_odbc.erl: Experimental support for ODBC
* src/mod_last_odbc.erl: Likewise
* src/mod_offline_odbc.erl: Likewise
* src/ejabberd_auth_odbc.erl: Likewise
* src/ejabberd_auth.erl: Likewise
SVN Revision: 292
2004-12-13 23:00:12 +00:00
Alexey Shchepin
591bc42669
* src/ejabberd_sm.erl: Added unset_presence_hook
...
* src/mod_last.erl: Use unset_presence_hook instead of direct call
* src/ejabberd_auth.erl: Splitted into ejabberd_auth_internal.erl,
ejabberd_auth_ldap.erl, and ejabberd_auth_external.erl,
* src/ejabberd_auth_internal.erl: Likewise
* src/ejabberd_auth_ldap.erl: Likewise
* src/ejabberd_auth_external.erl: Likewise
SVN Revision: 290
2004-12-12 21:00:34 +00:00