[Samba] SAMBA 4 "username" parameter

Fernando Gonçalves
2020-10-20T15:56:40Z

I tried to use only one username in the "valid users" parameter but it
didn't work.

SMB.CONF
[folder]
...
valid users = userX


net use \\ samba-server \ folder userX_password

There seems to be no solution for my case.  :(

Em ter., 20 de out. de 2020 ?s 11:50, Rowland penny via samba <
samba at lists.samba.org> escreveu:

> 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
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>