diff --git a/html/index.php b/html/index.php
index 670368ffe6a5c7633f4e0dd29de3ce9a1a1efd1b..9000d3f531f80657bc40bdf791eda4d53d413190 100644
--- a/html/index.php
+++ b/html/index.php
@@ -248,8 +248,12 @@ class Index {
     $cfg['tls']         = ($config->get_cfg_value('ldapTLS') == 'TRUE');
     $str = check_schema($cfg);
     foreach ($str as $tr) {
-      if (isset($tr['IS_MUST_HAVE']) && !$tr['STATUS']) {
-        return _('LDAP schema check reported errors:').'<br/><br/><i>'.$tr['MSG'].'</i>';
+      if (!$tr['STATUS']) {
+        if ($tr['IS_MUST_HAVE']) {
+          return _('LDAP schema check reported errors:').'<br/><br/><i>'.$tr['MSG'].'</i>';
+        } else {
+          msg_dialog::display(_('LDAP schema error'), $tr['MSG'], WARNING_DIALOG);
+        }
       }
     }
     return TRUE;