r15046: Fix bug #3490 reported by Jason Mader. Do not continue to check for LDAP