aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_ldapauth.cpp
Commit message (Expand)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2024-06-071-2/+1
* Make ldapauth take an enum field for the username field.Gravatar Sadie Powell2023-08-061-12/+39
* Retain the "real" username properly like we do for hostnames.•••This introduces the concept of a real username. This value comes from either the initial USER message or from an ident lookup. Doing this allows us to use it for bans through vidents and cloaking web client users using their remote username. While changing this I also changed all of the uses of "ident" other than RFC 1413 lookups and some compatibility cases to refer to usernames as user(name) instead of ident. Our use of ident in these places was incorrect as that only refers to the RFC 1413 response and is not commonly used in the way we used it by any other IRC server implementations. Gravatar Sadie Powell2023-06-291-1/+1
* Merge <ldapauth:allowpattern> and <ldapwhitelist>.•••Closes #1478. Gravatar Sadie Powell2023-04-201-28/+22
* Refactor the caching methods in User and rename to make more sense.Gravatar Sadie Powell2023-01-241-7/+7
* Convert log calls to use fmtlib format stringsGravatar Sadie Powell2023-01-241-1/+1
* Convert WriteToSnoMask/WriteGlobalSno to use fmtlib format strings.Gravatar Sadie Powell2023-01-231-8/+14
* Qualify auto correctly in all cases.Gravatar Sadie Powell2023-01-101-3/+3
* Avoid copying shared_ptr<ConfigTag> when not necessary.Gravatar Sadie Powell2023-01-101-1/+1
* Add some overloads of Find{Nick,UUID,} for local/remote users.Gravatar Sadie Powell2023-01-071-1/+1
* Move extension types to their own header to speed up build times.Gravatar Sadie Powell2022-12-191-0/+1
* Yet more stylistic fixes.Gravatar Sadie Powell2022-12-011-2/+8
* Use auto instead of type names where the type is obvious.Gravatar Sadie Powell2022-09-291-3/+3
* Fix various cases of the &* being next to the name instead of type.Gravatar Sadie Powell2022-09-291-1/+1
* Modernize various minor legacy C++isms.Gravatar Sadie Powell2022-07-301-3/+3
* Modernize the syntax of various templates.Gravatar Sadie Powell2022-06-231-1/+1
* Rewrite logging calls to use the new APIs.Gravatar Sadie Powell2022-05-011-1/+1
* Abolish the infernal space before accessibility keywords.Gravatar Sadie Powell2022-01-251-3/+3
* Always catch exceptions as a constant reference.Gravatar Sadie Powell2022-01-091-4/+4
* Make all extensibles use kebab-case for names where possible.Gravatar Sadie Powell2021-12-261-1/+1
* Promote ExtensionItem::ExtensibleType to a top level enum class.Gravatar Sadie Powell2021-12-231-2/+2
* Fix a bunch of cases where module types were not marked as final.Gravatar Sadie Powell2021-11-281-1/+1
* Apply the final keyword to all module classes where appropriate.Gravatar Sadie Powell2021-10-041-3/+6
* Mark all module classes as final.Gravatar Sadie Powell2021-10-011-1/+2
* Merge branch 'insp3' into master.Gravatar Sadie Powell2021-05-141-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2021-05-141-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-05-111-1/+1
|\|
| * Fix a bunch of weird indentation and spacing issues.Gravatar Sadie Powell2021-04-271-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-04-171-1/+1
|\|
| * Fix using a different field name in ldapauth than is documented.•••Closes #1864. Gravatar Sadie Powell2021-04-161-1/+1
* | Switch simple iterator loops to use range-based for loops.Gravatar Sadie Powell2021-04-071-8/+5
* | Constify variables within loops.Gravatar Sadie Powell2021-04-011-2/+2
* | Add a subclass of ExtensionItem exclusively for booleans.Gravatar Sadie Powell2021-03-171-4/+4
* | Pascalize Unset in extension item classes.Gravatar Sadie Powell2021-03-171-1/+1
* | Pascalize Set in extension item classes.Gravatar Sadie Powell2021-03-171-5/+5
* | Pascalize Get in extension item classes.Gravatar Sadie Powell2021-03-171-2/+2
* | Convert ConfigTag from reference<> to std::shared_ptr<>.Gravatar Sadie Powell2020-10-311-1/+1
* | Add stdalgo::iterator_range and switch config tag reading to use it.•••This allows us to use range-based for loops which were not possible with the previous config tag system. Gravatar Sadie Powell2020-10-311-9/+5
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-05-051-0/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-04-241-0/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-04-111-1/+1
|\|
| * Update the module descriptions using mkversion.Gravatar Sadie Powell2020-04-101-1/+1
* | Improve storage of module description, flags, and link data.Gravatar Sadie Powell2020-04-111-6/+2
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-03-181-1/+7
|\|
| * Improve logging for the m_ldap and m_ldapauth modules (#1757).•••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) Gravatar Joel Sing2020-03-121-1/+7
* | Move FindUUID to the UserManager class.Gravatar Sadie Powell2020-02-091-4/+4
* | Use C++11 inline initialisation for class members.Gravatar Sadie Powell2020-02-061-4/+6
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-8/+5
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-8/+5
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-11-131-1/+1
|\|