You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, this means 1 of 3 things.
Wrong BIND_DN, wrong BIND_PASSWORD, or homarr doesn't share any network with the ldap server and therefore cannot reach it.
Make sure that you are using the 2 following env variables: "AUTH_LDAP_BIND_DN" and "AUTH_LDAP_BIND_PASSWORD".
I guess you have used the same values that came from your working v0.15 install, and those should be correct, so check the env variables names, double and triple check the values for them anyway, and make sure the network setup is the same as v0.15.
The installation is clean following the demo documentation, so the variables should be correct, or at least I think they are. The network is fine, my LDAP server can ping between them without any issues, and I’ve verified that the credentials are correct.
Groups can already be added through the onboarding or by just adding a group in user management. One thing that we could definitely improve is showing the error that we get back from ldap in the logs
Describe the feature you'd like to request
I want to use LDAP like in version 0.15, where I could identify groups to assign roles to them.
Now, LDAP is not working at all; the connection says it’s incorrect.
Here’s my log:
vbnet
Copiar código
homarr | 2025-01-14T11:46:05.061Z error: Failed to connect to LDAP server
homarr | F: Read more at https://errors.authjs.dev#credentialssignin
homarr | at sg (.next/server/chunks/549.js:375:42991)
homarr | at async s_ (.next/server/chunks/549.js:375:52148)
homarr | at async sk (.next/server/chunks/549.js:375:56408)
homarr | at async d (.next/server/app/api/auth/[...nextauth]/route.js:1:2607) {
homarr | type: 'CredentialsSignin',
homarr | kind: 'signIn',
homarr | code: 'credentials'
Additional information
No response
The text was updated successfully, but these errors were encountered: