Consultation on password synchronization between ubuntu 22.04 system user password and samba user
Rowland Penny
rpenny at samba.org
Mon Sep 30 09:28:12 UTC 2024
On Mon, 30 Sep 2024 17:07:16 +0800
15051810258--- via samba-technical <samba-technical at lists.samba.org>
wrote:
> Hello, everyone
>
> How to automatically update the password of a samba user after
> changing the password of a common user in the ubuntu system? I use
> openldap as the backend database. The password of the samba user is
> automatically updated after the password is changed by running the
> passwd command
>
> Can you guide me? Thank you
>
> Operating system: ubuntu 22.04
> samba's version: 4.15
> openldap: 2.6.18
>
This isn't really the place to ask such questions, you should have
asked on the samba mailing list, but:
You could try adding 'ldap passwd sync = yes' to your smb.conf file.
I should also point out that your setup will require you to use SMBv1,
which is very insecure and Samba is working to remove it. I would
suggest you upgrade your old NT4-style domain to an AD domain.
Rowland
More information about the samba-technical
mailing list