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.
Em ter., 20 de out. de 2020 ?s 10:26, Rowland penny via samba <
samba at lists.samba.org> escreveu:
> On 20/10/2020 14:09, Fernando Gon?alves via samba wrote:
> > Hello people!
> >
> > I have a question and I urgently need help.
> > I migrated from SAMBA version 3 to version 4.
> > However, in version 3 there was the parameter "username" in
the sharing
> > options, which allowed scripts to exist where it was not necessary to
> pass
> > the user's name only his password to map a folder.
> > In version 4, this parameter is ignored.
> > My question is: in version 4 is there another parameter that replaces
the
> > parameter "username"?
> > Thanks in advance for any help.
>
> Depending on how you create your users, there could be multiple
> attributes you could use, all of which would depend on ldap. Amongst
> these attributes are 'sAMAccountName, uid and msSFU30Name'. You
could
> also use kerberos.
>
> How were you mapping folders ?
>
> Rowland
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>