[Samba] SAMBA 4 "username" parameter

Rowland penny rpenny at samba.org
Tue Oct 20 14:50:24 UTC 2020


On 20/10/2020 15:36, Fernando Gonçalves wrote:
> The "valid users" parameter already existed in version 3 of the SAMBA 
> and indicated which users were allowed to access the share.
>
> The "username" parameter indicated which user should be used when it 
> was not defined at the time of mapping.
> SMB.CONF

No, 'username' was meant to be used in the same way as 'valid users', 
but for only one user (and you were also supposed to set 'only user' as 
well, but that has gone as well). Have you tried setting 'valid users = 
THE_USERS_NAME' ?

Rowland




More information about the samba mailing list