this may be an easy one for the samba pros out there: I have an archlinux box up and running as an samba 4 AD which works as expected. I want to add an user to the samba which lead me to 2 different solutions:
- Creating a samba only user with
samba-tool user add USERNAME
- Creating a samba user from a unix user using
smbpasswd -a <username>
I tried it both ways but the user created has a different user id (generic/numeric username) and doesn't match the unix user, which leads to complications concerning the file permissions.
Is there a way to create "matching" user? Or am I totally missing the point?