spindla
spindla
HHomarr
Created by spindla on 4/15/2025 in #💬・get-help
Can't get any groups from ldap
I have the problem that when I log in via ldap, no groups are found. I use openldap. My Docker config looks like this: AUTH_PROVIDERS: “ldap” AUTH_LDAP_URI: “ldap://server:port” AUTH_LDAP_BASE: “dc=our-dn,dc=en” AUTH_LDAP_BIND_DN: “uid=ldapuser,cn=users,dc=our-dn,dc=de” AUTH_LDAP_BIND_PASSWORD: 'password' AUTH_LDAP_USERNAME_ATTRIBUTE: “uid” AUTH_LDAP_USER_MAIL_ATTRIBUTE: “mailPrimaryAddress” AUTH_LDAP_GROUP_CLASS: “groupOfUniqueNames” AUTH_LDAP_GROUP_MEMBER_ATTRIBUTE: “member” AUTH_LDAP_GROUP_MEMBER_USER_ATTRIBUTE: “dn” # AUTH_LDAP_ADMIN_GROUP: “Admin-GROUP” AUTH_LDAP_SEARCH_SCOPE: “sub” AUTH_LDAP_USERNAME_FILTER_EXTRA_ARG: “(&(uid=*)(memberof=cn=Admin-GROUP,cn=groups,dc=our-dn,dc=de))” The registration works but groups are not found. Log: homarr | 2025-04-15T12:56:08.836Z info: user hans is trying to log in using LDAP. Connecting to LDAP server... homarr | 2025-04-15T12:56:08.847Z info: Connected to LDAP server. Searching for user... homarr | 2025-04-15T12:56:08.851Z info: User hans found in LDAP. Logging in... homarr | 2025-04-15T12:56:08.855Z info: User hans logged in successfully, retrieving user groups... homarr | 2025-04-15T12:56:08.857Z info: Found 0 groups for user hans. Translated with DeepL.com (free version)
9 replies