How to Modify Samba Passwords



How to Modify Samba Passwords

You can set your Samba server to allow users to make changes in their domain passwords and have these changes mirrored automatically in their Linux login passwords. Figure explains the [global] smb.conf parameters that you need to change.

Figure The smb.conf Settings for Enabling Online Password Changes

Parameter

Value

Description

unix passwd sync

Yes

Enables Samba/Linux password synchronization.

passwd program

Use the SWAT defaults

Lists the location of the Linux password file, which is usually /bin/passwd.

passwd chat

Use the SWAT defaults

A short script to change the Linux password using the Samba password.