[Samba] SAMBA 4 "username" parameter
fernandolmg at gmail.com
Tue Oct 20 14:36:52 UTC 2020
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.
username = userX
valid users = userX, userY, ...
To map the "folder" share, only the following line was needed:
net use \\samba-server\folder userX_password
Em ter., 20 de out. de 2020 às 11:21, Rowland penny via samba <
samba at lists.samba.org> escreveu:
> On 20/10/2020 15:10, Fernando Gonçalves wrote:
> > I'm sorry, but since I'm a SAMBA / Linux developer, I don't know how
> > to answer your questions.
> > What I can say is that before SAMBA (stand alone) was used in version
> > 3.6.6, where the "username" option was used in the sharing settings.
> > For example:
> > SMB.CONF
> > [folder]
> > path = ...
> > username = userX
> > Thus, the following line was passed in a DOS script:
> > net use x: \\samba-server\folder <password>
> > This way the mapping took place using the user that was defined in the
> > parameter "username" (userX).
> > But now in version 4 (member of an AD domain) this parameter is not
> > accepted.
> 'username' was replaced by 'valid users', so you could try that.
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
More information about the samba