user_ldap icon indicating copy to clipboard operation
user_ldap copied to clipboard

LDAP with StartTLS does not work when using the default port 389

Open KayA9 opened this issue 5 years ago • 1 comments

TLS encryption is not active when using the default port 389 (according to config report). I think this is due to this line:

https://github.com/owncloud/user_ldap/blob/5b09f2ebfabf798d92cd57c0bfeeb62a272bb8c8/lib/Wizard.php#L1332

It's conflicting with this line:

https://github.com/owncloud/user_ldap/blob/5b09f2ebfabf798d92cd57c0bfeeb62a272bb8c8/lib/Wizard.php#L1330

KayA9 avatar Jan 28 '20 15:01 KayA9

it's not conflicting. The entire list is probed until the connection is successful. Swapping these lines should add priority to TLS

VicDeo avatar Jan 29 '20 10:01 VicDeo