So… maybe I have to correct me and describe my problem more detailed:
Technically, everything works since I configured it.
The only thing I do not like is the following:
- Every file, that is created by NextCloud is created with the same user (Even www-data or the User I define in my NFS-Settings)
- I wold like to have a solution where the user, that I use to write to the share is the same user that I have created on the storage.
So as far as I understood, NextCloud ALWAYS writes with www-data, even if I connect it via LDAP / Active Directory?
Is there no way of having a UID/GID Mapping?
How I can achieve, that the User and Group that write to the share is not always the same?