Ok I got it working without modifying any code in case someone else has the issue. I looked at the PHP files and determined it would be easiest to get ldaps working. All that was required was to change CONEX_LDAP_SERVEUR from <domainname> to ldaps://<domainname>
and set the port CONEX_LDAP_PORT to 636
and set the port CONEX_LDAP_PORT to 636