aboutsummaryrefslogtreecommitdiff
path: root/src/eldap_utils.erl (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-02-11Update copyright year to 2022Badlop1-1/+1
2021-01-27Update newest copyright year to 2021 (#3464)Badlop1-1/+1
2020-01-28Update copyright to 2020 (#3149)Badlop1-1/+1
2019-06-14Use new configuration validatorEvgeny Khramtsov1-168/+26
2019-01-08Update copyright to 2019 (#2756)Badlop1-1/+1
2018-09-09Fix some dialyzer warningsEvgeny Khramtsov1-18/+1
2018-06-14Get rid of ejabberd.hrl headerEvgeniy Khramtsov1-1/+0
The header consisted of too many unrelated stuff and macros misuse. Some stuff is moved into scram.hrl and type_compat.hrl. All macros have been replaced with the corresponding function calls. TODO: probably type_compat.hrl is not even needed anymore since we support only Erlang >= OTP 17.5
2018-01-23Introduce new gen_mod callback: mod_options/1Evgeniy Khramtsov1-10/+45
The callback is supposed to provide known options and their default values, as long as the documentation. Passing default values into get_mod functions is now deprecated: all defaults should be provided by the Mod:mod_options/1 callback.
2018-01-05Update copyright datesEvgeniy Khramtsov1-1/+1
2017-05-23Validate all certfiles on startupEvgeniy Khramtsov1-1/+9
2017-05-12Check presence of some files during option validationEvgeniy Khramtsov1-1/+1
2017-05-08Don't call gen_mod:get_opt() outside of modulesEvgeniy Khramtsov1-17/+26
2017-05-08Add type specs for Module:opt_type/1Evgeniy Khramtsov1-5/+18
2017-04-30Don't validate an option in gen_mod:get*opt() functionsEvgeniy Khramtsov1-50/+18
The changes are very similar to those from previous commit: * Now there is no need to pass validating function in gen_mod:get_opt() and gen_mod:get_module_opt() functions, because the modules' configuration keeps already validated values. * New functions gen_mod:get_opt/2 and gen_mod:get_module_opt/3 are introduced. * Functions gen_mod:get_opt/4 and get_module_opt/5 are deprecated. If the functions are still called, the "function" argument is simply ignored. * Validating callback Mod:listen_opt_type/1 is introduced to validate listening options at startup.
2017-04-28Don't re-define validation functions in multiple placesEvgeniy Khramtsov1-3/+19
2017-01-02Update copyright date automatically (#1442)Badlop1-1/+1
2016-01-13Update copyright to 2016 (#901)Badlop1-1/+1
2015-06-01Add config validation at startupEvgeniy Khramtsov1-10/+46
2015-06-01Do not try to fetch module options via eldap_utilsEvgeniy Khramtsov1-30/+12
2015-01-08Update copyright dates to 2015 (EJAB-1733)Badlop1-1/+1
2014-09-23Rename deref_aliases back to ldap_deref_aliasesHolger Weiss1-7/+22
The "ldap_deref_aliases" option has accidentally been renamed to "deref_aliases". Revert that change (but accept both names for a while), so that the option name now matches the documentation again.
2014-03-13Update copyright dates to 2014 (EJAB-1679)Badlop1-1/+1
2014-02-22Update FSF addressJamie Nguyen1-4/+3
2013-08-21Change configuration file format to YAMLEvgeniy Khramtsov1-1/+1
2013-06-13Switch to rebar build toolEvgeniy Khramtsov1-0/+1
Use dynamic Rebar configuration Make iconv dependency optional Disable transient_supervisors compile option Add hipe compilation support Only compile ibrowse and lhttpc when needed Make it possible to generate an OTP application release Add --enable-debug compile option Add --enable-all compiler option Add --enable-tools configure option Add --with-erlang configure option. Add --enable-erlang-version-check configure option. Add lager support Improve the test suite
2013-03-14Accumulated patch to binarize and indent codeBadlop1-40/+224
2013-01-24Update copyright datesAlexey Shchepin1-1/+1
2012-02-23Update copyright datesAlexey Shchepin1-1/+1
2011-12-19Replace regexp with ejabberd_regexpEvgeniy Khramtsov1-5/+6
2011-06-23Match ldap_uidattr_format case-insensitively (EJAB-1449)Evgeniy Khramtsov1-1/+8
2011-06-15Log an error when an LDAP filter is incorrect (EJAB-1395)Evgeniy Khramtsov1-0/+16
2011-02-14update copyright up to 2011Christophe Romain1-1/+1
2010-03-08now using "%u" pattern as default for ldap_uids (EJAB-1203)Evgeniy Khramtsov1-5/+7
2010-01-12Update year of ProcessOne copyright from 2009 to 2010 (EJAB-1159)Badlop1-1/+1
SVN Revision: 2891
2009-01-12* doc/guide.tex: Update copyright date 2008 to 2009 (EJAB-842)Badlop1-2/+2
* doc/guide.html: Likewise * src/*/*.erl: Likewise * src/*/*.erl: Remove unneeded blankspaces in license text SVN Revision: 1804
2008-07-31* doc/guide.tex: Update Process-one name to ProcessOne (EJAB-708)Badlop1-1/+1
* doc/guide.html: Likewise * doc/api/overview.edoc: Likewise * src/*/*.erl: Likewise * src/*/*.hrl: Likewise * src/*/*.c: Likewise * src/odbc/*.sql: Likewise SVN Revision: 1499
2008-01-15* doc/guide.tex: Updated copyright dates to 2008Badlop1-1/+1
* src/*: Likewise SVN Revision: 1153
2007-12-24* Applied copyright patch 3.Mickaël Rémond1-4/+22
SVN Revision: 1113
2007-12-06* src/acl.erl and other 64 files: Remove Erlang module attributeBadlop1-2/+1
'vsn' because it doesn't provide any worth feature, and it difficults hot code update (EJAB-440) SVN Revision: 1044
2007-11-15* Making sure SVN properties are correctly set.Mickaël Rémond1-2/+2
SVN Revision: 970
2007-01-27* src/mod_vcard_ldap.erl: LDAP server pool support (thanks to EvgeniyMickaël Rémond1-1/+17
Khramtsov) (EJAB-175) * src/eldap/Makefile.in: Likewise * src/ejabberd_auth_ldap.erl: Likewise * src/eldap_pool.erl: Likewise * src/eldap/eldap_utils.erl: Implemented LDAP domain substitution (EJAB-177) * src/eldap/eldap.erl: Implemented queue to avoid bind deadlock under heavy load (thanks to Evgeniy Khramtsov) (EJAB-176) * src/eldap/eldap.hrl: Likewise SVN Revision: 716
2006-11-04* src/eldap_utils.erl: Fixed missing export (EJAB-154).Mickaël Rémond1-1/+2
SVN Revision: 671
2006-10-17* src/ejabberd_auth_ldap.erl: LDAP authentication now allows toMickaël Rémond1-0/+110
match on several alternative attributes. * src/mod_vcard_ldap.erl: Likewise. * doc/guide.tex: Updated. * eldap_utils.erl: Refactoring. * src/eldap/Makefile.in: Likewise. SVN Revision: 661