Check LDAP_URL is defined before trying to use it.

Make it possible to have 0 LDAP servers defined.
Version 0.2.11-1.