[Samba] Berechtigung lokaler User auf Verzeichnis Samba-User gleichen Namens
Rowland Penny
rpenny at samba.org
Fri Apr 4 08:11:41 UTC 2025
On Fri, 04 Apr 2025 08:03:47 +0000
Fred Matthiesen via samba <samba at lists.samba.org> wrote:
> Hello all,
> I want to solve the following problem:
> I have a Samba user Fritz and a local Linux user Fritz on the Samba4
> server.
> Both, of course, have a different Id.
> If the user Fritz wants to access the directory of the samba user
> Fritz with "cd /sambafreigabe/fritz"
> this is doomed to failure due to the different user ID.
> Physically, however, it is the same person in front of the display.
> My question: how can I allow the Linux user to access the Samba share?
> Regards
> Fred
You haven't really provided a lot of information, but from what you
have provided I am going to guess that this is a domain joined machine.
If that is the case, delete the local user 'Fritz', this will then
allow Samba to make the AD user 'Fritz' into a local Unix user 'Fritz',
or to put it another way, you should not have users with same username
in /etc/passwd and AD, even if they are totally different users.
Rowland
More information about the samba
mailing list