summaryrefslogtreecommitdiff
path: root/modules/extra/m_ldap_authentication.cpp
AgeCommit message (Collapse)Author
2015-12-14New source tree structure for modules. From commands/cs_access => ↵Adam
chanserv/access etc.
2015-10-27Merge branch '2.0' into 2.1Adam
2015-03-11Redesign m_ldap to no longer rely on undefined behaviorAdam
Accessing the same LDAP* from multiple threads at once is always undefined, even if one thread is just polling ldap_result. Instead keep one thread per connection and issue blocking queries on the thread.
2015-01-05Merge branch '2.0' into 2.1Adam
Conflicts: CMakeLists.txt include/modules.h include/serialize.h modules/commands/bs_assign.cpp modules/commands/bs_badwords.cpp modules/commands/bs_bot.cpp modules/commands/bs_control.cpp modules/commands/bs_kick.cpp modules/commands/cs_access.cpp modules/commands/cs_akick.cpp modules/commands/cs_drop.cpp modules/commands/cs_entrymsg.cpp modules/commands/cs_flags.cpp modules/commands/cs_info.cpp modules/commands/cs_invite.cpp modules/commands/cs_kick.cpp modules/commands/cs_mode.cpp modules/commands/cs_register.cpp modules/commands/cs_seen.cpp modules/commands/cs_set.cpp modules/commands/cs_suspend.cpp modules/commands/cs_topic.cpp modules/commands/cs_unban.cpp modules/commands/cs_xop.cpp modules/commands/hs_del.cpp modules/commands/hs_list.cpp modules/commands/hs_request.cpp modules/commands/ms_ignore.cpp modules/commands/ms_send.cpp modules/commands/ns_recover.cpp modules/commands/ns_register.cpp modules/commands/ns_suspend.cpp modules/commands/os_dns.cpp modules/commands/os_noop.cpp modules/commands/os_oper.cpp modules/commands/os_session.cpp modules/database/db_sql_live.cpp modules/encryption/enc_bcrypt.cpp modules/extra/m_ldap_authentication.cpp modules/extra/m_ldap_oper.cpp modules/fantasy.cpp modules/m_dnsbl.cpp modules/m_sasl.cpp modules/protocol/hybrid.cpp modules/protocol/inspircd20.cpp modules/protocol/unreal.cpp modules/pseudoclients/chanserv.cpp modules/pseudoclients/nickserv.cpp modules/webcpanel/pages/chanserv/access.cpp modules/webcpanel/webcpanel.cpp modules/webcpanel/webcpanel.h src/command.cpp src/messages.cpp src/modulemanager.cpp src/regchannel.cpp src/serialize.cpp
2014-12-10Unconst these config Get<Anope::string> calls as it makes no senseAdam
2014-11-24Rewrite serializable to have field level granularityAdam
Represent serializable objects in a digraph, and as a result made most object relationships implicitly defined, and use the graph to trace references between objects to determine relationships. Edges may also be marked as having a dependency of the object they point to, which allows for automatic cleanup and deletion of most objects when no longer needed. Additionally, this allows not having to require in-memory copies of everything when using external databases. db_sql has been rewritten for this and now always requires a database to function. db_sql with MySQL now requires InnoDB to make use of transactions and foreign key constraints.
2014-10-14Fix module event prioritization which was broken with the newerAdam
auto-attach event stuff. Also remove logically dead code from os_defcon, and make os_defcon akill similar masks to os_session when enforcing session akills. Fixes #1618 which relies on os_session to be prioritized before os_defcon.
2014-06-23Merge branch '2.0' into 2.1Adam
Conflicts: cmake/Anope.cmake cmake/FindGettext.cmake include/access.h include/messages.h include/modes.h include/modules.h include/users.h modules/CMakeLists.txt modules/commands/bs_bot.cpp modules/commands/cs_access.cpp modules/commands/cs_ban.cpp modules/commands/cs_clone.cpp modules/commands/cs_flags.cpp modules/commands/cs_info.cpp modules/commands/cs_list.cpp modules/commands/cs_log.cpp modules/commands/cs_mode.cpp modules/commands/cs_status.cpp modules/commands/cs_suspend.cpp modules/commands/cs_updown.cpp modules/commands/cs_xop.cpp modules/commands/ms_check.cpp modules/commands/ns_access.cpp modules/commands/ns_cert.cpp modules/commands/ns_group.cpp modules/commands/ns_register.cpp modules/commands/ns_set.cpp modules/commands/ns_suspend.cpp modules/commands/os_session.cpp modules/commands/os_svs.cpp modules/extra/m_ldap_authentication.cpp modules/extra/m_regex_pcre.cpp modules/extra/m_sql_authentication.cpp modules/extra/stats/m_chanstats.cpp modules/protocol/bahamut.cpp modules/protocol/hybrid.cpp modules/protocol/inspircd12.cpp modules/protocol/inspircd20.cpp modules/protocol/unreal.cpp modules/pseudoclients/chanserv.cpp modules/pseudoclients/chanserv/channel.cpp modules/pseudoclients/nickserv/nickserv.cpp modules/webcpanel/pages/chanserv/access.cpp src/access.cpp src/bots.cpp src/channels.cpp src/language.cpp src/modes.cpp src/modulemanager.cpp src/process.cpp src/users.cpp src/version.sh
2014-05-28Move most of the core pseudoclient logic to modulesAdam
2014-05-01Pass password to nick register event so modules like m_ldap_authentication ↵Adam
can create the respective account using the decrypted password which might not always be available
2014-04-20New event systemAdam
2014-04-01Require cmake 2.8 and C++11 supportAdam
2013-12-30Set last_realname in m_ldap_authentication when new nicks are registeredAdam
2013-12-30Also have m_ldap_authentication disable nick grouping if registration is ↵Adam
disabled
2013-07-21Fix m_ldap service names from defaulting ldap/ldap/mainAdam
2013-07-01Change extensible keys to require explicitly having a type defined for it. ↵Adam
Completely modularize more features like bs_kick, entrymsg, log, mode, etc. Move fantasy to its own module. Move greet to its own module.
2013-05-27Initially attach all modules to all events, and detach them as the events ↵Adam
are run if they are not implemented per module
2013-05-26Get rid of the remaining references in the core to specific services. Move ↵Adam
more stuff out of the core to the proper modules.
2013-05-17Removed some hard coded command names in help outputAdam
2013-05-06Update the rest of modules.example.conf, default inspircd status modes to a ↵Adam
sane rank incase they are prefixless, and 50 other things
2013-05-06Fix extras buildAdam
2013-05-05That doesn't work either, just don't use references.Adam
find ./ -name '*.cpp' -exec sed -i 's/Get<const Anope::string\&>/Get<const Anope::string>/g' {} \;
2013-05-05Rework the config file reader to be much more flexible and move many ↵Adam
configuration directives to the actual modules they are used in.
2013-04-11Pass new config and the new config reader to the OnReload event, aswell as ↵Adam
call it on module load on modules that hook to it
2013-04-10Move some of the modules in extras/ that arent really extra out of extras. ↵Adam
Mark our modules as VENDOR and allow modules to have multple types.
2013-03-13Allow m_ldap_authentication to block email changes if emails are controlled ↵Adam
by ldap, don't tell users they must change their email during initial user registration
2013-03-03update the users password after a successful ldap authenticationDukePyrolator
2012-11-22Pretty large coding style cleanup, in source docAdam
cleanup, and allow protocol mods to depend on each other
2012-10-27Add a module log typeAdam
2012-10-10Fix m_ldap to reconnect automatically if the ldap server goes awayAdam
2012-10-07Remove the asynchronous identifing hack and replace it with something ↵Adam
better. Fixes m_*_authentication only being able to properly work when people identify normally using nickserv/identify
2012-09-30Make CommandSource use references, sometimes we hold them for awhileAdam
2012-09-07Fixed m_ldap_authentication not returning anything if the search for an ↵Adam
account game back empty
2012-07-01Remove ExtensibleString everywhereAdam
2012-06-18Allow userless command sourcesAdam
2012-05-15m_ldap_authentication: Removed the dependency on a specific binddn in favour ↵Jeremy
of searching the tree for matching criteria and using the returned DN
2012-04-23Reworked live SQL support yet againAdam
2012-02-18Use C++11's explicit override feature if availableAdam
2012-01-25WindowsAdam
2011-09-25Added a new database format and sqlite support. Also moved db-convert to a ↵Adam
module.
2011-09-10Removed /bs set msgAdam
2011-09-10Fixed service_reference to work correctly with external classesAdam
2011-08-12Send replies back to uses after m_ldap_authentication processesAdam
2011-07-31Fixed these ModuleManager::Attach calls once and for all..Adam
2011-07-14Rewrote how commands are handled within Anope.Adam
This allows naming commands and having spaces within command names.
2011-05-16Use module type to determine what type each module is instead of its ↵Adam
location in the configuration file.
2011-05-16Added more useful functions to our LDAP API, allow adding newly registered ↵Adam
accounts to LDAP, removed some unnecessary OnPre events and fixed unloading all modules
2011-05-16Moved the core pseudo clients out into their own modulesAdam
2011-04-03Made LDAP support recover, release, resetpass, etc.Adam