[Samba] SAMBA using existing users and passwords on Linux

Reindl Harald h.reindl at thelounge.net
Tue Jun 2 14:53:59 UTC 2020

Am 02.06.20 um 16:47 schrieb Fernando Gonçalves via samba:
> This is very problematic for me!
> In this LINUX VM I have registered more than 40 users for over 10 years.
> I wouldn't even bother having to register everyone on SAMBA, the question
> is the passwords of these users.

how does that matter?
smbpasswd -a username

you are asked for a samba-password which has no link to the unix
password at all and you are done, the unix user just needs to exist for
a uid

it's the same for over 10 years, at least 12

> Em seg., 1 de jun. de 2020 às 20:09, Andrew Bartlett <abartlet at samba.org>
> escreveu:
>> On Mon, 2020-06-01 at 19:02 -0300, Fernando Gonçalves via samba wrote:
>>> Good afternoon.
>>> I really need some help.
>>> I have a VM running Oracle Linux version 7 and samba version 4.10.4.
>>> I want samba to use local Linux users and passwords (/ etc / passwd
>>> and /
>>> etc / shadow).
>>> As I researched on the internet it would be enough to configure samba
>>> to
>>> not encrypt passwords, through the item:
>>> encrypt passwords = no
>> This option very rarely works and requires SMB1 when it does.  Most
>> clients refuse to send a plaintext password, and when they do they
>> refuse the reconnect transperently so the user experience is horrible.
>> Sorry, but you essentially must use encrypted passwords or Kerberos.

More information about the samba mailing list