summaryrefslogtreecommitdiff
path: root/modules/extra/m_ldap.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-07-23Remove unused variables from m_ldapAdam
2015-07-23Set LDAP_OPT_PROTOCOL_VERSION 3 etc on reconnect, tooAdam
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-27Remove now unnecessary eventhook constructor calls in module init listsAdam
2014-12-10Unconst these config Get<Anope::string> calls as it makes no senseAdam
2014-12-10Use a triat class for event names instead of having to manually give them ↵Adam
places, which is much less error prone
2014-12-02Link m_ldap against ldap_r not ldapAdam
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-06-09Correct wording of log message when ldap services are createdAdam
2014-05-30Fix Windows build and update library names to the newer ones.Adam
Also fix crash on Windows when unloading a module because it threw an exception.
2014-05-28Move most of the core pseudoclient logic to modulesAdam
2014-04-20New event systemAdam
2014-04-01Require cmake 2.8 and C++11 supportAdam
2014-03-11Set LDAP_OPT_NETWORK_TIMEOUT to 0 in m_ldap to prevent the asynchronousAdam
library cals from blocking... Fix multiple possible null pointer derefs if modules pass null interfaces (none currently do, but it is allowed) Fix memory leak from results when services are destructed Timeout queries that never come back.
2013-12-26Don't leak ldap resultsAdam
2013-09-16Remove static variables from functions in modules which causes them to be ↵Adam
marked as gnu unique objects, which breaks dlclose()/dlopen() on g++ 4.5+
2013-07-21Fix m_ldap service names from defaulting ldap/ldap/mainAdam
2013-07-20Fix removing old connections in m_ldap and m_mysqlAdam
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-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.
2012-10-10Fix m_ldap to reconnect automatically if the ldap server goes awayAdam
2012-09-07Fixed m_ldap_authentication not returning anything if the search for an ↵Adam
account game back empty
2012-05-15Grab the DN for every LDAP query and send it in the resultAdam
2012-02-18Use C++11's explicit override feature if availableAdam
2012-01-31Fixed a memory leak in m_ldapAdam
2012-01-25WindowsAdam
2011-09-10Moved signal/thread/mode checking to use signal pipesAdam
2011-09-10Made service_reference type safeAdam
2011-07-31Fixed these ModuleManager::Attach calls once and for all..Adam
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-03-31Removed some unneeded/unused code from m_ldapAdam
2011-03-30Fixed windows build more, including ldapAdam
2011-03-13Fixed a crash in m_ldap is unloadedAdam
2011-03-05Made m_ldap_oper understand deoperingAdam
2011-03-05Removed nickrequests, instead have unconfirmed registrations. Also made ↵Adam
ns_resetpass allow remote-id to get past things such as kill immed.
2011-03-04Added LDAP supportAdam