Commit Graph
14 Commits
Author SHA1 Message Date
Timmy Welch cd44bd6eea Use EqualFold instead of ToLower in all possible places 2026-08-25 14:21:16 -07:00
Timmy Welch a0adcc062b Fix test cases provided by @navibodybuilder in #7 2026-08-25 14:21:16 -07:00
Timmy Welch a8aa3dece1 Fix substring match 2026-08-25 14:21:16 -07:00
Timmy Welch 94e9c7a5aa Make handleSearchRequest conform to rfc4511 2026-08-24 19:38:25 -07:00
Timmy Welch 2515c1964f Add more logging 2026-08-24 18:04:45 -07:00
Timmy Welch ee905451dc Simplify encodeProtocolErrorResponse usage 2026-08-24 18:04:45 -07:00
Timmy Welch d56912c7af Simplify early returns 2026-08-24 18:04:45 -07:00
Timmy Welch b4c86f583d Switch on tags instead of strings 2026-08-24 18:04:45 -07:00
Timmy Welch bb17f0bc21 Publish GetFilterAttribute and return unmodified string from filter 2026-08-24 18:04:45 -07:00
Timmy Welch 93ce6da943 Stricter error handling 2026-08-24 18:04:45 -07:00
Timmy Welch 928eb6c5e6 Fix stats mutex being copied 2026-08-24 18:04:45 -07:00
Timmy Welch 1d55fcd1f6 Modernize testing
Arranges to start the server before running ldap queries removing flakiness
Uses contexts to limit individual command execution time to 100ms
Ensure temporary files use the managed t.TempDir() directory
Set log output to the test output so that go test has a clean output
2026-08-24 18:04:45 -07:00
Timmy Welch a03b89f9be Rename package to ldaps 2026-08-24 16:30:01 -07:00
Timmy Welch a4b5f16b98 Minimal set of changes to remove client and use upstream ldap package
Switches to github.com/go-ldap/ldap/v3 for ldap management as it generally
 has better practices and security
2026-08-24 16:29:16 -07:00