Skip to content

Conversation

@blizzz
Copy link
Member

@blizzz blizzz commented Oct 9, 2025

Summary

  • the old approach lead connection issues, as ldap_set_option was called too late. Specifically it needs to be called before ldap_connect and set globally!
  • The old approach also connected it to the ldapTLS configuration, which has a misleading naming. It indicates StartTLS usage only, not plain TLS connections.

Checklist

@blizzz blizzz added this to the Nextcloud 33 milestone Oct 9, 2025
@blizzz blizzz requested a review from come-nc October 9, 2025 18:11
@blizzz blizzz requested a review from a team as a code owner October 9, 2025 18:11
@blizzz blizzz requested review from CarlSchwan and leftybournes and removed request for a team October 9, 2025 18:11
- the old approach lead connection issues, as ldap_set_option was called
  too late. Specifically it needs to be called before ldap_connect and set
  globally!
- The old approach also connected it to the ldapTLS configuration, which
  has a misleading naming. It indicates StartTLS usage only, not plain TLS
  connections.

Signed-off-by: Arthur Schiwon <[email protected]>
@blizzz blizzz force-pushed the fix/55519/ldap-cert-req-handling branch from 35fe02b to fbd29bc Compare October 9, 2025 18:22
@blizzz blizzz changed the title fix(LDAP): properly disable are require TLS certificate verification fix(LDAP): properly disable require TLS certificate verification (if configured) Oct 9, 2025
@blizzz
Copy link
Member Author

blizzz commented Oct 9, 2025

relies on nextcloud/docker-ci#836

@blizzz
Copy link
Member Author

blizzz commented Oct 9, 2025

/backport to stable32

@provokateurin provokateurin merged commit ae0aa17 into master Oct 14, 2025
191 checks passed
@provokateurin provokateurin deleted the fix/55519/ldap-cert-req-handling branch October 14, 2025 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Nextcloud 31 LDAP Configuration Not Working On Nextcloud 32

4 participants