mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 08:15:52 +03:00
[PR #1207] [CLOSED] Fix lldap_set_password to respect system certificates #1180
Labels
No labels
backend
blocked
bug
cleanup
dependencies
docker
documentation
duplicate
enhancement
enhancement
frontend
github_actions
good first issue
help wanted
help wanted
integration
invalid
ldap
pull-request
question
rust
rust
tests
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/lldap-lldap#1180
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/lldap/lldap/pull/1207
Author: @Copilot
Created: 7/8/2025
Status: ❌ Closed
Base:
main← Head:copilot/fix-1206📝 Commits (2)
4c9036dInitial plan07d1948Add native certificate support to lldap_set_password📊 Changes
2 files changed (+2 additions, -1 deletions)
View changed files
📝
Cargo.lock(+1 -0)📝
set-password/Cargo.toml(+1 -1)📄 Description
The
lldap_set_passwordbinary was not respecting system certificates, causing failures when users have custom CA certificates or self-signed certificates installed in their system certificate store.Problem
Users encountered the following error when using
lldap_set_passwordwith custom certificates:This prevented
bootstrap.shfrom working correctly in environments with custom SSL certificates.Solution
Added the
rustls-tls-native-rootsfeature to the reqwest dependency inset-password/Cargo.toml. This enables reqwest to use the system's native certificate store instead of only the built-in webpki roots.Changes
set-password/Cargo.tomlrustls-tls-native-rootsto reqwest featuresfeatures = ["json", "blocking", "rustls-tls"]features = ["json", "blocking", "rustls-tls", "rustls-tls-native-roots"]Testing
Impact
The
lldap_set_passwordbinary now supports:This is a minimal, surgical fix that resolves the certificate validation issue without affecting any other functionality.
Fixes #1206.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.