LDAP_INSTALLED NameError for new installations refs #17343