Releases: go-ldap/ldap
v3.4.12
What's New
- feat: add Github Issue templates by @cpuschma in #558
- feat: add initial support for custom entry unmarshaler by @cpuschma in #557
- Added all Microsoft LDAP OIDs by @p0dalirius in #559
- [enhancement] Added missing LDAP control ControlMicrosoftSDFlags to control.go by @p0dalirius in #560
- feat: Add local directory server for tests by @cpuschma in #567
- Add RFC 5929 channel binding support for SSPI client by @Chrizpy in #565
What's Changed
- Svace static analyzer fix by @artemseleznev in #562
- test: improve test coverage by @cpuschma in #568
New Contributors
- @artemseleznev made their first contribution in #562
- @Chrizpy made their first contribution in #565
Full Changelog: v3.4.11...v3.4.12
v3.4.11
What's Changed
- Allow users to specify a custom NTLM negotiator by @rtpt-erikgeiser in #544
- Add go 1.24 build/testing to github workflow by @t2y in #548
- Fix ControlServerSideSortingResult handling for OpenLDAP by @EgorKo25 in #546
- Fix DIGEST-MD5 auth by @andy-igoshin in #545
- [bugfix] Added APOptions []int in client.GSSAPIBindRequest(...) and client.InitSecContext(...), fixes #536 by @p0dalirius in #537
- Adding InitSecContextWithOptions to SSPI client by @stratg5 in #549
- Update golang.org/x/net dependency by @johnweldon in #553
- use ldap boolean for dirsync control.criticality by @borislavfra in #555
- chore: update
DirSyncandDirSyncAsyncexample codes by @cpuschma in #556
New Contributors
- @rtpt-erikgeiser made their first contribution in #544
- @EgorKo25 made their first contribution in #546
- @andy-igoshin made their first contribution in #545
- @p0dalirius made their first contribution in #537
- @stratg5 made their first contribution in #549
- @borislavfra made their first contribution in #555
Full Changelog: v3.4.10...v3.4.11
Simplify Go Module Versioning
Experimental release to cleanup the code duplication, and simplify the go module versioning approach.
v3.4.9
This bumps x/crypto to 0.31.0 to resolve CVE-2024-45337.
What's Changed
- Update dependency go-asn1-ber to v1.5.6 by @johnweldon in #513
- Fix LDAP GetError and LDAP search by @gustavoluvizotto in #509
- chore: Fix desynced root and v3 directory (fixes #520) by @cpuschma in #521
- Add go 1.23 build/testing to github workflow by @t2y in #526
- bump action versions in github actions by @t2y in #527
- feat: add Extended request operations by @cpuschma in #516
- chore: Update dependencies by @cpuschma in #539
New Contributors
- @gustavoluvizotto made their first contribution in #509
Full Changelog: v3.4.8...v3.4.9
v3.4.8
What's Changed
In the previous release, we have prematurely marked the function Start as deprecated, assuming that the available DialOpts fulfill all use cases. Thanks to @dornimaug's hint in #507 we now know that this is not the case, especially when using custom contexts with DialContext, NewConn and Start. The function will be retained, and we apologize for any inconvenience! We will retain the functionality for the entire life cycle of the major version.
Full Changelog: v3.4.7...v3.4.8
v.3.4.7
What's new
- feat: extend SearchResult
Unmarshalto support *string as field type (#475) by @cpuschma in #476 - feat: Add support for children scope choice const by @sirzzang in #480
- feat: Add
EnforceSizeLimitto enforce the specified search request size limit (fixes #431) by @cpuschma in #482 - feat: GSSAPI client (with unix support) by @levkohimins in #449
- Add go 1.22 build/testing to github workflow by @t2y in #485
- Add tests to parseDN (fuzzing, roundtrip ...) by @inteon in #504
What's Changed
- Fix DATA RACE as a result of changing ber's module global variable for fuzz tests by @t2y in #473
- IsErrorAnyOf should match the given result code even if the error is wrapped by @t2y in #471
- Fix deprecated warning on GitHub Actions by @t2y in #474
- Bump golang.org/x/crypto from 0.13.0 to 0.17.0 in /v3 by @dependabot in #478
- Bump golang.org/x/crypto from 0.13.0 to 0.17.0 by @dependabot in #479
- fix: mark functions as deprecated with doc comment by @donatello in #491
- Refactor the context handling with receiving an ldap response in searchAsync() by @t2y in #496
- chore: Mark public
Startfunction as deprecated (closes #356) by @cpuschma in #499 - feat: Refactor
ParseDNfunction to fix resource usage and invalid parsings (fixes #487) by @cpuschma in #497 - Revert "fix: Limit maximum BER packet length in
FuzzParseDNto 6553… by @cpuschma in #500 - Update golang.org/x/crypto by @johnweldon in #502
- fix: Replace DER with ASN1 BER encoding when parsing distinguishedNames by @cpuschma in #505
New Contributors
- @dependabot made their first contribution in #478
- @sirzzang made their first contribution in #480
- @levkohimins made their first contribution in #449
- @donatello made their first contribution in #491
- @inteon made their first contribution in #504
Full Changelog: v3.4.6...v3.4.7
v3.4.6
What's new
- Add search asynchronously with context by @t2y in #440
- Add syncrepl (rfc-4533) consumer (persistent search) by @t2y in #447
- Add fuzz testing by @0x34d in #448
- Add go 1.21 build/testing to github workflow by @t2y in #457
- Add support for Go 1.13's errors.Is/As functions by @zmb3 in #461
- Add cifuzz workflow by @0x34d in #460
What's Changed
- Fix a deadlock issue using search asynchronously by @t2y in #446
- Fix panics in GetLDAPError by @TomSellers in #455
- ControlSyncRequest Encode: cookie optionality by @zeslava in #459
- Refactor DirSync search process by @t2y in #458
- Update dependent packages: by @iredmail in #462
- chore: update go-asn1-ber to v1.5.5 by @cpuschma in #464
- fix request timeout race condition by @raymonstah in #465
- fix:
FuzzParseDNcausing OOMs in restricted environments by @cpuschma in #466 - chore: Mirror v3 to root directory by @cpuschma in #468
New Contributors
- @t2y made their first contribution in #440
- @0x34d made their first contribution in #448
- @TomSellers made their first contribution in #455
- @zeslava made their first contribution in #459
- @zmb3 made their first contribution in #461
- @iredmail made their first contribution in #462
- @raymonstah made their first contribution in #465
Full Changelog: v3.4.5...v3.4.6
v3.4.5
What's New
- Add function to escape distinguished names by @tsschaffert in #393
- Add CLDAP (RFC1798 UDP/Connectionless) support to DialURL by @dsnt02518 in #397
- Add support for SSPI GSSAPI SASL mechanism bind by @FlipB in #402
- implement server side sorting controls (rfc2891) by @m-vinc in #414
- add unmarshalling of generalizedTimestamp and DN by @vetinari in #434
- feat: enable DirSync control in search operation by @masato-sso in #436
What's Changed
- chore: Update GitHub Actions dependencies and test matrix by @cpuschma in #400
- chore: deprecate unnecessary wrapper for
DialWithDialerandDialWithTLSConfigby @cpuschma in #399 - fix: packet referral decoding by @james-d-elliott in #413
- fix: error and search result handling in SearchWithPaging by @cpuschma in #417
- Lint/gofmt fixes. by @dsnt02518 in #418
- Update dependencies by @johnweldon in #420
- fix: parsedn not handling attributes with equal char in value by @james-d-elliott in #425
- gofumpt by @johnweldon in #427
- Fix deadlocks caused by invalid connection state by @cholland1989 in #432
- fix: return errors upon panics or receiving unexpected responses by @cpuschma in #433
New Contributors
- @tsschaffert made their first contribution in #393
- @dsnt02518 made their first contribution in #397
- @FlipB made their first contribution in #402
- @m-vinc made their first contribution in #414
- @cholland1989 made their first contribution in #432
- @masato-sso made their first contribution in #436
Full Changelog: v3.4.4...v3.4.5
v3.4.4
#367 - Update test matrix to Go v1.14+
#366 - Support for configurable logger
#368 - Linter cleanup
#372 - Update minimum required Go version to 1.14
#371 - Allow NTLM authentication without a password
#374 - Add missing Client interface methods
#373 - Implement Subtree delete control type
#375 - feat: return referrals for modify operation
#304 - Add Entry Unmarshal
#382 - added int and []byte type to entry unmarshal
#385 - Update dependencies to satisfy new ntlmssp.ProcessChallenge signature
#386 - Add String() methods to DN and its subtypes
#388 - Fix request timeout handling
allow using ; as RDN separator according to rfc2253
v3.4.2 allow using `;` as RDN separator according to rfc2253 (#352)