Fernando Gonçalves
2020-Jun-01 22:02 UTC
[Samba] SAMBA using existing users and passwords on Linux
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 However it is not working. can anybody help me? Thanks in advance.
Andrew Bartlett
2020-Jun-01 23:09 UTC
[Samba] SAMBA using existing users and passwords on Linux
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 = noThis 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. Andrew Bartlett -- Andrew Bartlett https://samba.org/~abartlet/ Authentication Developer, Samba Team https://samba.org Samba Developer, Catalyst IT https://catalyst.net.nz/services/samba
Fernando Gonçalves
2020-Jun-02 14:47 UTC
[Samba] SAMBA using existing users and passwords on Linux
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. 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. > > Andrew Bartlett > > -- > Andrew Bartlett https://samba.org/~abartlet/ > Authentication Developer, Samba Team https://samba.org > Samba Developer, Catalyst IT > https://catalyst.net.nz/services/samba > > > >