Hi Folks,
Here's a quick and dirty patch to use the multiple server functionality provided by the ldap_connect() PHP function with very little code change. ldap_connect accepts a space separated list of servers for connection and will work through the list if there are failures (see: http://us2.php.net/manual/en/function.ldap-connect.php#88508\). This helps fix our Active Directory setup where a single round-robin DNS record of the LDAP targets does not work due to SSL certificate name mismatches.
I've performed positive and negative testing of single and multiple LDAP servers with expected results. I'm sure it'd be useful to change the text under the server field to say something about using a space separated list for multiple servers.
Thanks for the great plugin!
Patch for multiple LDAP servers (quick and dirty)