6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
9/25/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#12157] startTLS in pear/Horde/Ldap.php is incorrect
*
Your Email Address
*
Spam protection
Enter the letters below:
. . ..___. ..__ | | |[__ |\ || \ |__|\__|[___| \||__/
Comment
> The startTLS function in Ldap.php makes an attempt to fetch the > rootDSE to see if TLS is supported, when TLS is enabled in the horde > configuration for LDAP. > > When TLS is required by the LDAP server, this check fails because the > connection is not yet TLS enabled due to ldap_start_tls() not having > yet been called. > > Simple solution: > Remove the rootDSE check. Commenting all lines in startTLS() up to > the ldap_start_tls() command fixes the issue. > > More complex solution: > Try ldap_start_tls() first, and if that fails, attempt to fetch the > rootDSE to see if it reports as being supported.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers