Skip to content

Unbind LDAP connections to prevent file descriptor leaks#375

Merged
hluk merged 2 commits intorelease-engineering:developfrom
hluk:unbind-ldap-connection
Apr 27, 2026
Merged

Unbind LDAP connections to prevent file descriptor leaks#375
hluk merged 2 commits intorelease-engineering:developfrom
hluk:unbind-ldap-connection

Conversation

@hluk
Copy link
Copy Markdown
Member

@hluk hluk commented Apr 24, 2026

ldap.initialize() connections were never explicitly closed, relying on garbage collection to call ldap_unbind_ext. Add finally block to ensure unbind_s() is called even when exceptions occur.

hluk and others added 2 commits April 24, 2026 12:22
ldap.initialize() connections were never explicitly closed, relying on
garbage collection to call ldap_unbind_ext. Add finally block to
ensure unbind_s() is called even when exceptions occur.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@lslebodn
Copy link
Copy Markdown

LGTM

@hluk hluk merged commit a5a96cc into release-engineering:develop Apr 27, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants