summaryrefslogtreecommitdiff
path: root/src/modules/m_ldapauth.cpp
AgeCommit message (Collapse)Author
2020-04-24Update copyright headers.InspIRCd Robot
2020-04-10Update the module descriptions using mkversion.Sadie Powell
2020-03-12Improve logging for the m_ldap and m_ldapauth modules (#1757).Joel Sing
Currently, it is difficult to diagnose LDAP authentication failures, since the logs do not provide sufficient information about what is actually being queried and what actually failed. This increases logging details so that information about the LDAP query is included, for example: Fri Mar 06 2020 08:02:59 ANNOUNCEMENT: Error binding as manager to LDAP server: Invalid credentials (bind dn=cn=adminz,dc=nodomain) Rather than: Fri Mar 06 2020 08:02:59 ANNOUNCEMENT: Error binding as manager to LDAP server: Invalid credentials Same with connection logging: Fri Mar 06 2020 07:59:53 CONNECT: Forbidden connection from jsing!jsing@192.168.200.1 (Invalid credentials (bind dn=uid=jsing,dc=nodomain)) Fri Mar 06 2020 08:01:19 CONNECT: Successful connection from jsing!jsing@192.168.200.1 (dn=uid=jsing,dc=nodomain)
2020-01-11Update copyright headers.InspIRCd Robot
2019-10-13Convert a bunch of LocalUser* casts to IS_LOCAL.Peter Powell
This is a lot safer and handles users changing servers properly.
2019-04-28Textual improvements and fixes such as typos, casing, etc. (#1612)Robby
2017-03-20m_ldapauth: use username provided in PASS if availableAdam
2015-02-27Fix oversights in substr() conversionAttila Molnar
Thanks to @StevenVanAcker for reporting and testing this
2015-01-18Specify which Extensible subclass an ExtensionItem is valid forAttila Molnar
2015-01-10Reduce std::string::substr() usageAttila Molnar
substr() returns a new string while erase() and assign() modify the existing one
2014-02-13Remove redundant null pointer check from m_ldapauthAdam
2014-02-13Wait for the manager bind to come back before sending search in LDAP modulesAdam
2014-02-07m_ldapauth.cpp: Allow multiple patterns for users to bypass LDAP authThiago Crepaldi
2014-01-31Remove a few unnecessary .c_str() callsAttila Molnar
2013-12-19Add m_ldap, and convert m_ldapoper and m_ldapauth to use it.Adam
2008-03-14Grrr, added this at the wrong location in trunkbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9078 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-14Forward port and make work with trunk. Original code of this module by ↵brain
Carsten Valdemar Munk based on m_sqlauth. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9077 e03df62e-2008-0410-955e-edbf42e46eb7