The following example shows a Multi verifier that connects to many different LDAP directories. A copy of each directory is hosted on one or more LDAP servers using anonymous binding for each directory. When a request to verify an email address is received, the first available cached connection to the host 22.214.171.124 or 126.96.36.199 is queried with search base of dc=redcondor,dc=com using a one-second timeout.
If this query returns no hits, then the first cached connection to 188.8.131.52 is queried with search base of dc=redcondor,dc=net using an eight-second timeout. If this query returns no hits then the first cached connection to the host 184.108.40.206, 220.127.116.11 or 18.104.22.168 is searched. The search base is the LDAP server's published default search base. If this query returns no hits, the email address is not verified. If any one of the three searches times out or returns an error, then a "failure to verify" error is reported for that address.
When establishing connections, this verifier allows only one active connection to either host 22.214.171.124 or 126.96.36.199. If that connection times out or has an error, the other server is tried. If an error or timeout occurs during connection establishment to host 188.8.131.52 or 184.108.40.206, then the other server will be tried immediately. If the error occurs during connection use, the pending command fails.
This verifier also manages 18 separate connections to the LDAP server on host 220.127.116.11. Lastly, this verifier manages up to three simultaneous connections across the host set 18.104.22.168, 22.214.171.124 or 126.96.36.199. It will always try 188.8.131.52 first. If that connection attempt fails, it tries 184.108.40.206. Only if both 220.127.116.11 and 18.104.22.168 fail will it attempt a connection to host 22.214.171.124. All connection attempts will have eight-second timeouts.
When enumerating email addresses, one active connection from host 126.96.36.199 or 188.8.131.52 is used and, simultaneously, one active connection to 184.108.40.206 is used, and one active connection to any of host 220.127.116.11, 18.104.22.168, or 22.214.171.124 is used. The result from all three directory services are combined to yield the enumeration of this Multi verifier.
<Vrfy version = "101.4635"
name = "My LDAP Verifier"
uid = "64378E86-A459-11DD-1273-09173F13E4C5">