@Override
        public Object mapFromAttributes(Attributes arg0) throws NamingException {
          return null;
        }
Check if LDAP is enabled in server properties.

@return true if enabled
ambari-server/src/main/java/org/apache/ambari/server/security/ldap/AmbariLdapDataPopulator.java