Disable non-LDAP urls at configure time not runtime
This reverts commit c08d0ae21a361d16c7378681c3871786b8775133.
This reverts commit c8fb64cbb22fdf36a73e8d5ac5967510c1e810ac.