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 >
On 20/10/2020 16:56, Fernando Gon?alves wrote:> 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.? :(How are you running Samba ? Are your Windows users in a Domain ? Rowland
Samba is running as a member of an AD domain. Yes, windows users belong to an AD domain. However, in addition to these AD users, the samba server also uses local Linux users. Em ter., 20 de out. de 2020 ?s 13:01, Rowland penny via samba < samba at lists.samba.org> escreveu:> On 20/10/2020 16:56, Fernando Gon?alves wrote: > > 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. :( > > How are you running Samba ? > > Are your Windows users in a Domain ? > > Rowland > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >