code: func ldapURL(url string) bool {
  	u, err := neturl.Parse(url)
  	if err != nil {
  		log.Warningf("error parsing url %s: %v", url, err)
  		return false
  	}
  	if u.Scheme == "ldap" {
  		return true
  	}
  	return false
  }
docs: // We can't handle LDAP certificates, so this checks to see if the
  // URL string points to an LDAP resource so that we can ignore it.