Commit Graph
3 Commits
Author SHA1 Message Date
timmy a03b89f9be Rename package to ldaps 2026-08-24 16:30:01 -07:00
timmy 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
Chris F Ravenscroft 34c5f9b3cb Harden LDAP control decoding against malformed BER input (#6)
* Harden LDAP control decoding against malformed BER input

Change DecodeControl to return (Control, error) and validate control structure and value types instead of relying on unchecked access.
Handle decode failures on both server and client paths, returning protocol errors for bad request controls and surfacing response decode errors.

* fix: top-level recover() and fix missing TLSConfig check

* chore: verify fix
2026-07-18 13:29:43 -07:00