LDAP Problem on Metabase Login

Hello everyone,

Everytime I try to login on Metabase i receive this error:

Output of ldap-search-result->user-info does not match schema: [0;33m {:groups (not (sequential? a-java.lang.String))} [0m

This happens also when trying to login with specific users not provided on LDAP, but as simple Metabase User.

I have also tried to force disabling of LDAP from postgres, as well as blanking/deleting some ldap attributes, but it seems to not affect the result.

Any hints?

Ares

Hi @aresb
Post "Diagnostic Info" from Admin > Troubleshooting.
You have to restart Metabase if you are manually editing settings.

1 Like

Restarting Metabase affects positively login, but it seems that every value i try to fill with User Filter section in LDAP configuration prevents me to login again with every user.

For example now, after restarting and filling User Filter section, it gives me this message:

password did not match stored password

But right after filling user filter; with every other value in LDAP configuration enabled i don't have this problem.

1 Like

@aresb Post "Diagnostic Info" from Admin > Troubleshooting.

1 Like
{
  "browser-info": {
    "language": "en-US",
    "platform": "Win32",
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36",
    "vendor": "Google Inc."
  },
  "system-info": {
    "file.encoding": "UTF-8",
    "java.runtime.name": "OpenJDK Runtime Environment",
    "java.runtime.version": "11.0.15+10",
    "java.vendor": "Eclipse Adoptium",
    "java.vendor.url": "https://adoptium.net/",
    "java.version": "11.0.15",
    "java.vm.name": "OpenJDK 64-Bit Server VM",
    "java.vm.version": "11.0.15+10",
    "os.name": "Linux",
    "os.version": "5.15.0-1020-aws",
    "user.language": "en",
    "user.timezone": "GMT"
  },
  "metabase-info": {
    "databases": [
      "h2",
      "athena"
    ],
    "hosting-env": "unknown",
    "application-database": "postgres",
    "application-database-details": {
      "database": {
        "name": "PostgreSQL",
        "version": "14.3 (Debian 14.3-1.pgdg110+1)"
      },
      "jdbc-driver": {
        "name": "PostgreSQL JDBC Driver",
        "version": "42.3.5"
      }
    },
    "run-mode": "prod",
    "version": {
      "date": "?",
      "tag": "vUNKNOWN",
      "branch": "?",
      "hash": "?"
    },
    "settings": {
      "report-timezone": null
    }
  }
}

@aresb I have no idea which version of Metabase you're using. Use an official release: https://github.com/metabase/metabase/releases

It is an official one, last one indeed, you just see UNKNOWN cause I edited source for changing background palette colors

@aresb It is absolutely not an official release.
But since you are not providing any information about your LDAP settings or what you are inputting into Metabase, then I cannot help you. Contact your LDAP admin and ask then for help on troubleshooting their debug logs.