In March, Microsoft's Windows Updates are expected to break insecure LDAP connections, requiring us to move to LDAPS, which we probably all should have done long ago. We've been using the LDAP auth (premium license) for years now, and it's been fine, so this is only about switching protocol.
I'm not finding any documentation, GUI field, forum post, or defaults.php entry that suggests how to set the port to 636. From looking on github, adLDAP.php does seem like it can support SSL and TLS and STARTTLS and port 636 and all that jazz, but the port number has to be passed as a separate parameter from the hostname and/or those options explicitly set on the connection object, and I don't see how to tell myDBR to do that. I've tried variations of LDAPS://hostname, LDAP://hostname:636, hostname:636, etc. and they all fail in various ways:
PHP Warning: ldap_connect(): Could not create session handle: Bad parameter to an ldap routine in C:\inetpub\wwwroot\btreporting\lib\external\adLDAP\adLDAP.php on line 630
PHP Warning: ldap_set_option(): supplied argument is not a valid ldap link resource in C:\inetpub\wwwroot\btreporting\lib\external\adLDAP\adLDAP.php on line 634
PHP Warning: ldap_set_option(): supplied argument is not a valid ldap link resource in C:\inetpub\wwwroot\btreporting\lib\external\adLDAP\adLDAP.php on line 635
PHP Warning: ldap_set_option(): supplied argument is not a valid ldap link resource in C:\inetpub\wwwroot\btreporting\lib\external\adLDAP\adLDAP.php on line 636
or
Bind to Active Directory failed. Check the login credentials and/or server details. AD said: Can't contact LDAP server