I have the following username mapping in Samba:
master = johndoe user2 user3
regular = user5 user6
restricted = johndoe user8 user9
By default, Samba will always map johndoe
to the last entry in username.map, that is restricted
.
Any idea how to map johndoe
to multiple entries? I need this, because there are some shares where not all users have access, but some users (like johndoe
) must have access.