Admin groups - right permissions assignment
I'm looking to configure the owner / admin rights from ActiveDirectory groups, the basic user auth is ok, but the user don't get rights.
My docker-compose.yml
Thanks for your help !
Solution:Jump to solution
okay, i've found my mistake i think.
No permissions have profiles predefined with the value inside the docker-compose.yml
AUTH_LDAP_OWNER_ADMINS
AUTH_LDAP_OWNER_OWNER ...
15 Replies
Thank you for submitting a support request.
Depending on the volume of requests, our team should get in contact with you shortly.
⚠️ Please include the following details in your post or we may reject your request without further comment: - Log (See https://homarr.dev/docs/community/faq#how-do-i-open-the-console--log) - Operating system (Unraid, TrueNAS, Ubuntu, ...) - Exact Homarr version (eg. 0.15.0, not latest) - Configuration (eg. docker-compose, screenshot or similar. Use ``your-text`` to format) - Other relevant information (eg. your devices, your browser, ...)
Frequently Asked Questions | Homarr documentation
Can I install Homarr on a Raspberry Pi?
Hi, is the groups object flat?
flat ?
Single Sign On | Homarr documentation
Homarr supports multiple authentication options, from internal userbase (credentials), to LDAP (with Active directory support), and OIDC.
Yes
@Meierschlumpf can you check?
I've done before posting 😉

With this configuration (i've try with dn as owner / admin group)
Groups are detected but rights are not applied
What do you mean with
rights are not applied
?
Homarr does neither create any groups from external providers or guesses what permissions they could have. So If you want the admins to have admin permission, you need to add a group in Homarr with the name Homarr_admins
(matching the casing and name of ldap) and give them the permission for admin in HomarrHi, the groups are already created, but the users in theses groups not giving the rights (Homarr_admins => AdministratorPanel)
Can you set
LOG_LEVEL
to debug
and login again. It should show something like
User is already in all groups of Homarr. user=${userId}
And can you maybe show a screenshot of your groups table in Homarr /manage/users/groups
I will check tomorrow 😉
I have this

Solution
okay, i've found my mistake i think.
No permissions have profiles predefined with the value inside the docker-compose.yml
AUTH_LDAP_OWNER_ADMINS
AUTH_LDAP_OWNER_OWNER
AUTH_LDAP_OWNER_USERS
I was thinking groups are created with a predefined permissions profiles and sync from ldap using values set into the docker-compose.yml,
To make ldap rights functional, it's necessary to manually create the groups and add the rights with the default admin account.