goauthentik / goauthentik/authentik

homeDirectory "can be overwritten by setting homeDirectory as an attribute on users or groups."

Open
#10,601 0 comments 0 reactions 0 assignees View on GitHub
bug status/reviewing
Dominant language
Python
Stars
25.6k
Forks
2k
Avg merge
1d 2h
Merged PRs (30d)
659

Description

**Describe your question**
I am currently looking into using a LDAP outpost and I came across this in the [LDAP Provider documentation](https://docs.goauthentik.io/docs/providers/ldap/): `homeDirectory: A default home directory path for the user, by default /home/$username. Can be overwritten by setting homeDirectory as an attribute on users or groups.` but I can't see anything doing that in the outpost source code. **A group cannot overwrite this property.**

Is it normal behavior that it always uses the username? Also, would it be possible to map group attributes onto the user member of these groups?

**Relevant info**
Server: 2024.6.0
LDAP Outpost: ghcr.io/goauthentik/ldap:2024.6.0

**Version and Deployment (please complete the following information):**

- authentik version: 2024.6.0
- Deployment: docker-compose

**Additional context**
I am currently setting up a mail server and it requires ldap user properties that would actually come from groups.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.