[Samba] SAMBA 4 "username" parameter

Rowland penny rpenny at samba.org
Tue Oct 20 13:25:53 UTC 2020


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





More information about the samba mailing list