relwell/DapsBundle — pull request #12 by MatthiasLohr (2013-07-19 12:47:57+00:00)
Title: Feature/read srv records

Here is some code for finding LDAP(S) servers with the SRV records. I'm not sure how to integrate this into your code without braking backwards compatibility.